Skip to content

[FEAT] env policy: baked metrics_push switch, off for staging - #2

Open
guya-fhenix wants to merge 3 commits into
mainfrom
worktree-staging-metrics-push-off
Open

guya-fhenix wants to merge 3 commits into
mainfrom
worktree-staging-metrics-push-off

Conversation

@guya-fhenix

@guya-fhenix guya-fhenix commented Sep 23, 2026 •

Copy link
Copy Markdown

Adds a baked metrics_push flag to the per-env policy. Defaults to off; an env sets metrics_push = true to push metrics over OTLP. The push endpoint is unchanged and still compiled in.

metrics_push defaults to true; staging.toml sets it false, so the staging
image serves only the :9090 exposition and pushes nothing to the
Telemetry API. The push destination stays a compiled-in constant.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
guya-fhenix and others added 2 commits September 23, 2026 11:08
The baked metrics_push flag now defaults to false. Envs that push set
metrics_push = true in their policy file.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
@guya-fhenix
guya-fhenix marked this pull request as ready for review September 23, 2026 08:15
@guya-fhenix
guya-fhenix requested a review from a team as a code owner September 23, 2026 08:15
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