Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { // ScrapeTimeout is the allowed duration of a Prometheus scrape before timing out. ScrapeTimeout time.Duration `toml:"scrape_timeout,omitempty"` // GRPCLatencyBuckets configures the histogram buckets used for gRPC // latency measurements. GRPCLatencyBuckets []float64 `toml:"grpc_latency_buckets,omitempty"` }
Config contains additional configuration data for prometheus
func DefaultConfig ¶ added in v14.2.0
func DefaultConfig() Config
DefaultConfig returns a new config with default values set.
Click to show internal directories.
Click to hide internal directories.