Skip to content

SourcesGraphite

Brian L. Troutwine edited this page Oct 5, 2017 · 1 revision

The graphite source accepts plaintext graphite encoded payloads. This source will listen on both IPv4 and IPv6 TCP sockets with configurable port. If cernan receives the following graphite plaintext line:

METRIC_NAME VALUE TIME\n

All graphite messages are interpreted as an ephemeral, SET Telemetry message.

Configuration

The graphite sink configuration options are as follows:

  • enabled :: whether the source is enabled. [default: true]
  • port :: the port for the source to listen on, both IPv4 and IPv6 [default: 8125]
  • forwards :: the filters and/or sinks to forward into

The forward concept is described in detail here.

Example

[sources]
  [sources.graphite.primary]
  enabled = true
  port = 2003
  forwards = []

  [sources.graphite.secondary]
  enabled = true
  port = 2004
  forwards = []

  [sources.graphite.disabled]
  enabled = false
  port = 2005
  forwards = []