Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Configuration ¶
type Configuration struct { ServerURL string `valid:"required" mapstructure:"endpoint"` ConnectTimeout time.Duration `mapstructure:"connect_timeout"` TLS tlscfg.Options TokenFilePath string `mapstructure:"token_file_path"` TokenOverrideFromContext bool `mapstructure:"token_override_from_context"` MetricNamespace string `mapstructure:"metric_namespace"` LatencyUnit string `mapstructure:"latency_unit"` NormalizeCalls bool `mapstructure:"normalize_calls"` NormalizeDuration bool `mapstructure:"normalize_duration"` }
Configuration describes the options to customize the storage behavior.
func (*Configuration) Validate ¶ added in v1.60.0
func (c *Configuration) Validate() error
Click to show internal directories.
Click to hide internal directories.