2016-01-08 00:26:33 +00:00
|
|
|
# Graphite Output Plugin
|
|
|
|
|
2016-04-08 22:04:45 +00:00
|
|
|
This plugin writes to [Graphite](http://graphite.readthedocs.org/en/latest/index.html)
|
|
|
|
via raw TCP.
|
|
|
|
|
2018-05-21 23:39:33 +00:00
|
|
|
For details on the translation between Telegraf Metrics and Graphite output,
|
|
|
|
see the [Graphite Data Format](../../../docs/DATA_FORMATS_OUTPUT.md)
|
2018-05-21 22:59:56 +00:00
|
|
|
|
2018-05-21 23:39:33 +00:00
|
|
|
### Configuration:
|
2016-04-08 22:04:45 +00:00
|
|
|
|
|
|
|
```toml
|
|
|
|
# Configuration for Graphite server to send metrics to
|
|
|
|
[[outputs.graphite]]
|
|
|
|
## TCP endpoint for your graphite instance.
|
2016-07-14 15:06:00 +00:00
|
|
|
## If multiple endpoints are configured, the output will be load balanced.
|
|
|
|
## Only one of the endpoints will be written to with each iteration.
|
2016-04-08 22:04:45 +00:00
|
|
|
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"
|
2018-05-21 23:39:33 +00:00
|
|
|
|
2018-05-21 22:59:56 +00:00
|
|
|
## Enable Graphite tags support
|
2018-05-21 23:39:33 +00:00
|
|
|
# graphite_tag_support = false
|
|
|
|
|
2016-04-08 22:04:45 +00:00
|
|
|
## timeout in seconds for the write connection to graphite
|
|
|
|
timeout = 2
|
2017-06-13 20:42:11 +00:00
|
|
|
|
2018-05-04 23:33:23 +00:00
|
|
|
## Optional TLS Config
|
|
|
|
# tls_ca = "/etc/telegraf/ca.pem"
|
|
|
|
# tls_cert = "/etc/telegraf/cert.pem"
|
|
|
|
# tls_key = "/etc/telegraf/key.pem"
|
|
|
|
## Use TLS but skip chain & host verification
|
2017-06-13 20:42:11 +00:00
|
|
|
# insecure_skip_verify = false
|
2016-04-08 22:04:45 +00:00
|
|
|
```
|