Inferensys

Prompt

Chaos Engineering Observability Validation Prompt

A practical prompt playbook for using the Chaos Engineering Observability Validation Prompt in production AI workflows to ensure your monitoring catches failures before your users do.
Developer doing prompt engineering on laptop, prompt variations visible on screen, casual coding session.
PROMPT PLAYBOOK

When to Use This Prompt

Defines the job, the user, required inputs, and the boundaries where this prompt adds value versus where it creates risk.

Use this prompt when you are an SRE or platform engineer preparing to run a chaos engineering experiment and you need to validate that your observability stack will surface the expected failure signals before you inject the fault. The prompt takes your experiment hypothesis, the target service architecture, and your current observability configuration as input, then produces a structured validation checklist. This checklist maps each hypothesis to the specific metrics, logs, traces, dashboards, and alerts that should fire if observability is working correctly. The core job is pre-experiment verification: confirming that you can see the failure before you cause it, which prevents the worst-case outcome of running a chaos experiment that succeeds in breaking the system but fails to generate any actionable signal.

The ideal user has already defined a chaos experiment hypothesis (for example, 'if we terminate 50% of payment-service pods, the checkout API should show elevated latency but zero errors due to retry logic') and has access to their observability platform's configuration. You need to provide the experiment hypothesis, a description of the target service and its dependencies, your current dashboard and alert definitions, and any known observability gaps. The prompt works best when the hypothesis is specific and falsifiable. Avoid using this prompt for experiments where the hypothesis is vague ('see what happens') or where the observability stack is not yet deployed, because the output will be a list of gaps rather than a validation checklist.

Do not use this prompt as a substitute for running the experiment itself. It validates observability readiness, not system behavior. It also should not be used for post-incident review of observability gaps after a real outage, because the inputs and evaluation criteria differ. For post-incident analysis, use the Incident Retrospective Observability Gap Analysis Prompt instead. If your experiment involves security-sensitive failure modes such as authentication bypass or encryption degradation, add a human review step before executing the experiment, because the prompt may not catch signals that require security-specific telemetry. The output is a planning document, not a replacement for judgment about whether the experiment is safe to run in production.

PRACTICAL GUARDRAILS

Use Case Fit

Where this prompt works, where it fails, and the operational preconditions required before you run it against a real system.

01

Good Fit: Pre-Experiment Validation

Use when: you have a defined chaos experiment hypothesis and a running observability stack (metrics, logs, traces). The prompt excels at mapping expected blast-radius signals to specific dashboards and alerts before you inject failure. Guardrail: Run this prompt during experiment design, not during the incident.

02

Bad Fit: Greenfield or Missing Telemetry

Avoid when: the target system has no production observability or the experiment is exploratory with no predefined hypothesis. The prompt requires existing signal sources to validate against. Guardrail: Use the Observability Maturity Assessment prompt first to confirm minimum signal coverage before attempting chaos validation.

03

Required Inputs: Hypothesis and Signal Map

Risk: Without a concrete experiment hypothesis and a map of expected telemetry, the prompt produces generic checklists instead of actionable validation. Guardrail: Provide the chaos experiment definition, target service topology, and a list of existing dashboards and alert rules as input context.

04

Operational Risk: Blind-Spot Overconfidence

Risk: The prompt may validate only the signals you already know about, creating false confidence that observability is complete. Unknown failure modes remain invisible. Guardrail: Treat the output as a minimum viable validation, not a completeness guarantee. Pair with a manual review of uncovered failure domains.

05

Integration Point: Pre-Gamebook Checklist

Use when: embedding chaos experiments into a formal gamebook or runbook process. The prompt output becomes a go/no-go gate before experiment execution. Guardrail: Wire the checklist into your experiment approval workflow. Require explicit sign-off on each signal gap before proceeding.

06

Variant: Post-Incident Gap Analysis

Adaptation: After an unplanned incident, invert the prompt to ask what signals were missing rather than validating expected ones. Guardrail: Use the Incident Retrospective Observability Gap Analysis prompt for post-incident workflows instead of adapting this prompt outside its design intent.

PROMPT PLAYBOOK

Copy-Ready Prompt Template

A reusable prompt template for validating that observability surfaces chaos experiment failures, with square-bracket placeholders for experiment context, hypotheses, and expected signals.

This prompt template is designed to produce a validation checklist that maps each chaos experiment hypothesis to the specific observability signals—dashboards, metrics, logs, traces, and alerts—that should surface the failure. Use it before running an experiment to confirm that your observability stack will actually detect the injected fault. The template assumes you have already defined your experiment hypotheses and have access to your service's observability architecture. If you are still designing your experiment, start with an experiment design prompt first.

text
You are an SRE observability validator. Your task is to produce a validation checklist that confirms whether the current observability stack will surface the failures injected by a chaos experiment.

## EXPERIMENT CONTEXT
[EXPERIMENT_CONTEXT]

## HYPOTHESES
[HYPOTHESES]

## OBSERVABILITY ARCHITECTURE
[OBSERVABILITY_ARCHITECTURE]

## CONSTRAINTS
[CONSTRAINTS]

## OUTPUT SCHEMA
Return a JSON object with the following structure:
{
  "experiment_id": "string",
  "validation_date": "string (ISO 8601)",
  "hypothesis_validations": [
    {
      "hypothesis_id": "string",
      "hypothesis_description": "string",
      "expected_signals": [
        {
          "signal_type": "metric | log | trace | alert | dashboard",
          "signal_name": "string",
          "expected_behavior": "string",
          "detection_path": "string (e.g., 'Grafana dashboard X panel Y', 'Alert rule Z in Prometheus')",
          "current_coverage": "covered | partial | missing",
          "gap_description": "string (if not covered, what is missing)"
        }
      ],
      "overall_assessment": "validated | partial_gap | critical_gap",
      "recommendation": "string (what to add or change before running the experiment)"
    }
  ],
  "blind_spot_summary": [
    {
      "gap_category": "string (e.g., 'missing alert', 'insufficient log detail', 'trace sampling gap')",
      "affected_hypotheses": ["hypothesis_id"],
      "severity": "critical | high | medium | low",
      "remediation": "string"
    }
  ],
  "pre_experiment_checklist": [
    "string (actionable item to complete before experiment execution)"
  ],
  "overall_readiness": "ready | conditional | not_ready",
  "human_review_required": true
}

## INSTRUCTIONS
1. For each hypothesis, identify every signal type that should detect the failure.
2. Cross-reference expected signals against the provided observability architecture.
3. Flag any signal that is missing, misconfigured, or sampled out.
4. Produce a concrete, actionable pre-experiment checklist.
5. If any critical gap exists, set overall_readiness to "not_ready" and require human review.
6. Do not invent signals or dashboards not described in the observability architecture.
7. If the observability architecture is incomplete, note that as a blind spot.

Adapt this template by replacing each square-bracket placeholder with concrete data from your chaos engineering workflow. [EXPERIMENT_CONTEXT] should include the service name, experiment type (e.g., network partition, pod kill, latency injection), blast radius, and steady-state definition. [HYPOTHESES] should list each formal hypothesis with its unique ID and description. [OBSERVABILITY_ARCHITECTURE] should describe your actual dashboards, alert rules, log pipelines, trace sampling rates, and metric names—the more specific, the better the gap analysis. [CONSTRAINTS] can include regulatory requirements, data sensitivity rules, or organizational policies that affect what can be monitored. After copying the template, test it against a known past incident to see if the prompt correctly identifies gaps that were missed at the time.

Before using this prompt in production, validate its output against a human-reviewed baseline. Run it on three experiments: one where observability is known to be complete, one with known gaps, and one with unknown gaps. Compare the prompt's gap detection against the human assessment. If the prompt misses a gap a human found, add that gap as a counterexample in a few-shot section. If the prompt hallucinates signals that do not exist, tighten the instruction to require evidence from the provided architecture. For high-severity experiments in production, always require human review of the validation checklist before experiment execution—this prompt is a diagnostic aid, not a replacement for SRE judgment.

IMPLEMENTATION TABLE

Prompt Variables

Required inputs for the Chaos Engineering Observability Validation Prompt. Each variable must be supplied before the prompt can produce a reliable validation checklist. Missing or malformed inputs are the most common cause of false-negative validations.

PlaceholderPurposeExampleValidation Notes

[EXPERIMENT_HYPOTHESIS]

The steady-state hypothesis being tested by the chaos experiment

If the payment-service pod is terminated, the checkout API error rate remains below 0.1% and p99 latency stays under 500ms

Must contain a measurable claim with a threshold. Reject if only qualitative or missing a numeric boundary.

[EXPERIMENT_METHOD]

The specific fault injection method and blast radius

Terminate 50% of payment-service pods in us-east-1 using AWS Fault Injection Simulator

Must specify the fault type, target component, and scope. Reject if blast radius is undefined or targets production without approval.

[OBSERVABILITY_STACK]

The observability tools and data sources available for validation

Prometheus metrics, Grafana dashboards, Honeycomb traces, PagerDuty alerts

Must list at least one metrics source and one alerting channel. Null allowed for traces if not instrumented.

[SERVICE_DEPENDENCY_MAP]

Upstream and downstream dependencies of the target service

checkout-api depends on payment-service, inventory-service, and fraud-detection

Must enumerate all runtime dependencies. Reject if only direct dependencies are listed without transitive ones.

[EXISTING_DASHBOARDS]

List of dashboards that should surface the experiment's effects

Payment Service Golden Signals dashboard, Checkout API SLO dashboard

Must include dashboard names and URLs or IDs. Null allowed if no dashboards exist yet.

[EXISTING_ALERTS]

Active alert rules that should fire or remain silent during the experiment

HighErrorRate-payment-service (threshold: 1%), P99Latency-checkout-api (threshold: 750ms)

Must include alert name and threshold. Reject if thresholds are missing. Null allowed if no alerts are configured.

[EXPERIMENT_WINDOW]

The time window during which the experiment runs and signals are evaluated

2025-03-20T14:00:00Z to 2025-03-20T14:15:00Z

Must be a valid ISO 8601 interval with start and end. Reject if window is shorter than 5 minutes or overlaps with a known maintenance window.

[EXPECTED_BEHAVIOR]

The expected system behavior if observability is working correctly

PagerDuty should fire a SEV2 alert within 2 minutes. Grafana error-rate panel should spike above 1%. Honeycomb trace should show payment-service errors with root cause span.

Must describe expected signals across metrics, traces, and alerts. Reject if only one signal type is described.

PROMPT PLAYBOOK

Implementation Harness Notes

How to wire the chaos engineering observability validation prompt into an SRE workflow with structured output parsing, validation checks, and integration into incident response tooling.

This prompt is designed to be used as a pre-flight check before executing a chaos experiment, or as a post-mortem analysis tool after an experiment has concluded. In an application harness, you should invoke it with a structured input payload containing the experiment hypothesis, the planned fault injection method, the blast radius, and the current state of your observability stack. The model's output is a structured validation checklist, so your harness must parse the JSON output strictly and validate it against a known schema before surfacing it to the SRE. A failed parse or a missing required field should trigger a retry with a more explicit [OUTPUT_SCHEMA] constraint, not a silent fallback.

To wire this into a chaos engineering platform like Gremlin, Chaos Mesh, or LitmusChaos, build a pre-experiment hook that calls your LLM endpoint with the experiment definition. The harness should construct the [EXPERIMENT_HYPOTHESIS], [FAULT_TYPE], [BLAST_RADIUS], and [OBSERVABILITY_STACK] variables from the experiment configuration. After receiving the model's checklist, run a programmatic validator that checks for: (1) each hypothesis is mapped to at least one specific dashboard panel or log query, (2) every alert mentioned has a defined threshold and evaluation window, and (3) no checklist item is a generic placeholder like 'check dashboards.' If the validator fails, append the specific failure reason to the [CONSTRAINTS] field and retry once. Log the full prompt, response, and validation result to your experiment audit trail for post-incident review.

For high-severity experiments in production, do not rely solely on the model's output. The harness should flag any checklist item where the model's confidence is implicitly low—detectable by vague language like 'consider checking' or 'might be useful'—and route those items to a human SRE for manual enrichment. Implement a review queue in your experiment workflow that blocks the chaos injection until all flagged items are resolved. The model's output should be treated as a draft that accelerates human review, not as a final authorization to proceed. After the experiment, feed the actual observability signals back into a follow-up prompt to generate a gap analysis, closing the loop between expected and actual detection.

IMPLEMENTATION TABLE

Expected Output Contract

Defines the structure, types, and validation rules for the chaos engineering observability validation checklist. Use this contract to parse and validate the model output before integrating it into an automated validation pipeline or runbook.

Field or ElementType or FormatRequiredValidation Rule

experiment_id

string

Must match the [EXPERIMENT_ID] input exactly; no truncation or modification allowed.

hypothesis

string

Must be a non-empty string that restates the experiment hypothesis from [EXPERIMENT_HYPOTHESIS].

expected_signals

array of objects

Each object must contain 'signal_name' (string), 'source' (string matching a known telemetry type: logs, metrics, traces, events), and 'expected_behavior' (string). Array length must be >= 1.

dashboard_validation

object

Must contain 'dashboard_url' (string, valid URI) and 'panel_ids' (array of strings, >= 1). Each panel_id must be a non-empty string.

alert_validation

object

If present, must contain 'alert_name' (string) and 'expected_state' (string enum: firing, resolved, no_data). If absent, null is allowed.

blind_spot_analysis

array of strings

Each string must describe a potential observability gap. Array length must be >= 1. Empty strings are not allowed.

validation_status

string

Must be one of: passed, failed, inconclusive. Must be consistent with the presence of failures in expected_signals or alert_validation.

recommendations

array of strings

If present, each string must be a non-empty, actionable recommendation. If no recommendations, an empty array is allowed.

PRACTICAL GUARDRAILS

Common Failure Modes

Chaos experiments are only as valuable as your ability to observe them. These are the most common ways observability validation fails during chaos engineering, and how to prevent them.

01

Hypothesis Without Signal Mapping

What to watch: The experiment hypothesis is stated in prose ('the system should handle it') but never mapped to specific dashboards, metrics, or log queries. The team runs the experiment but cannot confirm whether the hypothesis held. Guardrail: Require every hypothesis to list exact queries, dashboard panels, and expected value ranges before the experiment starts.

02

Alert Suppression Masks the Failure

What to watch: During the experiment, alerts are silenced or maintenance windows are set, but the validation checklist never verifies that alerts would have fired. The team gains false confidence that observability works. Guardrail: Run a parallel 'shadow alert' evaluation that checks alerting rules against experiment telemetry without actually paging anyone.

03

Steady-State Blind Spot

What to watch: The validation only checks whether dashboards show the injected failure, but never verifies that the steady-state signals return to baseline after the experiment ends. Lingering degradation goes unnoticed. Guardrail: Include a post-experiment recovery window in the validation checklist with explicit baseline comparison queries.

04

Correlation Without Causation Evidence

What to watch: The team observes a metric change during the experiment and assumes the chaos injection caused it, without ruling out coincident deployments, traffic shifts, or background processes. Guardrail: Require temporal alignment checks—compare experiment start/end timestamps against deployment logs and known background job schedules.

05

Single-Pane-of-Glass Overconfidence

What to watch: Validation relies entirely on a high-level aggregate dashboard that smooths over per-instance, per-pod, or per-region variance. Localized failures are invisible. Guardrail: Include per-instance drill-down queries in the validation checklist, especially for canary or staged rollout experiments.

06

Trace Sampling Drops the Evidence

What to watch: The experiment injects latency or errors into a specific code path, but the tracing sampling rate drops those exact traces. The team concludes 'no impact' when the evidence was simply discarded. Guardrail: Temporarily increase trace sampling or enable forced tracing for requests matching experiment headers during the validation window.

IMPLEMENTATION TABLE

Evaluation Rubric

Use this rubric to evaluate the quality of a chaos engineering observability validation checklist before shipping it to production. Each criterion maps to a pass standard, a failure signal, and a test method.

CriterionPass StandardFailure SignalTest Method

Hypothesis-to-Signal Mapping

Every experiment hypothesis maps to at least one specific metric, log query, or trace attribute.

Hypothesis listed with vague signal like 'check dashboards' or no signal at all.

Parse output for hypothesis list; verify each has a non-empty [SIGNAL] field with a concrete query or metric name.

Dashboard Coverage

Every expected signal references an existing dashboard panel or a specific new panel location.

Signal references a dashboard that does not exist or is described generically as 'create a dashboard'.

Cross-reference [DASHBOARD_NAME] and [PANEL_ID] fields against a known dashboard inventory list.

Alert Rule Mapping

Every critical failure mode maps to a pre-existing alert rule or a draft alert specification with threshold, window, and severity.

Critical failure mode has no alert mapping or alert threshold is missing.

Validate that [ALERT_RULE_ID] is not null for any row where [FAILURE_MODE_SEVERITY] equals 'critical'.

Blind Spot Discovery

The output explicitly lists at least one observability gap or blind spot discovered during the validation.

Output claims full coverage with no gaps identified, or gap section is empty.

Check that [BLIND_SPOTS] array is present and contains at least one non-placeholder string.

Injection Point Traceability

Every chaos injection point is traceable to a specific service, host, or container in the telemetry data.

Injection point is described only at the application level without a corresponding infrastructure identifier.

Verify that [INJECTION_TARGET] field contains a valid hostname, pod name, or service ID from the target environment registry.

Steady State Baseline

The checklist includes a pre-experiment steady state metric range for every signal used to detect deviation.

Steady state is undefined or described qualitatively as 'normal' without a numeric range.

Check that [BASELINE_RANGE] field is populated with a numeric min/max for each [SIGNAL].

Runbook Linkage

Every expected alert or failure signal links to a specific runbook section or playbook for diagnosis.

Alert is listed with no diagnostic reference or a broken link.

Validate that [RUNBOOK_REF] is a non-null string matching an existing runbook identifier or URL pattern.

Rollback Criteria

The checklist defines explicit rollback conditions based on observability signals exceeding defined thresholds.

Rollback condition is missing, or relies on manual operator judgment without signal criteria.

Check that [ROLLBACK_CONDITION] field is present and contains a threshold expression for each experiment.

ADAPTATION OPTIONS

Adapt This Prompt

How to adapt

Use the base prompt with a single experiment hypothesis and a lightweight checklist format. Drop strict JSON schema requirements and allow free-text signal descriptions. Focus on surfacing obvious blind spots rather than exhaustive coverage.

code
Validate that our observability stack can detect [EXPERIMENT_HYPOTHESIS].
List expected signals, dashboards, and alerts. Flag any missing coverage.

Watch for

  • Overly broad hypotheses that produce vague signal lists
  • Missing concrete dashboard names or alert titles
  • No distinction between metrics, logs, and traces as signal sources
Prasad Kumkar

About the author

Prasad Kumkar

CEO & MD, Inference Systems

Prasad Kumkar is the CEO & MD of Inference Systems and writes about AI systems architecture, LLM infrastructure, model serving, evaluation, and production deployment. Over 5+ years, he has worked across computer vision models, L5 autonomous vehicle systems, and LLM research, with a focus on taking complex AI ideas into real-world engineering systems.

His work and writing cover AI systems, large language models, AI agents, multimodal systems, autonomous systems, inference optimization, RAG, evaluation, and production AI engineering.