Skip to content

metrics: An off switch per module - #8

Merged
andsens merged 1 commit into
mainfrom
metrics-switch
Nov 15, 2026
Merged

andsens merged 1 commit into
mainfrom
metrics-switch

Conversation

@andsens

@andsens andsens commented Nov 15, 2026

Copy link
Copy Markdown
Collaborator

Adds homelab.<module>.metrics.enable to each module with metrics, default config.homelab.alloy.enable; Syncthing and Actual Budget default off, with privacy as the reason in their docs. Off removes the module's monitor, policy and any exporter sidecar. 1 commit(s).

Checked: this repo's checks and options-docs. The andsens/nixos-machines NAS payload with defaults matches main apart from the docs image tag, and with the switches off the module's metrics parts are gone.

🤖 Generated with Claude Code

homelab.{plex,sonarr,radarr,prowlarr,sabnzbd,rtorrent}.metrics.enable, defaulting to whether Alloy runs, so any
exporter can be turned off explicitly. Off, the module has no monitor, no metrics policy and no sidecar; the
sidecars still run only while Alloy does. homelab-monitoring moves to main.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@andsens
andsens enabled auto-merge (squash) November 15, 2026 19:47
@andsens
andsens merged commit 6c76525 into main Nov 15, 2026
2 checks passed
@andsens
andsens deleted the metrics-switch branch November 15, 2026 19:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant