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 duration.Duration `toml:"scrape_timeout,omitempty" json:"scrape_timeout"` // GRPCLatencyBuckets configures the histogram buckets used for gRPC // latency measurements. GRPCLatencyBuckets []float64 `toml:"grpc_latency_buckets,omitempty" json:"grpc_latency_buckets"` }
Config contains additional configuration data for prometheus
func DefaultConfig ¶
func DefaultConfig() Config
DefaultConfig returns a new config with default values set.
Click to show internal directories.
Click to hide internal directories.