Skip to content

feat(obs): AUTH-004 synthetic prober alert + dashboard + catalog - #36

Merged
mastermanas805 merged 3 commits into
masterfrom
feat/auth-004-synthetic-prober
May 30, 2026
Merged

mastermanas805 merged 3 commits into
masterfrom
feat/auth-004-synthetic-prober

Conversation

@mastermanas805

Copy link
Copy Markdown
Member

Summary

  • Adds the rule-25 observability surface for the worker AUTH-004 synthetic prober (worker PR feat(jobs): AUTH-004 synthetic prober for the prod login loop worker#68).
  • NR alert (P0): newrelic/alerts/auth-probe-fail.json — CRITICAL on any instant_auth_probe_outcome_total{result=\"fail\"} over 10m (two consecutive 5-min ticks of fail).
  • Prom rule: k8s/prometheus-rules.yaml::AuthProbeFail.
  • Dashboard tiles (3): per-leg outcomes line, fails billboard (CRITICAL threshold ≥1), P95 latency per leg.
  • Catalog rows: instant_auth_probe_outcome_total + instant_auth_probe_latency_seconds in observability/METRICS-CATALOG.md.

Lands in lockstep with worker PR #68 per CLAUDE.md rule 25 ("every new metric ships with its alert + dashboard tile in the same PR"). The two repos auto-deploy on separate workflows so they ship as two PRs against their respective masters.

Test plan

  • Worker PR merged + auto-deployed; prod /metrics shows instant_auth_probe_outcome_total before this PR is applied.
  • After this PR is merged: kubectl apply -f infra/k8s/prometheus-rules.yaml -n monitoring (or operator reconciliation) loads AuthProbeFail.
  • kubectl get prometheusrule -n instant instant-platform -o yaml | grep AuthProbeFail returns the rule.
  • After newrelic/apply.sh rerun: dashboard instanode — reliability shows the 3 new tiles; alert instant-worker — auth_probe_failed is active and enabled.
  • Operator wires AUTH_PROBE_BEARER_TOKEN k8s secret so leg 3 stops reporting degraded.

🤖 Generated with Claude Code

mastermanas805 and others added 3 commits May 30, 2026 17:05
Adds the rule-25 observability surface for the worker AUTH-004
synthetic prober (worker repo PR #68):

  - NR alert (P0): newrelic/alerts/auth-probe-fail.json
    fires CRITICAL on any instant_auth_probe_outcome_total{result="fail"}
    over a 10m window (two consecutive 5-min ticks of fail).
  - Prom rule: k8s/prometheus-rules.yaml::AuthProbeFail (same shape).
  - Dashboard tiles: 3 new tiles on instanode-reliability.json —
    per-leg outcomes line, fails billboard (CRITICAL threshold ≥1),
    P95 latency per leg.
  - Catalog rows: instant_auth_probe_outcome_total +
    instant_auth_probe_latency_seconds in observability/METRICS-CATALOG.md.

Lands in lockstep with worker PR #68 per CLAUDE.md rule 25 ("every
new metric ships with its alert + dashboard tile in the same PR").
The two repos auto-deploy on separate workflows so they ship as
two PRs against their respective masters.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@mastermanas805
mastermanas805 merged commit 2ab99d3 into master May 30, 2026
3 checks passed
@mastermanas805
mastermanas805 deleted the feat/auth-004-synthetic-prober branch May 30, 2026 12:43
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