Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { SumBuckets bool `mapstructure:"sumBuckets"` Buckets int `mapstructure:"buckets"` BucketsWidth []int64 `mapstructure:"bucketsWidth"` BucketsLabels []string `mapstructure:"bucketsLabels"` ExtendedStat bool `mapstructure:"extendedStat"` // extended stat metrics 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"` 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 ¶ added in v0.13.0
SanitizeConfig perform old kind of checks and conversions for zipper's configuration
func (*Config) IsSanitized ¶ added in v0.13.0
Click to show internal directories.
Click to hide internal directories.