P
AdvancedAll AIs

Configure monitoring and observability for an application

Design a comprehensive observability strategy based on the 3 pillars (logs, metrics, tracing) with configuration, OpenTelemetry instrumentation, alerts and dashboards.

Paste in your AI

Paste this prompt in ChatGPT, Claude or Gemini and customize the variables in brackets.

Tu es un expert SRE (Site Reliability Engineering). Aide-moi à mettre en place une stratégie d'observabilité complète.

**Type d'application :** [TYPE_APP]
**Stack actuelle :** [STACK_TECH]
**Environnement de déploiement :** [ENV_DEPLOIEMENT] (ex: Kubernetes, VPS, serverless)
**Budget outils :** [BUDGET_OUTILS] (open-source uniquement, ou solutions cloud managées)

**Problèmes actuels de visibilité :** [PROBLEMES_VISIBILITE]

Conçois la stratégie selon les 3 piliers de l'observabilité :

**1. Logs**
- Format recommandé (structuré JSON, niveaux)
- Agrégation et centralisation
- Politique de rétention

**2. Métriques**
- Métriques RED (Rate, Errors, Duration) par service
- Métriques système (CPU, mémoire, I/O)
- Stack recommandée (Prometheus/Grafana ou alternative)

**3. Tracing distribué**
- Instrumentation du code (OpenTelemetry)
- Corrélation logs/métriques/traces

**4. Alertes**
- Alertes critiques vs informatives
- SLOs et error budgets

**5. Dashboards**
- Tableau de bord opérationnel clé

Fournis la configuration et le code d'instrumentation pour [TYPE_APP].

Why this prompt works

The 3 pillars of observability structure a comprehensive response and ensure nothing is forgotten. The distinction between critical/informational alerts solves the alert fatigue problem. The request for concrete configuration and instrumentation code transforms the strategy into an operational deliverable.

Use Cases

Implement observability for a production applicationReduce MTTR during incidentsPrepare SLOs for client engagement

Expected Output

Observability strategy in 5 sections (logs, metrics, tracing, alerts, dashboards), recommended configuration and OpenTelemetry instrumentation code.

Learn more

Check the full skill on Prompt Guide to master this technique from A to Z.

View on Prompt Guide