timescaledb

package
v0.25.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 16, 2026 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const (
	TimescaleDbBackendName = "timescaledb"
)

Variables

This section is empty.

Functions

Types

type TimescaleDbConfig

type TimescaleDbConfig struct {
	Host     string
	Port     string
	DB       string
	User     string
	Password string

	// Retention defines when audit traces will be thrown away, only settable on initial database usage
	// If this needs to be changed over time, you need to do this manually. Defaults to '14 days'.
	Retention string
	// CompressionInterval defines after which period audit traces will be compressed, only settable on initial database usage.
	// If this needs to be changed over time, you need to do this manually. Defaults to '7 days'.
	CompressionInterval string
	// ChunkInterval defines after which period audit traces will be stored in a new chunk table, only settable on initial database usage.
	// If this needs to be changed over time, you need to do this manually. Defaults to '1 days'.
	ChunkInterval string

	MaxIdleConns    *int
	ConnMaxLifetime *time.Duration
	MaxOpenConns    *int
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL