Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { // Measurements is the ids of measurements used as source for metrics generation Measurements []Measurement `yaml:"measurements"` HistogramBuckets HistogramBuckets `yaml:"histogram_buckets"` FilterInvalidResults bool `yaml:"filter_invalid_results"` }
Config represents the configuration for the exporter
func (*Config) MeasurementIDs ¶
MeasurementIDs represents all IDs of configured measurements
type HistogramBuckets ¶
type HistogramBuckets struct { DNS RttHistogramBucket `yaml:"dns,omitempty"` HTTP RttHistogramBucket `yaml:"http,omitempty"` Ping RttHistogramBucket `yaml:"ping,omitempty"` Traceroute RttHistogramBucket `yaml:"traceroute,omitempty"` }
HistogramBuckets defines buckets for several histograms
type Measurement ¶
Measurement represents config options for one measurement
type RttHistogramBucket ¶
type RttHistogramBucket struct {
Rtt []float64 `yaml:"rtt"`
}
RttHistogramBucket defines buckets for RTT histograms
Click to show internal directories.
Click to hide internal directories.