Skip to main content
Account

Prometheus

Master Prometheus setup, metrics, alerting, and PromQL with hands-on tutorials for reliable Kubernetes and cloud-native monitoring.

Status
Stable
Category
Observability and Analysis
Subcategory
Observability
License
Apache-2.0
Technology matrix Adopt Production ready See the matrix

Prometheus is a pull-based metrics monitoring system and time-series database originally built at SoundCloud in 2012, inspired by Google’s Borgmon. It was the second project to join the CNCF after Kubernetes and graduated in 2018. It is the de facto standard for metrics collection in Kubernetes environments.

A Prometheus server scrapes HTTP endpoints at a configurable interval, parses the text-based exposition format (or OpenMetrics), and stores samples in a local TSDB organized into two-hour blocks on disk with a write-ahead log for durability. Each series is uniquely identified by a metric name and a set of key-value labels, which gives the data model its high dimensionality. Targets are discovered dynamically through service discovery for Kubernetes, Consul, EC2, GCE, Azure, DNS, and file-based configs. Instrumented applications expose metrics through client libraries (Go, Java, Python, Rust, etc.), and unmodified systems are covered by exporters like node_exporter, blackbox_exporter, and kube-state-metrics.

Queries are written in PromQL, a functional language with range vectors, instant vectors, and operators for aggregation, rate calculation, histograms, and joins across label sets. Alerting rules evaluate PromQL expressions and send fired alerts to Alertmanager, which handles grouping, inhibition, silencing, and routing to PagerDuty, OpsGenie, Slack, email, and webhooks. For long-term storage and horizontal scaling, Prometheus exposes a remote_write API consumed by Thanos, Cortex, Mimir, VictoriaMetrics, and M3DB.

Prometheus recordings

27 recordings, newest first

51 min

Flatcar Linux: A Modern OS for the Always-On Infrastructure

59 min

Hands-on with Headlamp: The Kubernetes UI

1h 11m

Hands-on Introduction to Perses

16 min

Build a Production-Ready Kubernetes Cluster with Spectro Cloud Palette

48 min

Observability for Developers: What You Need to Know?

10 min

Dynamic Scrape Targets

54 min

Hands-on Introduction to KRR (Kubernetes Resource Recommendations)

13 min

Sentry, Prometheus, & Grafana Integrations

14 min

Monitoring Your Security Posture with Prometheus

1h 18m

Monitoring Kubernetes with Prometheus & Robusta

1h 7m

Acing the DevOps Interview

59 min

Hands-on Introduction to Lens

1h 27m

Hands-on with Litmus 2.0

1h 14m

Hands-on Introduction to Promscale

1h 33m

Hands-on Introduction to Loki

47 min

Hands-on with Policy Reporter

1h 29m

Hands-on Introduction to Litmus Chaos

1h 16m

Monitoring & Scaling Laravel on Kubernetes (Part II)

1h 56m

Monitoring & Scaling Laravel on Kubernetes

1h 22m

Hands-on Introduction to Keptn (Part II)

1h 42m

Hands-on Autoscaling with Kubernetes

1h 50m

Hands-on Introduction to Keptn (Part I)

1h 28m

Hands-on Introduction to Thanos

1h 9m

Hands-on Introduction to Cortex

1h 11m

Hands-on Introduction to Linkerd

1h

Hands-on Introduction to Grafana

1h 28m

Hands-on Introduction to Prometheus, PromQL, & PromLens

Prometheus learning paths

Recent Prometheus news

Observability

Email signup loads here. You can also manage email preferences in account settings.

Build Prometheus? I'll show you where engineers get stuck with it → Back free content for the community →