feature: Added Prometheus PushGateway metric support (#8437)

* Added Prometheus PushGateway support

* fixed formatting

* fix set_curl_proxy to correct variable

* add documentation

* Update Metric-Storage.md

* Update mkdocs.yml
This commit is contained in:
cchance27
2018-04-13 10:46:19 -04:00
committed by Neil Lathwood
parent d7a82f0e6e
commit 09d6b2fd54
11 changed files with 136 additions and 4 deletions

View File

@@ -66,6 +66,7 @@ function data_update($device, $measurement, $tags, $fields)
// However, influxdb saves all tags, so we filter out the ones beginning with 'rrd_'.
rrdtool_data_update($device, $measurement, $tags, $fields);
prometheus_push($device, $measurement, rrd_array_filter($tags), $fields);
influx_update($device, $measurement, rrd_array_filter($tags), $fields);
opentsdb_update($device, $measurement, rrd_array_filter($tags), $fields);
graphite_update($device, $measurement, $tags, $fields);