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.
Install
npx agentshq add wshobson/agents --agent prometheus-configurationSet 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 tracing