influxdb

package
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: Feb 16, 2021 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type InfluxDbClient

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

InfluxDbClient is a struct that contains the following fields: config, logger, points

func NewInfluxDbClient

func NewInfluxDbClient(config *config.InfluxConfig, logger *logger.Logger) *InfluxDbClient

NewInfluxDbClient is a function that takes some config arguments and returns an new InfluxDB Client

func (*InfluxDbClient) Send

func (i *InfluxDbClient) Send(metricsCollector *metrics.Collector) error

type InfluxSender

type InfluxSender interface {
	Send(metricsCollector *metrics.Collector) error
}

InfluxSender is an interface that defindes an send methond

Jump to

Keyboard shortcuts

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