Skip to main content
⎈K8sCalc
observability

What is Prometheus?

An open-source metrics and alerting system. Prometheus scrapes metrics from Kubernetes components and applications, stores them in a time-series database (TSDB), and evaluates alert rules.

Prometheus explained

How it works. Prometheus scrapes metrics over HTTP from targets at a fixed interval and stores them as time series in its local TSDB. It evaluates recording and alerting rules and sends alerts to Alertmanager. Queries use PromQL.

In practice. On Kubernetes, the kube-prometheus-stack Helm chart installs Prometheus, Alertmanager, Grafana and exporters, with ServiceMonitor/PodMonitor resources to select targets. For long-term or multi-cluster storage, add Thanos, Mimir or a remote-write backend.

Common pitfalls.

  • ›High-cardinality labels (user IDs, full URLs) multiplying series and memory.
  • ›Retention sized by days without checking disk.
  • ›Alerts without runbooks, or alerting on causes instead of symptoms.

Related tool

K8s Cluster Cost

Calculate the monthly cost of running a self-managed Kubernetes cluster on Hetzner Cloud, Vultr, or DigitalOcean. Choose server types for control planes, workers, and load balancers with HA mode.

Related Calculators

Related Generators

Related Comparisons