Observability Stack Setup
Set up comprehensive observability with logging, metrics, and tracing
Set up an observability stack for: **Application:** [APP_DESCRIPTION] **Stack:** [TECH_STACK] **Budget:** [BUDGET — e.g., "open-source only", "up to $100/mo", "enterprise tools OK"] Generate: 1. **Structured logging** — JSON log format with correlation IDs, request context 2. **Metrics collection** — key metrics for each service (latency, error rate, saturation) 3. **Distributed tracing** — trace requests across service boundaries 4. **Dashboard templates** — Grafana/Datadog dashboards for the key metrics 5. **Alerting rules** — what to alert on, thresholds, and escalation policy 6. **Log aggregation** — centralized log search and filtering 7. **Implementation** — middleware/library code to instrument the application Include the instrumentation code, dashboard JSON, and alert configurations.
How to Use This Prompt
- 1Copy the prompt template above
- 2Paste into Claude, ChatGPT, or Cursor
- 3Replace [bracketed placeholders] with your specific project details
- 4Iterate on the AI output to refine and customize the results
More DevOps Prompts
Related devops templates from the vault
Kubernetes Pod Autoscaling Config
Use this prompt to kubernetes pod autoscaling config with AI assistance
GitOps Disaster Recovery Playbook
PROCreate a complete disaster recovery playbook for a GitOps-managed infrastructure with RTO and RPO targets
Terraform Infrastructure Module
Use this prompt to terraform infrastructure module with AI assistance
Environment Variable Setup Guide
Set up environment variables properly across development, staging, and production
You Might Also Like
Prompts from other categories that share similar tags
API Request/Response Logging
Use this prompt to api request/response logging with AI assistance
Health Check Endpoint Suite
Use this prompt to health check endpoint suite with AI assistance
Cron Job Scheduler with Monitoring
Use this prompt to cron job scheduler with monitoring with AI assistance
Runbook Generator for Operations
Create operational runbooks for common maintenance and incident tasks
Keep Exploring the Vault