Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AggregateSample ¶
type GaugeValue ¶
type MetricsSummary ¶
type MetricsSummary struct { Timestamp string `json:"timestamp"` Gauges []GaugeValue `json:"gauges"` Points []PointValue `json:"points"` Counters []SampledValue `json:"counters"` Samples []SampledValue `json:"samples"` }
type Nomad ¶
type Nomad struct { URL string `toml:"url"` ResponseTimeout config.Duration `toml:"response_timeout"` tls.ClientConfig // contains filtered or unexported fields }
Nomad configuration object
func (*Nomad) Description ¶
Description returns a description of the plugin
func (*Nomad) Gather ¶
func (n *Nomad) Gather(acc telegraf.Accumulator) error
Gather, collects metrics from Nomad endpoint
func (*Nomad) SampleConfig ¶
SampleConfig returns a sample config
type PointValue ¶
type SampledValue ¶
Click to show internal directories.
Click to hide internal directories.