image

image

Architecture

image

image

Client libraries help in pulling metrics from the applications and send it to the Prometheus Server as direct instrumentation.

Exporters

image

Exporter - A Prometheus exporter is any application that exposes metric data in a format that can be collected (or “scraped”) by the Prometheus server.

For example, Node Exporter runs on a Linux machine and collects a variety of system metrics. It then exposes them to Prometheus.

image

By default these converted metrics are exposed by the exporter on /metrics path(HTTPS endpoint) of the target.

image

image

Data Model

image

image

The system collects data samples over time, each of which is a tuple of an UNIX epoch and a float64 value.

(timestamp1, value1), (timestamp2, value2), ...

image

image

image

Ref: https://training.promlabs.com/training/introduction-to-prometheus/prometheus-an-overview/time-series-data-model/