Skip to content
Testing
Skill

/observability-testing-patterns

Observability and monitoring validation patterns for dashboards, alerting, log aggregation, APM traces, and SLA/SLO verification. Use when testing monitoring infrastructure, dashboard accuracy, alert rules, or metric pipelines.

From plugin
agentic-qe
534119 skills169 agents149 commands1 MCP

Claude Code

$ npx -y skills add proffesor-for-testing/agentic-qe --skill observability-testing-patterns --agent claude-code

SKILL.md

observability-testing-patterns.SKILL.md
name: observability-testing-patterns
description: "Observability and monitoring validation patterns for dashboards, alerting, log aggregation, APM traces, and SLA/SLO verification. Use when testing monitoring infrastructure, dashboard accuracy, alert rules, or metric pipelines."
category: specialized-testing
priority: high
tokenEstimate: 1600
agents: [qe-integration-tester, qe-performance-tester, qe-visual-tester]
implementation_status: optimized
optimization_version: 1.0
last_optimized: 2026-02-04
dependencies: [api-testing-patterns, shift-right-testing]
quick_reference_card: true
tags: [observability, monitoring, kibana, elasticsearch, dashboards, alerting, metrics, logging]
trust_tier: 3
validation:
  schema_path: schemas/output.json
  validator_path: scripts/validate-config.json
  eval_path: evals/observability-testing-patterns.yaml

Observability Testing Patterns

Browser engine

Dashboard screenshot validation and alert-UI verification go through the **qe-browser** fleet skill (`.claude/skills/qe-browser/`). Vibium is installed by `aqe init`. Typical dashboard regression workflow:

vibium go "$GRAFANA_URL/d/api-latency"
vibium wait load
node .claude/skills/qe-browser/scripts/assert.js --checks '[
  {"kind": "selector_visible", "selector": ".panel-title"},
  {"kind": "no_console_errors"},
  {"kind": "no_failed_requests"},
  {"kind": "element_count", "selector": ".panel", "op": ">=", "count": 4}
]'
node .claude/skills/qe-browser/scripts/visual-diff.js --name "grafana-api-latency"

<default_to_action> When testing observability infrastructure, dashboards, or monitoring: 1. VALIDATE data accuracy (source data matches what the dashboard displays) 2. TEST alert rules fire correctly at defined thresholds 3. VERIFY log aggregation completeness (no missing logs across services) 4. TRACE distributed requests end-to-end through APM 5. MEASURE dashboard performance (render time, query latency) 6. CONFIRM SLA/SLO compliance through synthetic monitoring 7. TEST metric pipeline integrity from collection to display

**Quick Pattern Selection:**

  • Dashboard shows wrong numbers -> Data accuracy validation
  • Alerts not firing -> Alert rule threshold testing
  • Missing logs in Kibana -> Log aggregation completeness
  • Slow dashboard -> Dashboard performance testing
  • Broken traces -> APM trace validation
  • SLA disputes -> SLO compliance validation

**Critical Success Factors:**

  • Observability is only as good as the data it shows
  • A dashboard that lies is worse than no dashboard
  • Alert fatigue kills response times; test thresholds carefully

</default_to_action>

Quick Reference Card

When to Use

  • Validating dashboard data accuracy (Kibana, Grafana, Datadog)
  • Testing alert rule thresholds and notification delivery
  • Verifying log aggregation completeness across microservices
  • Validating distributed tracing (APM) correctness
  • Measuring SLA/SLO compliance
  • Testing metric pipeline integrity (collection -> aggregation -> display)

Testing Levels

| Level | Purpose | Dependencies | Speed | |-------|---------|--------------|-------| | Query Validation | Elasticsearch/PromQL query accuracy | Data source | Fast | | Dashboard Accuracy | Visual matches source data | Full stack | Medium | | Alert Threshold | Trigger and notification testing | Alerting stack | Medium | | Pipeline Integrity | End-to-end metric flow | Full pipeline | Slower | | Performance | Dashboard render time, query latency | Full stack | Slower |

Critical Test Scenarios

| Scenario | Must Test | Example | |----------|----------|---------| | Data Accuracy | Dashboard = source truth | Order count on dashboard = DB count | | Alert Firing | Threshold triggers alert | Error rate > 5% fires PagerDuty | | Alert Recovery | Auto-resolve when recovered | Error rate drops below 5% clears alert | | Log Completeness | All services emit logs | 10 microservices, all logs in Kibana | | Trace Integrity | Full request path visible | Auth -> API -> DB -> Cache spans | | SLO Compliance | Error budget tracking | 99.9% availability over 30 days | | Time Accuracy | Timestamps aligned | Log timestamp matches event time |

Tools

  • **Dashboards**: Kibana, Grafana, Datadog, New Relic
  • **Search**: Elasticsearch, OpenSearch, Loki
  • **Metrics**: Prometheus, InfluxDB, CloudWatch
  • **Tracing**: Jaeger, Zipkin, Datadog APM, OpenTelemetry
  • **Alerting**: PagerDuty, OpsGenie, Alertmanager
  • **Synthetic**: Datadog Synthetics, Checkly, Playwright

Agent Coordination

  • `qe-integration-tester`: Validate data pipelines, query accuracy, log completeness
  • `qe-performance-tester`: Dashboard render performance, query latency
  • `qe-visual-tester`: Dashboard visual regression, layout accuracy

---

Dashboard Data Accuracy Validation

Compare Source Data to Dashboard

describe('Dashboard Data Accuracy', () => {
  it('order count on dashboard matches database', async () => {
    // Step 1: Get ground truth from source database
    const dbResult = await db.query(
      "SELECT COUNT(*) as count FROM orders WHERE created_at >= NOW() - INTERVAL '24 HOURS'"
    );
    const dbCount = parseInt(dbResult.rows[0].count);

    // Step 2: Query Elasticsearch (same data source as dashboard)
    const esResult = await esClient.search({
      index: 'orders-*',
      body: {
        query: {
          range: { created_at: { gte: 'now-24h' } }
        },
        size: 0,
        track_total_hits: true
      }
    });
    const esCount = esResult.hits.total.value;

    // Step 3: Compare
    expect(esCount).toBe(dbCount);
  });

  it('revenue metric on dashboard matches transaction totals', async () => {
    const dbRevenue = await db.query(
      "SELECT SUM(total) as revenue FROM orders WHERE status = 'COMPLETED' AND created_at >= NOW() - INTERVAL '24 HOURS'"
    );
    const expectedRevenue = parseFloat(dbRevenue.rows[0].revenue);

    const esResult = await esClient.search({
      index: 'orders-*',
      body: {
        query:
Read more
@proffesor-for-testing
Ships withagentic-qe

Quality engineering tools for your coding agent. Generate tests, investigate coverage gaps, analyze flaky behavior and coordinate quality checks across the software lifecycle. Keep the findings close to the code and use them to make a better quality decision.

534119 skills169 agents1 MCP
Get the whole plugin

Stars on GitHub

Momentum

stars in total
534
Star history of proffesor-for-testing/agentic-qe on GitHub, a chart by star-history.com

Other skills on agentic-qe.

More skills from other plugins.

api-review

api-review

Produce the "Playwright 1.xx API Review" artifact for a range of commits - the public API additions and the breaking or behavior…

@microsoft@microsoftInstall Skill
add-e2e-selectors

add-e2e-selectors

Add reliable @grafana/e2e-selectors to interactive elements and key containers in the Grafana frontend. Use when adding e2e…

grafana2w78k
@grafana@grafanaInstall Skill
promptfoo-evals

promptfoo-evals

Write, refine, run, and QA promptfoo evaluation suites: promptfooconfig.yaml, prompts, providers, vars, tests, assertions,…

@promptfoo@promptfooInstall Skill
deepeval

deepeval

DeepEval evaluation workflow for AI agents and LLM applications. TRIGGER when the user wants to evaluate or improve an AI agent,…

@confident-ai@confident-aiInstall Skill

Questions about observability-testing-patterns.

Which coding agents can use observability-testing-patterns?
observability-testing-patterns installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.