Guided practice — Three alerts written, triggered, received and silenced

Guided practice33 min
Duration
45 to 60 min
Module
6/7
You will build
a rules file prometheus/regles/pratique-alertes.yml with three new alerts (InscriptionsEnPanne, TropDeRequetesEnCours, InscriptionsAbsentes), declared in rule_files, checked with promtool, hot-reloaded; each alert fired by a kit failure (casser disque, casser api, casser lenteur), followed from pending to firing in Prometheus, through Alertmanager, through to the webhook; a silence created via the API, observed, then lifted; then everything put back to the original state
Deliverable
the three firing then resolved notifications in http://localhost:8090/alertes.json, the silence JSON in the active then expired state, and /api/v1/rules back to its five original groups

Preview — the rest of the lesson is for enrolled readers.

Already enrolled with a code?

Your access is tied to your account, not to this link. Sign in with the same email you used in class: your course is waiting, no need to enter the code again.

Sign inNo account yet? Create one
This lesson is part of the “Alerts: detect, route, don't wake up for nothing” module

The first modules of the course are open to everyone. For the rest you have three options: buy this course once and for all, subscribe, or enter the code handed out in class.

Are you a student on this course?

The code is tied to your account: sign in or create an account and it will be applied automatically when you come back.

No account yet? Create one