obs(deploy-probe): NR alert + Prom rule + dashboard tiles + catalog - #43
Merged
Conversation
Companion to worker PR feat/deploy-probe-hourly. Surfaces the hourly
synthetic deploy prober metric on all four operator surfaces in one
PR per CLAUDE.md rule 25.
- newrelic/alerts/deploy-probe-fail.json — P0 NRQL alert: ANY
instant_deploy_probe_outcome_total{result="fail"} over 30m.
30-minute window guarantees a P0 inside one tick at the 60-min
cadence rather than waiting two cycles.
- k8s/prometheus-rules.yaml — Prom DeployProbeFail mirror under
instant-worker-deploy-probe group.
- newrelic/dashboards/instanode-reliability.json — three tiles
matching the AUTH-004 layout: outcomes-per-leg (6h), fails
billboard (must-be-0), P95 latency per leg.
- observability/METRICS-CATALOG.md — two rows
(instant_deploy_probe_outcome_total +
instant_deploy_probe_latency_seconds), both marked lazy with the
AUTH-004-style operator note about first-tick materialisation.
Coverage:
Symptom: hourly deploy prober metric exists in worker but no
alert / dashboard / catalog entry (rule 25 violation)
Enumeration: grep -n "deploy_probe\|deploy-probe" k8s/prometheus-rules.yaml
observability/METRICS-CATALOG.md
newrelic/dashboards/instanode-reliability.json
newrelic/alerts/
Sites found: 4 (3 existing files + 1 new alert)
Sites touched: 4
Live verified: awaiting operator apply
(kubectl apply -f k8s/prometheus-rules.yaml +
nrcli sync newrelic/alerts/deploy-probe-fail.json +
dashboard re-import)
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Companion to worker PR InstaNode-dev/worker#69 (hourly synthetic deploy prober). Surfaces the new prober metric on all four operator surfaces in one PR per CLAUDE.md rule 25.
newrelic/alerts/deploy-probe-fail.json— P0 NRQL alert: ANYinstant_deploy_probe_outcome_total{result="fail"}over a 30-minute window. 30m guarantees a P0 inside one tick at the 60-min cadence rather than waiting two cycles (90 minutes of broken deploys before paging would be too long).k8s/prometheus-rules.yaml— PromDeployProbeFailrule under the newinstant-worker-deploy-probegroup, mirrors the alert.newrelic/dashboards/instanode-reliability.json— three tiles matching the AUTH-004 layout (row 28): outcomes-per-leg line chart (6h), fails billboard (must-be-0), P95 latency line per leg.observability/METRICS-CATALOG.md— two rows (instant_deploy_probe_outcome_total+instant_deploy_probe_latency_seconds), both marked lazy with the AUTH-004-style operator note about first-tick materialisation.Coverage block
Test plan
python3 -c "import json; json.load(open('newrelic/alerts/deploy-probe-fail.json'))"→ valid JSONpython3 -c "import json; json.load(open('newrelic/dashboards/instanode-reliability.json'))"→ still valid JSON after editpython3 -c "import yaml; yaml.safe_load(open('k8s/prometheus-rules.yaml'))"→ still valid YAML after editauth-probe-fail.jsonshape exactly (same shape contract)kubectl apply -f k8s/prometheus-rules.yaml -n monitoringafter worker PR infra(data-tier): S4 razorpay sig-fail monitoring + R6 nats PVC + R7 eviction protection + apply runbook #69 ships and prod starts emitting the metric.deploy-probe-fail.jsonto NR (via NerdGraph or the alert-sync script).DEPLOY_PROBE_BEARER_TOKENat a bad value and verify P0 paged within 30 min).🤖 Generated with Claude Code