Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type MetricPoint ¶ added in v1.24.3
type WavefrontSerializer ¶
type WavefrontSerializer struct { Prefix string UseStrict bool SourceOverride []string DisablePrefixConversions bool // contains filtered or unexported fields }
WavefrontSerializer : WavefrontSerializer struct
func NewSerializer ¶
func NewSerializer(prefix string, useStrict bool, sourceOverride []string, disablePrefixConversion bool) *WavefrontSerializer
func (*WavefrontSerializer) Serialize ¶
func (s *WavefrontSerializer) Serialize(m telegraf.Metric) ([]byte, error)
Serialize : Serialize based on Wavefront format
func (*WavefrontSerializer) SerializeBatch ¶
func (s *WavefrontSerializer) SerializeBatch(metrics []telegraf.Metric) ([]byte, error)
Click to show internal directories.
Click to hide internal directories.