influxdb

package
v1.4.1 Latest Latest
Warning

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

Go to latest
Published: Jul 27, 2020 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InfluxDB

func InfluxDB(ctx context.Context, r metrics.Registry, d time.Duration, url, database, username, password string)

InfluxDB starts a InfluxDB reporter which will post the metrics from the given registry at each d interval.

func WithTags

func WithTags(ctx context.Context, r metrics.Registry, d time.Duration, url, database, username, password string,
	tags map[string]string)

WithTags starts a InfluxDB reporter which will post the metrics from the given registry at each d interval with the specified tags

Types

This section is empty.

Jump to

Keyboard shortcuts

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