Prompt #116

Back to prompts
Observability Setup
DevOps Β· ollama/qwen2.5-coder:7b
5/5
Variables
service, platform
Tags
observability,monitoring,logging,devops
Source
research-2026-05-01
Use count
0
Created
2026-05-01T18:11:52.162090+00:00
Updated
2026-05-01T18:11:52.162090+00:00

Content

Design an observability setup for {{service}} deployed on {{platform}}.

Include:
## Metrics (Prometheus/OTel)
- Key metrics to instrument (latency p50/p95/p99, error_rate, throughput)
- Alerting rules (thresholds + severity)

## Logging (structured JSON)
- Required log fields
- Log levels by scenario
- Retention policy

## Tracing (OpenTelemetry)
- Spans to instrument
- Sampling strategy

## Dashboards (Grafana)
- 3-4 essential panels for on-call
- SLO dashboard structure (error budget burn rate)

Provide example configuration snippets for each section.