What is Prometheus
The following information is an excerpt of the Prometheus overview web site [Prometheus] distributed under the license CC BY 4.0:
Prometheus is an open-source systems monitoring and alerting toolkit originally built at SoundCloud. Since its inception in 2012, many companies and organizations have adopted Prometheus, and the project has a very active developer and user community. It is now a standalone open source project and maintained independently of any company. To emphasize this, and to clarify the project’s governance structure, Prometheus joined the Cloud Native Computing Foundation in 2016 as the second hosted project, after Kubernetes.
Prometheus’s main features are:
-
a multi-dimensional data model with time series data identified by metric name and key/value pairs
-
PromQL, a flexible query language to leverage this dimensionality
-
no reliance on distributed storage; single server nodes are autonomous
-
time series collection happens via a pull model over HTTP
-
pushing time series is supported via an intermediary gateway
-
targets are discovered via service discovery or static configuration
-
multiple modes of graphing and dashboarding support
The Prometheus ecosystem consists of multiple components, many of which are optional:
-
the main Prometheus server which scrapes and stores time series data
-
client libraries for instrumenting application code
-
a push gateway for supporting short-lived jobs
-
special-purpose exporters for services like HAProxy, StatsD, Graphite, etc.
-
an alertmanager to handle alerts
-
various support tools
Most Prometheus components are written in Go, making them easy to build and deploy as static binaries.