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
Click to show internal directories.
Click to hide internal directories.