prometheus-node-exporter-lua: adapt 0.16 metrics
authorPaul Spooren <mail@aparcar.org>
Tue, 26 Jun 2018 10:53:23 +0000 (19:53 +0900)
committerPaul Spooren <mail@aparcar.org>
Fri, 29 Jun 2018 09:21:03 +0000 (18:21 +0900)
commitfcaf255d0f4d7de659d4372417ae7e902d1e4bf9
tree123ea15abb55904ccd26a6a84cc76aab293faf75
parent8b76a11e67750af49ee296859b60e0aee5e573ee
prometheus-node-exporter-lua: adapt 0.16 metrics

Prometheus introduced some new conventions on how to name metrics.
Read here https://prometheus.io/docs/practices/naming/

This PR breaks compatibility with past versions, just like the officials
node exporter! ðŸ’¥

Signed-off-by: Paul Spooren <mail@aparcar.org>
utils/prometheus-node-exporter-lua/Makefile
utils/prometheus-node-exporter-lua/files/usr/lib/lua/prometheus-collectors/cpu.lua
utils/prometheus-node-exporter-lua/files/usr/lib/lua/prometheus-collectors/meminfo.lua
utils/prometheus-node-exporter-lua/files/usr/lib/lua/prometheus-collectors/netdev.lua
utils/prometheus-node-exporter-lua/files/usr/lib/lua/prometheus-collectors/netstat.lua
utils/prometheus-node-exporter-lua/files/usr/lib/lua/prometheus-collectors/time.lua
utils/prometheus-node-exporter-lua/files/usr/lib/lua/prometheus-collectors/wifi.lua
utils/prometheus-node-exporter-lua/files/usr/lib/lua/prometheus-collectors/wifi_stations.lua