Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Buckets int `mapstructure:"buckets"` SlowLogThreshold time.Duration `mapstructure:"slowLogThreshold"` ConcurrencyLimitPerServer int `mapstructure:"concurrencyLimitPerServer"` MaxIdleConnsPerHost int `mapstructure:"maxIdleConnsPerHost"` Backends []string `mapstructure:"backends"` BackendsV2 types.BackendsV2 `mapstructure:"backendsv2"` MaxBatchSize *int `mapstructure:"maxBatchSize"` FallbackMaxBatchSize int `mapstructure:"-"` MaxTries int `mapstructure:"maxTries"` DoMultipleRequestsIfSplit bool `mapstructure:"doMultipleRequestsIfSplit"` CarbonSearch types.CarbonSearch CarbonSearchV2 types.CarbonSearchV2 ExpireDelaySec int32 TLDCacheDisabled bool `mapstructure:"tldCacheDisabled"` InternalRoutingCache time.Duration Timeouts types.Timeouts KeepAliveInterval time.Duration `mapstructure:"keepAliveInterval"` // ScaleToCommonStep controls if metrics in one target should be aggregated to common step ScaleToCommonStep bool `mapstructure:"scaleToCommonStep"` // contains filtered or unexported fields }
Config is a structure that contains zipper-related configuration bits
func SanitizeConfig ¶
SanitizeConfig perform old kind of checks and conversions for zipper's configuration
func (*Config) IsSanitized ¶
Click to show internal directories.
Click to hide internal directories.