Set up Prometheus for comprehensive metric collection, storage, and monitoring of infrastructure and applications. Use when implementing metrics collection, setting up monitoring infrastructure, or configuring alerting systems.
Complete guide to Prometheus setup, metric collection, scrape configuration, and recording rules.
Configure Prometheus for comprehensive metric collection, alerting, and monitoring of infrastructure and applications.
Detailed pattern documentation lives in references/details.md. Read that file when the navigation tier above is insufficient.
Check scrape targets:
curl http://localhost:9090/api/v1/targets
Check configuration:
curl http://localhost:9090/api/v1/status/config
Test query:
curl 'http://localhost:9090/api/v1/query?query=up'
grafana-dashboards - For visualizationslo-implementation - For SLO monitoringdistributed-tracing - For request tracingCopy a source-pinned command for your client. You run it yourself.
Destination: .claude/skills/prometheus-configuration · pinned to the source commit
# Run from your project root
git clone https://github.com/wshobson/agents.git .skillboard-tmp
git -C .skillboard-tmp checkout 38e19c20d2b154510b0e624a2e3e186b19b5c527
mkdir -p ".claude/skills"
cp -r ".skillboard-tmp/plugins/observability-monitoring/skills/prometheus-configuration" ".claude/skills/"
rm -rf .skillboard-tmpReview the source before running. This copies files into your project; it is not a one-click install and does not verify runtime safety.
sudo apt update && sudo apt install -y gitnpm install -g @anthropic-ai/claude-code# Run from your project root
git clone https://github.com/wshobson/agents.git .skillboard-tmp
git -C .skillboard-tmp checkout 38e19c20d2b154510b0e624a2e3e186b19b5c527
mkdir -p ".claude/skills"
cp -r ".skillboard-tmp/plugins/observability-monitoring/skills/prometheus-configuration" ".claude/skills/"
rm -rf .skillboard-tmpDestination: .claude/skills/prometheus-configuration
Scanner static-checks@0.1.0 · commit 38e19c20d2b1. Static checks cannot prove runtime safety – review the source and the exact diff before installing. How checks work.
Fetches remote content at runtime, which can change after review.
Evidence: curl· fingerprint 427e4b79b1f0fc90