telegraf/plugins/outputs/graphite
Cameron Sparr c7834209d2 Major Logging Overhaul
in this commit:

- centralize logging output handler.
- set global Info/Debug/Error log levels based on config file or flags.
- remove per-plugin debug arg handling.
- add a I!, D!, or E! to every log message.
- add configuration option to specify where to send logs.

closes #1786
2016-10-03 17:13:03 +01:00
..
README.md Documentation for load balancing on graphite output servers (#1469) 2016-07-14 09:06:00 -06:00
graphite.go Major Logging Overhaul 2016-10-03 17:13:03 +01:00
graphite_test.go Create a template system for the graphite serializer 2016-04-11 16:30:18 -06:00

README.md

Graphite Output Plugin

This plugin writes to Graphite via raw TCP.

Configuration:

# Configuration for Graphite server to send metrics to
[[outputs.graphite]]
  ## TCP endpoint for your graphite instance.
  ## If multiple endpoints are configured, the output will be load balanced.
  ## Only one of the endpoints will be written to with each iteration.
  servers = ["localhost:2003"]
  ## Prefix metrics name
  prefix = ""
  ## Graphite output template
  ## see https://github.com/influxdata/telegraf/blob/master/docs/DATA_FORMATS_OUTPUT.md
  template = "host.tags.measurement.field"
  ## timeout in seconds for the write connection to graphite
  timeout = 2

Parameters:

Servers  []string
Prefix   string
Timeout  int
Template string