monitoring-observability
Monitoring und Observability einrichten
Dieses Skill hilft Entwicklern und DevOps-Ingenieuren, umfassende Monitoring-, Logging- und Alerting-Systeme mit branchenüblichen Tools wie Prometheus und Grafana zu implementieren.
Télécharger le ZIP du skill
Importer dans Claude
Allez dans Paramètres → Capacités → Skills → Importer un skill
Activez et commencez à utiliser
Tester
Utilisation de "monitoring-observability". Set up Prometheus metrics for my Express app
Résultat attendu:
Metrics endpoint configuration with custom histogram for request duration, counter for total requests, and default system metrics.
Utilisation de "monitoring-observability". Create alerts for high error rate
Résultat attendu:
Prometheus alert rule with 5-minute evaluation, 5% threshold for 5xx errors, critical severity label.
Audit de sécurité
SûrThis is a documentation skill containing example code for monitoring systems. All static findings are false positives: the detected patterns are legitimate code examples (TypeScript, YAML), standard Node.js environment variable usage for configuration, documentation links to known monitoring tools, and Prometheus query syntax. No actual security risks present.
Motifs détectés
Score de qualité
Ce que vous pouvez construire
Production-Monitoring-Einrichtung
Umfassendes Monitoring vor der Bereitstellung von Anwendungen in die Produktion einrichten
Incident-Response-Bereitschaft
Alerting-Regeln und Dashboards für schnelle Root-Cause-Identifizierung während Incidents erstellen
Performance-Optimierung
Performance-Engpässe durch Metrikerfassung und Visualisierung identifizieren
Essayez ces prompts
Set up Prometheus metrics collection for my Node.js Express application. Include default metrics and a custom histogram for HTTP request duration.
Create Prometheus alert rules for high error rate (5xx errors above 5%), slow response time (p95 above 1 second), and service downtime.
Implement Winston logger with JSON format, timestamp, and error stack traces for my Node.js application.
Create a /health endpoint that checks database connectivity, Redis availability, and returns overall service status.
Bonnes pratiques
- Definieren Sie klare Service Level Objectives (SLOs), bevor Sie Alerts einrichten, um Alert-Fatigue zu vermeiden
- Verwenden Sie High-Cardinality-Labels sorgfältig, um Performance-Probleme in Prometheus zu vermeiden
- Schreiben Sie Runbooks für jeden Alert, um schnelle Incident-Response zu ermöglichen
Éviter
- Protokollieren Sie keine sensiblen Daten wie Passwörter, API-Schlüssel oder personenbezogene Daten
- Erstellen Sie nicht zu viele Alerts, was zu Alert-Fatigue und ignorierten Benachrichtigungen führt
- Verwenden Sie keine High-Cardinality-Labels wie Benutzer-IDs oder Session-Tokens in Metriken
Foire aux questions
Was ist der Unterschied zwischen Metriken und Logs?
Was sind Golden Signals im Monitoring?
Wie verhindere ich Alert-Fatigue?
Was ist das Prometheus Pull-Modell?
Wie überwache ich benutzerdefinierte Business-Metriken?
Was sollte in einem Health-Check enthalten sein?
Détails du développeur
Auteur
supercent-ioLicence
MIT
Dépôt
https://github.com/supercent-io/skills-template/tree/main/.agent-skills/monitoring-observability/Réf
main
Structure de fichiers
📄 SKILL.md