setup-monitoring

Define metrics, thresholds, alerts, and dashboard panels for service monitoring.

28|3|Updated Mar 7, 2026
One-click install
npx skills add https://github.com/girijashankarj/cursor-handbook --skill setup-monitoring-girijashankarj
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: setup-monitoring
Source: https://github.com/girijashankarj/cursor-handbook/tree/main/.cursor/skills/devops/setup-monitoring
Command: npx skills add https://github.com/girijashankarj/cursor-handbook --skill setup-monitoring-girijashankarj

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Guide for setting up or extending monitoring (metrics, logs, alerts) for a service. Use when the user asks to set up monitoring or add alerts.

Core Features & Use Cases

  • Scope — Identify what to monitor (API latency, errors, DB, queue depth) and where (cloud provider, vendor).
  • Metrics — Define 3–5 key metrics (e.g. request rate, error rate, p99 latency); use structured logging with correlationId.
  • Alerts — Propose thresholds (e.g. error rate > 1%, p99 > 2s) and severity; document in runbook.
  • Dashboard — List panels to add (time series, status); use placeholders for dashboard URLs.
  • Logs — Remind: no PII or secrets; JSON format; include correlationId per project rules.

Quick Start

Configure a basic monitoring setup for your service by defining key metrics, thresholds, and a sample dashboard.

Frequently Asked Questions about setup-monitoring

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I set up monitoring and alerts for a service?

Set up monitoring by identifying service needs like API latency, errors, and database performance. Define 3–5 key metrics, establish alert thresholds, create dashboard panels, and configure structured logging with correlation IDs.

What metrics should I monitor for API latency and errors?

Monitor API latency and errors by tracking request rate, error rate, and p99 latency. Establish thresholds such as error rate above 1% or p99 latency over 2 seconds to trigger alerts and document them in a runbook.

How do I configure structured logs with correlation IDs?

Configure structured logs in JSON format, ensuring you include a correlation ID for each request while strictly avoiding PII or secrets. This enables effective traceability across distributed service components.

What should be included in a service monitoring dashboard?

A service monitoring dashboard should include time series and status panels visualizing your key metrics. Use placeholders for dashboard URLs to track API latency, errors, database performance, and queue depth.

Can I use this monitoring setup across different cloud providers?

Yes, you can scope monitoring configurations across various cloud providers and environments. The setup identifies what to monitor, such as API latency and queue depth, and adapts the metrics and alerts accordingly.

When do I need to define alert thresholds for service observability?

Define alert thresholds for service observability when setting up initial monitoring or extending existing alerts. Propose severity levels and document responses in a runbook to address error rate spikes and latency variations.