openwrt-packages/utils/prometheus-node-exporter-lua
Forest Crossman 850c8dc141 prometheus-node-exporter-lua: Change node_time_seconds type to "gauge"
The official node_exporter reports node_time_seconds as a gauge, but
prometheus-node-exporter-lua reports it as a counter. To be consistent
with the official implementation, and because "gauge" is more correct
than "counter" for this metric (system time can decrease, but the
Prometheus documentation states, "A counter is a cumulative metric that
represents a single monotonically increasing counter whose value can
only increase or be reset to zero on restart."), change the type for
node_time_seconds to "gauge".

Signed-off-by: Forest Crossman <cyrozap@gmail.com>
2020-05-03 15:16:14 -05:00
..
files prometheus-node-exporter-lua: Change node_time_seconds type to "gauge" 2020-05-03 15:16:14 -05:00
Makefile prometheus-node-exporter-lua: Change node_time_seconds type to "gauge" 2020-05-03 15:16:14 -05:00