Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type WavefrontSerializer ¶
type WavefrontSerializer struct { Prefix string UseStrict bool SourceOverride []string // contains filtered or unexported fields }
WavefrontSerializer : WavefrontSerializer struct
func NewSerializer ¶
func NewSerializer(prefix string, useStrict bool, sourceOverride []string) (*WavefrontSerializer, error)
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.