Files
nixos-servers/lib/monitoring.nix
Torjus Håkestad 1e52eec02a
All checks were successful
Run nix flake check / flake-check (push) Successful in 2m8s
monitoring: always include tier label in scrape configs
Previously tier was only included if non-default (not "prod"), which
meant prod hosts had no tier label. This made the Grafana tier filter
only show "test" since "prod" never appeared in label_values().

Now tier is always included, so both "prod" and "test" appear in the
fleet dashboard tier selector.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-08 20:58:52 +01:00

7.2 KiB