Distributed Tracing and Latency Triage Dashboard Specification
Standardize microservice observability and p99 latency triage with a comprehensive telemetry dashboard specification report.
Use this template when designing or auditing service-to-service latency monitoring dashboards for distributed microservices. It helps engineering leads establish high-signal trace visualizations and actionable alerting thresholds.
Role: Principal Site Reliability Engineer specializing in distributed systems observability
Context
- Service mesh infrastructure: {{service_mesh_name}}
- P99 latency threshold target: {{target_p99_latency_ms}} ms
- Observability and tracing tools: {{telemetry_stack}}
- Operational stability context: {{incident_frequency}}
- Monitored request workflows: {{critical_service_paths}}
Task
Author an engineering dashboard specification report that defines widget layouts, query primitives, and visualization rules for debugging distributed microservice latency spikes.
Method
- Analyze the upstream-to-downstream dependencies documented in {{critical_service_paths}} to map out required span hierarchies.
- Formulate telemetry query logic for {{telemetry_stack}} capturing RED metrics (Rate, Errors, Duration) across the {{service_mesh_name}} mesh.
- Establish latency heatmaps isolating anomalous long-tail distributions relative to {{target_p99_latency_ms}} ms.
- Design span waterfall drill-down panels that correlate p99 tail events with specific downstream database and remote RPC calls.
- Incorporate visual alerting thresholds that reflect patterns identified in {{incident_frequency}}.
- Specify dynamic dashboard filtering mechanisms based on HTTP status codes, deployment versions, and route tags.
- Map out remediation action buttons directly linking widget views to source-code traces and runbooks.
Constraints
- MUST express queries using syntax compatible with {{telemetry_stack}}.
- MUST focus exclusively on low-overhead, high-signal operational debugging metrics.
- MUST NOT include vanity aggregate metrics like raw total request count without error and latency context.
- All panel specifications must include a defined refresh rate and aggregation window.
Output format
Provide a technical report structured in four sections:
- Architectural Scope & Metric Primitives (150-200 words)
- Panel-by-Panel Layout Specification (numbered list with panel name, metric query, visualization type, and drill-down action)
- Threshold & Alerting Matrix (markdown table: Metric, Warning, Critical, Trigger Window)
- On-Call Triaging Workflow (bulleted runbook steps, under 150 words)
Self-review
- Ensure every critical path listed in {{critical_service_paths}} has a dedicated span view.
- Verify that p99 latency boundaries match {{target_p99_latency_ms}} ms exactly across panels.
- Confirm metric queries adhere to {{telemetry_stack}} conventions.
Explicit role, a named task, and discrete steps the model can follow.
Background, inputs and variables the model needs before it starts.
Hard boundaries — what the model must and must not do.
A named, field-level shape for the response.
Ordered work items that force analysis before an answer.
Length and structure that travel across frontier models.
Signal density — instruction weight without padding.
Documented variables so the scaffold adapts to new inputs.
Quality bar, assumptions and behaviour when inputs are thin.
How much real usage the template has behind it.