intermediateMonitoring: Logs, Metrics, Prometheus & Grafana

What role does Grafana play relative to Prometheus?

Grafana is a visualization and alerting layer, not a metrics store itself. It connects to Prometheus (or other data sources) as a backend, executes PromQL queries to populate dashboard panels, and can evaluate threshold-based alerting rules that trigger notifications to channels like Slack or PagerDuty.

Ready to master this question?

Generate a complete walkthrough — background, the full answer in plain language, a working code example explained line by line, a real-world scenario, common mistakes, and how this same question gets asked in different ways.

Sign in to generate a response

Next Step

Continue to What is cAdvisor and what does it add on top of application-level metrics?← Back to all Docker questions