influxdb

package
v0.1.0-rc.1 Latest Latest
Warning

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

Go to latest
Published: Jan 7, 2021 License: MIT Imports: 13 Imported by: 0

Documentation

Overview

Package influxdb implements the influxdb exporter.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Exporter

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

Exporter for exporting metrics to influxdb.

func (*Exporter) Export

func (e *Exporter) Export(ctx context.Context, metrics []checker.Metric) error

Export exports the metrics to the exporter.

func (*Exporter) GetMetrics

func (e *Exporter) GetMetrics(
	ctx context.Context,
	time time.Duration,
	checkIDs ...string) (map[string][]checker.Metric, error)

GetMetrics get the metrics of the given checks.

func (*Exporter) Provision

func (e *Exporter) Provision(ctx *appcontext.Context, provider exporter.Provider) error

Provision sets e's configuration.

Jump to

Keyboard shortcuts

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