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>
Thu, 28 Jun 2018 14:53:12 +0000 (23:53 +0900)
commitde9f3656c79565085edddc9da42fd7629aef5b74
tree27140df2ed4cd4f4d0049656e73170b3b21e95ce
parentb3eb0d235e467dae24000f2e326d0a94a462ef34
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