influxdb

package
v2.0.0-...-1b98e1c Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 9, 2024 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

Types

type InfluxDB

type InfluxDB struct {
	*exporter.AbstractExporter
	// contains filtered or unexported fields
}

func (*InfluxDB) Emit

func (e *InfluxDB) Emit(data [][]byte) error

func (*InfluxDB) Export

func (e *InfluxDB) Export(data *matrix.Matrix) (exporter.Stats, error)

func (*InfluxDB) Init

func (e *InfluxDB) Init() error

func (*InfluxDB) Render

func (e *InfluxDB) Render(data *matrix.Matrix) ([][]byte, exporter.Stats, error)

type Measurement

type Measurement struct {
	// contains filtered or unexported fields
}

func NewMeasurement

func NewMeasurement(name string, size int) *Measurement

func (*Measurement) AddField

func (m *Measurement) AddField(key, value string)

func (*Measurement) AddFieldString

func (m *Measurement) AddFieldString(key, value string)

func (*Measurement) AddTag

func (m *Measurement) AddTag(key, value string)

func (*Measurement) Render

func (m *Measurement) Render() (string, error)

func (*Measurement) SetTimestamp

func (m *Measurement) SetTimestamp(t string)

func (*Measurement) String

func (m *Measurement) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL