coreos-home-server/service/prometheus/systemd/grafana-dashboard@prometheus-node-exporter.service.d/after-prometheus.conf
Alex Palaistras 6199425956 prometheus: Add exporter for container metrics
This also adds a basic Grafana dashboard for Podman, to be updated later.
2023-12-04 10:57:23 +00:00

9 lines
386 B
Plaintext

[Unit]
Wants=prometheus-service-register@host.containers.internal:9100.service
After=prometheus-service-register@host.containers.internal:9100.service
ConditionPathExists=
ConditionPathExists=%E/coreos-home-server/prometheus/service/grafana-dashboard-node-exporter.json
[Service]
Environment=DASHBOARD_CONF=%E/coreos-home-server/prometheus/service/grafana-dashboard-node-exporter.json