P
AdvancedAll AIs

Set Up Application Monitoring and Observability

Designs a complete observability strategy following 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 an exhaustive response that misses nothing. The critical/informational alert distinction solves the alert fatigue problem. Requesting concrete configuration and instrumentation code transforms the strategy into an operational deliverable.

Use Cases

Setting up observability for a production applicationReducing MTTR during incidentsPreparing SLOs for a client commitment

Expected Output

An 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

📬 Get new prompts every week

Join our newsletter and never miss a prompt.