Commit af456f53 authored by ale's avatar ale

Drop unused systemd_failed Prometheus metric

This metric takes quite a bit of evaluation time due to the large
cardinality of node_systemd_unit_state, and is unused.

Part of the optimization work in issue #51.
parent e0793e59
groups:
- name: roles/prometheus/files/rules/rules_systemd.conf
rules:
- record: systemd_failed
expr: sum(node_systemd_unit_state{state!="active"}) BY (name, instance)
- record: instance:systemd_unit_restarts:delta10m
expr: delta(systemd_unit_restarts[10m])
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment