Update README.md

This commit is contained in:
marknmel 2016-03-14 12:34:18 -04:00
parent 820d80674a
commit 884a1eb731
1 changed files with 9 additions and 11 deletions

View File

@ -157,6 +157,15 @@ We can also change the data_format to "graphite" to use the metrics collecting s
"measurement*" "measurement*"
] ]
``` ```
Graphite messages are in this format:
```
metric_path value timestamp\n
```
__metric_path__ is the metric namespace that you want to populate.
__value__ is the value that you want to assign to the metric at this time.
__timestamp__ is the unix epoch time.
And test.sh/test2.sh will output: And test.sh/test2.sh will output:
@ -172,15 +181,4 @@ sensu.metric.net.server0.eth0.rx_dropped 0 1444234982
The templates configuration will be used to parse the graphite metrics to support influxdb/opentsdb tagging store engines. The templates configuration will be used to parse the graphite metrics to support influxdb/opentsdb tagging store engines.
Graphite understands messages with this format:
```
metric_path value timestamp\n
```
__metric_path__ is the metric namespace that you want to populate.
__value__ is the value that you want to assign to the metric at this time.
__timestamp__ is the unix epoch time.
More detail information about templates, please refer to [The graphite Input] (https://github.com/influxdata/influxdb/blob/master/services/graphite/README.md) More detail information about templates, please refer to [The graphite Input] (https://github.com/influxdata/influxdb/blob/master/services/graphite/README.md)