name: prometheus-configuration
description: 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 details.md. Read that file when the navigation tier above is insufficient.
Check scrape targets:
curl http://localhost:9090/api/v1/targetsCheck configuration:
curl http://localhost:9090/api/v1/status/configTest query:
curl 'http://localhost:9090/api/v1/query?query=up'grafana-dashboards - For visualizationslo-implementation - For SLO monitoringdistributed-tracing - For request tracing