Monitoring observability

From cosmicstack-labs/mercury-agent-skills · View interactive version

Monitoring observability is an AI agent skill from the GitHub repository cosmicstack-labs/mercury-agent-skills. Prometheus, Grafana, ELK/Loki, Jaeger, metrics, logging, tracing, and alerting

How to use this skill

Skill file

Monitoring & Observability

Build comprehensive observability for your systems.

The Three Pillars

1. Metrics (Prometheus)

# Instrument your app
http_requests_total{method="GET", endpoint="/api/users", status="200"} 1024
http_request_duration_seconds{quantile="0.95"} 0.235

2. Logging (Loki / ELK)

3. Tracing (Jaeger / Tempo)

Alerting (Alertmanager)

Alert Severity

| Severity | Response Time | Channel |

|----------|--------------|---------|

| Critical | Immediately | PagerDuty + SMS |

| Warning | 1 hour | Slack + Email |

| Info | Next day | Dashboard |

Golden Signals (Google SRE)

  1. Latency: Time to respond
  2. Traffic: Requests per second
  3. Errors: Error rate (5xx, exceptions)
  4. Saturation: Resource utilization

Dashboard Design (Grafana)

Rules

Best Practices

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.