Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Converter ¶
type Converter struct {
// contains filtered or unexported fields
}
Converter converts Telegraf metrics to Grafana frames.
func NewConverter ¶
func NewConverter(opts ...ConverterOption) *Converter
NewConverter creates new Converter from Influx/Telegraf format to Grafana Data Frames. This converter generates one frame for each input metric name and time combination.
type ConverterOption ¶
type ConverterOption func(*Converter)
ConverterOption ...
func WithFloat64Numbers ¶
func WithFloat64Numbers(enabled bool) ConverterOption
WithFloat64Numbers will convert all numbers met to float64 type.
func WithUseLabelsColumn ¶
func WithUseLabelsColumn(enabled bool) ConverterOption
WithUseLabelsColumn ...
Click to show internal directories.
Click to hide internal directories.