RousselTMLEARNING

Observabilité · Courses

Prometheus: From Discovery to Expertise

Learn to set up a powerful monitoring and alerting system with Prometheus, from collecting metrics with exporters to writing complex PromQL queries.

8 chapters20 lessonsEN
At your pace, through practice.

LEARNING PATH

Course curriculum

0Course overview2 lessons
1Introduction2 lessons
2Exporters7 lessons
3Pushgateway4 lessons
4Prometheus server5 lessons
5Notification - Alertmanager0 lessons
6Visualization0 lessons
7Prometheus in the Kubernetes world0 lessons

LEARN BY DOING

Use cases & applications

Cloud infrastructure monitoring

Collect hardware and system metrics with Node Exporter to closely monitor CPU, RAM, disk, and network usage on Linux servers.

Containerized application monitoring

Native integration with Kubernetes and cAdvisor to track container health.

Proactive alerting

Trigger alerts via Alertmanager when an application's latency (95th percentile) exceeds a defined threshold.

Performance analysis and visualization

Build interactive dashboards in Grafana using PromQL.

Measuring ephemeral jobs

Use Pushgateway to collect metrics from batch scripts.

Custom instrumentation

Build custom exporters to surface specific business metrics.

Frequently asked questions

What is Prometheus?

An open-source monitoring and alerting system specialized in time series data.

What's its basic architecture?

It uses a 'pull' model where the server fetches metrics from the targets.

What is an Exporter?

An agent that translates third-party metrics into a format Prometheus understands.

What is PromQL?

The powerful query language used to work with time series.

How do you monitor a short-lived script?

By using Pushgateway, since the 'pull' model doesn't suit very short-lived tasks.

Does Prometheus replace Logstash?

No, Prometheus only handles metrics. Logstash handles logs.

How are alerts managed?

Prometheus evaluates alerting rules and sends events to Alertmanager.

What is cAdvisor?

A tool for collecting resource usage metrics from Docker/Kubernetes containers.

Can it be integrated with Grafana?

Yes, Prometheus is Grafana's default and most widely used data source.

Is it suited to dynamic environments?

Yes, it includes service discovery mechanisms.