Documentation
¶
Index ¶
Constants ¶
View Source
const (
// BackendS3 is the const for the s3 backend for tsdb long-term retention
BackendS3 = "s3"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Dir string `yaml:"dir"` SyncDir string `yaml:"sync_dir"` BlockRanges time.Duration `yaml:"block_ranges_period"` Retention time.Duration `yaml:"retention_period"` ShipInterval time.Duration `yaml:"ship_interval"` Backend string `yaml:"backend"` // Backends S3 s3.Config `yaml:"s3"` }
Config holds the config information for TSDB storage
func (*Config) RegisterFlags ¶
RegisterFlags registers the TSDB flags
Click to show internal directories.
Click to hide internal directories.