Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type MetricPoint ¶ added in v1.24.3
type MetricPoint struct {
Metric string
Value float64
Timestamp int64
Source string
Tags map[string]string
}
MetricPoint represents a single metric point.
type Serializer ¶ added in v1.27.0
type Serializer struct {
Prefix string `toml:"prefix"`
UseStrict bool `toml:"wavefront_use_strict"`
SourceOverride []string `toml:"wavefront_source_override"`
DisablePrefixConversions bool `toml:"wavefront_disable_prefix_conversion"`
// contains filtered or unexported fields
}
func (*Serializer) Serialize ¶ added in v1.27.0
func (s *Serializer) Serialize(m telegraf.Metric) ([]byte, error)
func (*Serializer) SerializeBatch ¶ added in v1.27.0
func (s *Serializer) SerializeBatch(metrics []telegraf.Metric) ([]byte, error)
Click to show internal directories.
Click to hide internal directories.