prometheus: add service and enable reporting globally #330

Merged
JakeHillion merged 1 commits from prometheus into main 2024-09-23 20:24:32 +01:00
Owner

Test plan:

Aside: NixOS is awesome. I just deployed full monitoring to every host I have and all future hosts in minutes.

## Test plan: - https://prometheus.ts.hillion.co.uk/graph?g0.expr=1%20-%20(node_filesystem_avail_bytes%7Bmountpoint%20%3D%20%22%2F%22%2C%20device%3D%22tmpfs%22%7D%20%2F%20node_filesystem_size_bytes%7Bmountpoint%20%3D%20%22%2F%22%2C%20device%3D%22tmpfs%22%7D)&g0.tab=0&g0.display_mode=lines&g0.show_exemplars=0&g0.range_input=1h - reports percentage used on all tmpfs roots. This is exactly what I wanted, in the future I might add alerts for it as high tmpfs usage is a sign of something being wrong and is likely to lead to OOMing. Aside: NixOS is awesome. I just deployed full monitoring to every host I have and all future hosts in minutes.
JakeHillion added 1 commit 2024-09-23 20:15:49 +01:00
prometheus: add service and enable reporting globally
Some checks failed
flake / flake (push) Failing after 21s
f671b066a9
JakeHillion force-pushed prometheus from f671b066a9 to 59d1b5f3fd 2024-09-23 20:19:25 +01:00 Compare
JakeHillion force-pushed prometheus from 59d1b5f3fd to 206797c076 2024-09-23 20:20:06 +01:00 Compare
JakeHillion merged commit 31a9828430 into main 2024-09-23 20:24:32 +01:00
JakeHillion deleted branch prometheus 2024-09-23 20:24:32 +01:00
Sign in to join this conversation.
No reviewers
No Label
bug
feature
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: JakeHillion/nixos#330
No description provided.