Prometheus

Prometheus logo

About

Prometheus is an open-source systems monitoring and alerting toolkit for collecting metrics data from applications and infrastructures. CrateDB can be used as a long-term storage for Prometheus metrics.

Details

Prometheus collects and stores its metrics as time series data, i.e. metrics information is stored with the timestamp at which it was recorded, alongside optional key-value pairs called labels.

Features

Prometheus’s main features are:

  • a multidimensional 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

Prometheus architecture overview

Remote Endpoints and Storage

The Prometheus remote endpoints and storage subsystem, based on its remote write and remote read features, allows to transparently send and receive metric samples. It is primarily intended for long-term storage.

This is where CrateDB comes into place: The CrateDB Prometheus Adapter stores collected metrics data into CrateDB and takes advantage of its high ingestion and query speed to massively scale-out Prometheus.

Learn

Store Prometheus long-term metrics into CrateDB

Set up CrateDB as a long-term metrics store for Prometheus using Docker Compose.

Store Prometheus long-term metrics into CrateDB

Webinars

  CrateDB as Prometheus Long-Term Storage

Learn how to start Prometheus, CrateDB, and the CrateDB Prometheus Adapter with Docker Compose, and how to configure Prometheus to use CrateDB as remote storage.

This webinar accompanies the “Storing long-term metrics with Prometheus in CrateDB” usage guide.

Prometheus with CrateDB: Long-Term Metrics Storage

See also

Tutorial: Monitoring CrateDB with Prometheus and Grafana

Production-grade monitoring and graphing of CrateDB metrics.

Monitoring a CrateDB cluster with Prometheus and Grafana