mirror of
https://github.com/prometheus/node_exporter.git
synced 2024-12-26 22:19:44 -08:00
5d23ad0ca7
* Replace supervisord xmlrpc library * Use `github.com/mattn/go-xmlrpc` that doesn't leak goroutines. * Fix uptime metric * Use Prometheus best practices for uptime metric. * Use "start time" rather than "uptime". * Don't emit a start time if the process is down. * Add changelog entry. * Add example compatibility rules. Signed-off-by: Ben Kochie <superq@gmail.com>
6 lines
145 B
YAML
6 lines
145 B
YAML
groups:
|
|
- name: node_exporter-17-supervisord
|
|
rules:
|
|
- record: node_supervisord_start_time_seconds
|
|
expr: node_supervisord_uptime + time()
|