deploy_monitoring

Implements health checks, Prometheus metrics, alerting rules, and rollback strategies for deployed services.

Updated Jan 14, 2026
One-click install
npx skills add https://github.com/jvsandhu/agentic-skills --skill deploy-monitoring-jvsandhu
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: deploy_monitoring
Source: https://github.com/jvsandhu/agentic-skills/tree/main/skills/deploy_monitoring
Command: npx skills add https://github.com/jvsandhu/agentic-skills --skill deploy-monitoring-jvsandhu

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Deployed applications often lack proper observability, making it hard to detect failures, measure reliability against SLOs, and recover quickly from bad releases. ## Core Features & Use Cases - Health Checks: Implements /health (liveness) and /ready (readiness) endpoints for Kubernetes-style probes. - Metrics & Alerting: Exports Prometheus histograms and defines alert rules such as HighErrorRate with severity labels. - Rollback Strategies: Provides rollback commands for Kubernetes (kubectl rollout undo) and Vercel deployments. - Use Case: After shipping a new microservice, use this Skill to instrument SLIs, configure PagerDuty alerts for P0 errors, and set up automated rollback when the error budget is exhausted. ## Quick Start Set up health check endpoints, Prometheus metrics, and alert rules for my Node.js API deployed on Kubernetes.

Frequently Asked Questions about deploy_monitoring

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

FAQPage Schema
How do I add health check endpoints to a Node.js app?

Add a /health endpoint returning status and version for liveness, and a /ready endpoint that verifies dependencies like database connectivity before reporting readiness. Kubernetes uses these for liveness and readiness probes.

How to set up Prometheus metrics for HTTP requests?

Define a Histogram metric such as http_request_duration_seconds with labels for method, route, and status. Record each request's duration so you can compute latency SLIs and error rates in Grafana dashboards.

How do I write a Prometheus alert rule for high error rates?

Create an alert using an expression like rate(http_requests_total{status=~"5.."}[5m]) > 0.05 with a 5-minute duration and a critical severity label. Route critical alerts to PagerDuty and informational ones to Slack.

How do I rollback a Kubernetes deployment?

Run kubectl rollout undo deployment/app to revert to the previous stable revision. For Vercel-hosted apps, use vercel rollback to restore the prior deployment.

What is an error budget in SRE monitoring?

An error budget quantifies how much unreliability your SLO permits, such as allowed downtime or failed requests. When the budget is nearly exhausted, deployments should pause until reliability recovers.