feat(monitoring): add backup and systemd metrics, alerts, and dashboards
- backup role emits last-success/run metrics into node_exporter's textfile collector
- node_exporter enables systemd and textfile collectors
- prometheus deploys BackupStale/BackupTimerSilent/SystemdUnitFailed alert rules
- grafana gains Backups - Restic and Systemd dashboards
- fix prometheus.yml params rendering (quote values so {job=...} stays a string)
This commit is contained in:
@@ -44,7 +44,7 @@ scrape_configs:
|
||||
{% for param_key, param_values in scrape_config.params.items() %}
|
||||
{{ param_key }}:
|
||||
{% for param_value in param_values %}
|
||||
- {{ param_value }}
|
||||
- {{ param_value | to_json }}
|
||||
{% endfor %}
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
|
||||
Reference in New Issue
Block a user