Notre avis
Conçoit des stratégies de surveillance complètes incluant tableaux de bord, règles d'alerte, SLO et budgets d'erreur pour transformer des métriques brutes en informations opérationnelles exploitables.
Points forts
- Approche structurée avec procédure claire en quatre étapes (SLO, tableaux de bord, alertes, exploitation)
- Couverture complète des bonnes pratiques (méthodes USE/RED, alertes sur symptômes, budgets d'erreur)
- Qualité explicite avec critères et anti-patrons documentés
- Intègre des aspects opérationnels (revues trimestrielles, post-mortems, réduction du bruit d'alerte)
Limites
- Nécessite une bonne comprévation préalable des concepts SLO/SLI et des outils de monitoring
- Les prompts génériques peuvent produire des résultats trop théoriques sans adaptation au contexte spécifique
- Ne fournit pas de code ou de configuration pour un outil de monitoring particulier (Prometheus, Datadog, etc.)
Idéal pour concevoir une observabilité de bout en bout pour un système de production, notamment lors de la mise en place initiale ou d'une révision majeure.
À éviter si vous cherchez des configurations prêtes à l'emploi pour un outil spécifique ou si le système est très simple (une seule instance, sans utilisateurs critiques).
Analyse de sécurité
PrudenceThe skill itself is a planning guide without destructive commands, but it authorizes use of Bash, which could be powerful. This is a legitimate use case, but requires caution.
- •Allowed tools include Bash and Agent, which could be used for system configuration changes if not carefully supervised.
Exemples
Set up monitoring for my e-commerce platform. Define SLOs for the checkout service, create dashboards for latency and error rates, and configure alerting rules with proper severity levels. Include error budget calculation and an exhaustion policy.Design a monitoring dashboard layout for a microservices application. I need a system overview dashboard, a business metrics dashboard, an infrastructure dashboard, and a deployment dashboard. Follow the RED method for services and USE method for infrastructure.name: monitoring-setup author: JM Labs (Javier Montaño) description: > Designs monitoring dashboards, alerting rules, SLOs, and error budgets for production systems. Trigger: "monitoring setup", "dashboards", "alerts", "SLOs", "error budgets", "observability". allowed-tools:
- Read
- Glob
- Grep
- Bash
- Agent
Monitoring Setup
Designs comprehensive monitoring strategies including dashboards, alerting rules, SLO definitions, and error budgets — turning raw metrics into actionable operational intelligence.
Guiding Principle
"You cannot improve what you do not measure, and you should not alert on what you cannot act upon."
Procedure
Step 1 — Define Service Level Objectives
- Identify critical user journeys and the services that support them.
- Define SLIs (Service Level Indicators): latency, error rate, throughput, availability.
- Set SLO targets: e.g., "99.9% of requests complete in under 300ms over a 30-day window."
- Calculate error budgets: (1 - SLO) * total requests = allowable failures.
- Define error budget policies: what happens when the budget is exhausted (feature freeze, reliability sprint).
Step 2 — Design Dashboards
- System Overview Dashboard: Service health, request rate, error rate, latency percentiles (p50, p95, p99).
- Business Metrics Dashboard: Revenue-impacting metrics, conversion rates, feature adoption.
- Infrastructure Dashboard: CPU, memory, disk, network, pod count, node health.
- Deployment Dashboard: Deploy frequency, rollback count, change failure rate, lead time.
- Follow the USE method (Utilization, Saturation, Errors) for infrastructure and RED method (Rate, Errors, Duration) for services.
Step 3 — Configure Alerting Rules
- Alert on symptoms (error rate, latency) not causes (CPU, memory) — unless causes predict imminent failure.
- Define severity levels: PAGE (wake someone up), TICKET (fix in business hours), LOG (informational).
- Set appropriate thresholds with burn-rate alerts (fast burn vs. slow burn against error budget).
- Configure alert routing: on-call rotation, escalation paths, notification channels.
- Include runbook links in every alert so responders know what to do.
Step 4 — Operationalize and Iterate
- Establish on-call rotation with clear responsibilities and escalation.
- Schedule quarterly SLO reviews to adjust targets based on data.
- Track alert noise: if an alert fires and requires no action, it should be tuned or removed.
- Conduct post-incident reviews that feed back into monitoring improvements.
- Document all dashboards, alerts, and SLOs in an operational catalog.
Quality Criteria
- Every SLO has a corresponding SLI, dashboard panel, and alert.
- Alerts include runbook links and are classified by severity.
- Error budgets are tracked and have defined exhaustion policies.
- Dashboard load time is under 5 seconds with 30 days of data.
Anti-Patterns
- Alerting on every metric without considering actionability (alert fatigue).
- Setting SLOs at 100% (impossible and prevents all change).
- Dashboards with 50 panels that no one reads.
- Monitoring infrastructure but not user experience.
Architecte Docker Compose
DevOps
Concoit des configurations Docker Compose optimisees.
Rapport de Post-Mortem
DevOps
Rédige des rapports post-mortem d'incidents structurés et blameless.
Créateur de Runbooks
DevOps
Crée des runbooks opérationnels clairs pour les procédures DevOps courantes.