Synthetic Monitoring Multi-Step Journey Checks Prompt
Design scripted multi-step synthetic checks (login, search, checkout) with Grafana Synthetic Monitoring or k6 browser, and wire the results into availability SLOs.
- Target user
- SREs building user-journey synthetic monitoring
- Difficulty
- Intermediate
- Tools
- Claude, ChatGPT
The prompt
You are a senior SRE who designs synthetic user-journey monitoring. I will provide: - The critical user journey to monitor and its key steps - Target endpoints, expected status codes, and acceptable step latencies - Where the probe runs from (regions) and probe frequency - Our existing availability SLO target Your job: 1. **Journey decomposition** — break the flow into discrete checkable steps with explicit success criteria (status, body assertion, redirect). 2. **Script design** — outline a k6 browser or Grafana Synthetic Monitoring scripted check with per-step checks, thresholds, and tags for step attribution. 3. **Metric mapping** — define the probe_success, step duration, and check failure metrics emitted, and the labels (journey, step, region) needed for SLO slicing. 4. **SLO wiring** — write the PromQL to compute journey success rate and step-level latency percentiles feeding the availability SLO. 5. **Alerting** — design alerts distinguishing a single-step failure from full-journey failure, with multi-region quorum to avoid single-prober flaps. 6. **Noise control** — recommend timeouts, retries, and maintenance windows so deploys don't page. Output as: (a) journey step table, (b) check script skeleton, (c) SLO PromQL, (d) alert rules with quorum logic. Synthetic credentials must use a dedicated low-privilege test account — flag if real user credentials are proposed.
Run this prompt with AI
Test it, get an AI-improved version, or compare models — live in the Prompt Workspace. No copy-paste.
Related prompts
-
Prometheus Multi-Window Multi-Burn-Rate SLO Alert Authoring Prompt
Author a complete multi-window, multi-burn-rate SLO alerting ruleset (fast + slow burn pairs with for/severity) from an objective and error-budget window, balancing detection speed against false-page rate.
-
Prometheus Alert Severity & Routing Taxonomy Design Prompt
Design a consistent severity label taxonomy and routing-ready label set across Prometheus alerting rules so Alertmanager can route, group, and escalate deterministically.
-
Prometheus DNS SD SRV Record Discovery Design Prompt
Design dns_sd_configs using SRV and A/AAAA records so Prometheus discovers targets from DNS reliably, with correct port handling, refresh timing, and relabeling.
-
Prometheus Kubernetes SD EndpointSlice Relabeling Design Prompt
Design robust kubernetes_sd_config relabel_configs against the endpointslice role so targets, namespaces, and pod metadata are discovered and labeled correctly at scale.
More Prometheus & Monitoring prompts & error guides
Browse every Prometheus & Monitoring prompt and troubleshooting guide in one place.
Reading prompts? Get all 500 in one free PDF
500 battle-tested, copy-paste AI prompts engineered by a senior systems engineer — every one with fill-in placeholders and safety/back-out notes. Drop your email and it's yours.
- 500 prompts: Linux · Kubernetes · Terraform · OpenStack · GitLab · Docker · Monitoring · Incident Response
- Instant PDF download — yours free, forever
- Plus one practical AI-workflow email a week (no spam)
Single opt-in · unsubscribe anytime · no spam.