Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct { // For sections that don't differ between v1 and v2, we reference v2 directly here. Input v2.InputConfig `yaml:",omitempty"` Grok v2.GrokConfig `yaml:",omitempty"` Metrics MetricsConfig `yaml:",omitempty"` Server v2.ServerConfig `yaml:",omitempty"` }
type MetricConfig ¶
type MetricConfig struct { Type string `yaml:",omitempty"` Name string `yaml:",omitempty"` Help string `yaml:",omitempty"` Match string `yaml:",omitempty"` Value string `yaml:",omitempty"` Cumulative bool `yaml:",omitempty"` Buckets []float64 `yaml:",flow,omitempty"` Quantiles map[float64]float64 `yaml:",flow,omitempty"` Labels []Label `yaml:",omitempty"` }
type MetricsConfig ¶
type MetricsConfig []MetricConfig
Click to show internal directories.
Click to hide internal directories.