Skip to content

Commit 1f53e1a

Browse files
committed
feat(node): add record zfs_exporter_up
1 parent 9fb1852 commit 1f53e1a

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

roles/infra/templates/prometheus/agent.yml.j2

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,4 +62,8 @@ groups:
6262
# KAFKA
6363
- record: kafka_exporter_up
6464
expr: up{job="kafka"}
65+
66+
# ZFS
67+
- record: zfs_exporter_up
68+
expr: up{instance=~".*:{{ zfs_exporter_port|default('9134') }}"}
6569
...

0 commit comments

Comments
 (0)