influxdbbackend

package
v2.1.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2017 License: BSD-3-Clause Imports: 6 Imported by: 0

Documentation

Overview

Package influxdbbackend is useful for publishing metrics to an InfluxDB backend (tested on v0.88). It requires a database to already have been created in InfluxDB, and then specified via the "--influxdb_database" flag.

It's still a work in progress, as it publishes almost all stats as key-value string pairs, instead of better JSON representations. This limitation will hopefully be fixed after the release of InfluxDB v0.9, as it has better support for arbitrary metadata dicts in the form of tags.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type InfluxDBBackend

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

InfluxDBBackend implements stats.PushBackend

func (*InfluxDBBackend) PushAll

func (backend *InfluxDBBackend) PushAll() error

PushAll pushes all expvar stats to InfluxDB

Jump to

Keyboard shortcuts

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