Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SysMetrics ¶
type SysMetrics struct { Timestamp string `json:"timestamp"` Gauges []gauge `json:"Gauges"` Counters []counter `json:"Counters"` Summaries []summary `json:"Samples"` }
type Vault ¶
type Vault struct { URL string `toml:"url"` TokenFile string `toml:"token_file"` Token string `toml:"token"` ResponseTimeout config.Duration `toml:"response_timeout"` tls.ClientConfig // contains filtered or unexported fields }
Vault configuration object
func (*Vault) Description ¶
Description returns a description of the plugin
func (*Vault) Gather ¶
func (n *Vault) Gather(acc telegraf.Accumulator) error
Gather, collects metrics from Vault endpoint
func (*Vault) SampleConfig ¶
SampleConfig returns a sample config
Click to show internal directories.
Click to hide internal directories.