Skip to content

A server that accepts InfluxDB metrics via the HTTP API and exports them via HTTP for Prometheus consumption

License

Notifications You must be signed in to change notification settings

Crapworks/influxdb_exporter

 
 

Repository files navigation

InfluxDB Exporter Build Status

CircleCI Docker Repository on Quay Docker Pulls

An exporter for metrics in the InfluxDB format used since 0.9.0. It collects metrics in the line protocol via a HTTP API, transforms them and exposes them for consumption by Prometheus.

If you are sending data to InfluxDB in Graphite or Collectd formats, see the graphite_exporter and collectd_exporter respectively.

This exporter is useful for exporting metrics from existing collectd setups, as well as for metrics which are not covered by the core Prometheus exporters such as the Node Exporter.

This exporter supports float, int and boolean fields. Tags are converted to Prometheus labels.

The exporter also listens on a UDP socket, port 9122 by default.

Example usage with Telegraf

The influxdb_exporter appears as a normal InfluxDB server. To use with Telegraf for example, put the following in your telegraf.conf:

[[outputs.influxdb]]
  urls = ["http://localhost:9122"]

Or if you want to use UDP instead:

[[outputs.influxdb]]
  urls = ["udp://localhost:9122"]

Note that Telegraf already supports outputing Prometheus metrics over HTTP via outputs.prometheus_client, which avoids having to also run the influxdb_exporter.

About

A server that accepts InfluxDB metrics via the HTTP API and exports them via HTTP for Prometheus consumption

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Go 78.1%
  • Makefile 21.9%