Overview of Prometheus
Limited Time Offer!
For Less Than the Cost of a Starbucks Coffee, Access All DevOpsSchool Videos on YouTube Unlimitedly.
Master DevOps, SRE, DevSecOps Skills!
What is Time Series database?
A time series database is a software system that is optimized for storing and serving time series through associated pairs of time and value. In some fields, time series may be called profiles, curves, traces or trends.
Prometheus For Time Series Metrix
- Optimized for Time Series Data
- Built in service discovery
- Flexible Query Language
- Works in a Pull Model
- Uses HTTP and Plain text
- Stores Metrics in Memory and local disk
Components of Prometheus:
- Prometheus server :which scrapes and stores time series data
- Client libraries::for instrumenting application code
- Push gateway :for supporting short-lived jobs
- Exporters::for services like HAProxy, StatsD, Graphite, etc.
- Alert manager: to handle alerts
- various support tools
How Prometheus works?
Prometheus scrapes metrics from instrumented jobs, either directly or via an intermediary push gateway for short-lived jobs. It stores all scraped samples locally and runs rules over this data to either aggregate and record new time series from existing data or generate alerts.