Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type MetricPoint ¶ added in v1.24.3
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) InitFromConfig ¶ added in v1.27.0
func (s *Serializer) InitFromConfig(cfg *serializers.Config) error
InitFromConfig is a compatibility function to construct the parser the old way
func (*Serializer) Serialize ¶ added in v1.27.0
func (s *Serializer) Serialize(m telegraf.Metric) ([]byte, error)
Serialize : Serialize based on Wavefront format
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.