prometheus-node-exporter-lua: wifi packets should be a counter
authorAlex Tomlins <alex@tomlins.org.uk>
Sun, 7 Apr 2019 13:08:31 +0000 (14:08 +0100)
committerAlex Tomlins <alex@tomlins.org.uk>
Mon, 8 Apr 2019 18:39:34 +0000 (19:39 +0100)
commita45c702baa1c5e913ac6561ef0e0465b8bd780ce
tree1756edf4fae5c6cce616f71a0bf33c288185aed6
parentd1a7d35ebeecdd3751f05a10fd1fdfee87477e73
prometheus-node-exporter-lua: wifi packets should be a counter

These output a count of the number of packets transmitted/received, so
should be tracked as a counter. As it stands, promtool is warning that
these shouldn't be named ending _total if they're a gauge.

Signed-off-by: Alex Tomlins <alex@tomlins.org.uk>
utils/prometheus-node-exporter-lua/files/usr/lib/lua/prometheus-collectors/wifi_stations.lua