TechnologyMonitoring system

Prometheus

Open-source monitoring and alerting system that scrapes metrics from services and stores them as labeled time series for querying and alerts.

Prometheus is an open-source monitoring and alerting system that collects numeric measurements over time and stores them as time series. Each series is identified by a metric name and a set of key-value labels, such as the service, instance or HTTP status code it describes. Prometheus pulls data by periodically scraping HTTP endpoints that expose metrics in a simple text format, evaluates rules against the stored data and sends alerts through a companion component called Alertmanager.

Development began at SoundCloud in 2012, with engineers drawing inspiration from Borgmon, a monitoring system used inside Google. The project was announced publicly in 2015 and in 2016 became the second project accepted by the Cloud Native Computing Foundation, after Kubernetes. Its query language, PromQL, lets users compute rates, aggregates and percentiles across labels. Small programs called exporters translate metrics from systems that do not natively support Prometheus, such as operating systems, databases and network devices, and service discovery finds targets automatically in dynamic environments.

In container and Kubernetes deployments, where short-lived workloads make static monitoring configuration impractical, Prometheus became a standard part of observability. It is commonly paired with Grafana for dashboards. Its design favors the reliability of a single server over long-term durable storage, so large installations often add remote storage systems for retention and global queries. Metrics complement logs and traces rather than replacing them, and teams practicing site reliability engineering use Prometheus alerts to track service health against agreed objectives.

Key points

  • Prometheus scrapes metrics over HTTP and stores them as labeled time series.
  • PromQL queries compute rates, aggregations and alert conditions across many monitored targets.
  • Exporters expose metrics from systems that lack native Prometheus support.
  • It was the second project to join the Cloud Native Computing Foundation, in 2016.

Related entries

Technology

Grafana

DevOpsFOSS

Open-source dashboard and visualization platform that queries metrics, logs and traces from many data sources and displays them as interactive panels.

Glossary term

Degree to which a system's internal state can be inferred from its outputs, and the practices and tools that make software systems understandable.

Technology

Kubernetes

DevOpsFOSS

Open-source system for automating deployment, scaling and management of containerized applications across clusters of machines.

Glossary term

Discipline that applies software engineering to IT operations, using automation and measurable reliability targets to run large-scale systems.

Glossary term

Target value for a measured aspect of a service's performance, such as availability or latency, that a team commits to meeting over a set period.

Organization

Linux Foundation organization that hosts Kubernetes and other cloud native open-source projects and promotes their adoption.

Glossary term

DevOps

DevOpsIdeas and Culture

Set of cultural practices and tools that unites software development and IT operations to deliver changes faster and more reliably.

Featured in guides