aboutsummaryrefslogtreecommitdiff
path: root/utils/prometheus-node-exporter-lua/files/usr/lib/lua/prometheus-collectors/netdev.lua
Commit message (Collapse)AuthorAge
* prometheus-node-exporter-lua: change network metric type to counterPiotr Machała2018-12-30
| | | | Signed-off-by: Piotr Machała <pm7gt@933x.net>
* prometheus-node-exporter-lua: adapt 0.16 metricsPaul Spooren2018-06-28
| | | | | | | | | | 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>
* prometheus-node-exporter-lua: use io.lines(), remove line_splitEtienne Champetier2017-12-08
| | | | Signed-off-by: Etienne Champetier <champetier.etienne@gmail.com>
* prometheus-node-exporter-lua: make it modularEtienne Champetier2017-12-08
As prometheus-node-exporter-lua is a reimplementation of node_exporter, I'm using "collector" instead of "scraper" and renaming some collectors put each collector in a separate file report collector success/failure and duration per scrape (follow https://github.com/prometheus/node_exporter/pull/516) allow to filter collectors using "collect[]" params (see https://github.com/prometheus/node_exporter#filtering-enabled-collectors) Signed-off-by: Etienne Champetier <champetier.etienne@gmail.com>