DELAPARRA
Index
Color
NL
Category: Observability

Prometheus

Explained by Updated

What is Prometheus?

Prometheus: The de-facto open-source metrics database. Pulls (scrapes) metrics from targets and stores time series; queried with PromQL. Prometheus is the most widely used open-source system for metrics. It regularly pulls, or scrapes, numbers from your applications and servers over HTTP, stores them as time series and lets you query them with PromQL.

Definition source Coders Lingo, CC BY 4.0

Frequently asked questions about Prometheus

How is Prometheus used in practice?

Applications expose metrics on an endpoint like /metrics, and exporters do the same for databases, servers and other software that cannot expose them itself. Alertmanager sends notifications when rules are met, and Grafana usually provides the dashboards.

What should you keep in mind with Prometheus?

It is the default choice in Kubernetes environments, where it discovers targets automatically. Keep label cardinality under control, because every unique label combination is a separate series and too many slow it down. For long-term storage across many clusters, tools like Thanos or Grafana Mimir extend it.

What does an example of Prometheus look like?

scrape_configs: - job_name: api static_configs: - targets: ["api:9090"]

At a glance

CategoryObservability
Explained by
Updated

More Observability terms

All terms starting with P

Skills

Download all skills (zip)

Manuals

Related services

Need any help?

Stuck on one of these in your own project? Tell me what you are working on and I will tell you how I would approach it.