
- Born at SoundCloud in 2012 to solve monitoring for dynamic, containerized architectures.
- Influenced by Google’s Borgmon: a dimensional metrics model where each metric has key/value labels.
- Uses PromQL (Prometheus Query Language) to query time series data.

- Designed for dynamic, ephemeral workloads (pods come and go).
- Works equally well for processes on VMs, containers outside Kubernetes, or static targets.
/metrics). Prometheus polls (scrapes) these endpoints on a schedule defined in its configuration. Scrape jobs group related targets (for example, replicas behind a service).
Simple static scrape config:
Prometheus is primarily pull-based: it scrapes HTTP endpoints. For short-lived processes that can’t be scraped, consider the Pushgateway (https://prometheus.io/docs/practices/pushing/) — but use it sparingly, since pushing changes metric semantics and can introduce lifecycle complexity.
- Started in 2014 as a fork of Kibana; evolved into a powerful, data-source-agnostic visualization platform.
- Connects to many backends: Prometheus, Elasticsearch, InfluxDB, CloudWatch, and more.
- Grafana Labs maintains open-source Grafana and provides commercial offerings (Grafana Cloud, enterprise features).

- Prometheus: efficient time-series collection, dimensional labels, PromQL.
- Grafana: flexible dashboards, templating, alerting integrations, multi-datasource views.
- Together they form a widely adopted OSS monitoring stack that gives you control over retention, cost, and scaling — at the expense of managing the infrastructure yourself.
Observability pipeline (summary)
- Applications/exporters expose Prometheus-format metrics at HTTP endpoints.
- Prometheus scrapes those endpoints, timestamps samples, and stores them in its TSDB.
- Grafana connects to Prometheus as a data source and visualizes metrics in dashboards.
- Start by instrumenting key endpoints and services with Prometheus-style metrics (use labels consistently).
- Use Kubernetes service discovery for scraping in cluster deployments.
- Prototype dashboards in Grafana focusing on your four golden signals and SLO-backed alerts.
- Decide early whether to self-manage retention/scale or use hosted options (e.g., Grafana Cloud) to simplify operations.
- Prometheus: https://prometheus.io
- PromQL basics: https://prometheus.io/docs/prometheus/latest/querying/basics/
- Grafana: https://grafana.com
- Prometheus push practices (Pushgateway): https://prometheus.io/docs/practices/pushing/