This article is available in French.
1. Calculer le budget #
Ce qu'on a le droit de rater.
Formule #
Le budget d'erreur est la part d'événements autorisés à échouer : 1 - SLO. Avec un SLO de 99,9 % sur 30 jours et 10 millions de requêtes, le budget est de 10 000 requêtes en erreur.
| Grandeur | Calcul | Exemple |
|---|---|---|
| Budget total | (1 - SLO) × requêtes | 0,001 × 10 000 000 = 10 000 |
| Budget consommé | erreurs observées / budget total | 4 000 / 10 000 = 40 % |
| Budget restant | 1 - consommé | 60 % |
| Taux de consommation (burn rate) | taux d'erreur observé / (1 - SLO) | 0,3 % / 0,1 % = 3 |
À savoir : Un burn rate de 1 consomme exactement le budget sur la fenêtre du SLO. Un burn rate de 3 l'épuise en 10 jours au lieu de 30.
2. La politique de budget d'erreur #
Un accord écrit entre produit et exploitation.
Exemple de politique #
Le budget n'a de valeur que s'il déclenche des décisions, décidées à l'avance et signées par les équipes produit et techniques :
| Budget restant | Décision |
|---|---|
| > 50 % | Livraisons normales, expérimentations autorisées |
| 20 à 50 % | Livraisons normales, revue des incidents du mois |
| 0 à 20 % | Priorité aux tâches de fiabilité, déploiements à risque reportés |
| Épuisé | Gel des fonctionnalités : seuls les correctifs et la fiabilité sont livrés jusqu'au retour dans l'objectif |
Bonne Pratique : Le budget fonctionne dans les deux sens : un budget jamais consommé signifie que l'objectif est trop prudent ou que l'équipe pourrait livrer plus vite.
3. Fenêtres glissantes ou calendaires #
Sur quelle période mesurer ?
Choisir #
| Fenêtre | Avantage | Inconvénient |
|---|---|---|
| Glissante (28 ou 30 jours) | Reflète l'expérience récente, pas d'effet « remise à zéro » | Un incident pèse pendant 30 jours |
| Calendaire (mois) | Alignée sur les SLA et les rapports | Le budget se remet à zéro le 1er, comportements opportunistes |
En pratique : fenêtre glissante de 28 ou 30 jours pour piloter, rapport calendaire pour le SLA. 28 jours contiennent exactement quatre semaines, ce qui neutralise l'effet des week-ends.
My progress
Sign in to track your progress and take notes. Sign in
Recommended Articles
Understanding the concept of score
The concept of score allows Elasticsearch to rank your documents by relevance during a search.
Understanding the Elastic Common Schema (ECS)
As always in our consulting engagements, we recommend that companies harmonise and standardise: k...
License consumption types
Understand the evolution of billing in Dynatrace: the difference between the old licensing model ...
Grafana Alloy: The importance of Self-Monitoring
Discover why and how to configure Grafana Alloy so that it monitors itself, collecting its own lo...
Grafana Alloy: Understanding and exploiting the User Interface (UI)
Discover how to enable, secure, and use Grafana Alloy's built-in web interface to visualize your ...
Grafana Alloy: Introduction and Architecture
Discover the fundamental concepts of Grafana Alloy, the transition from the static Agent to Alloy...
Grafana Alloy: Syntax and Configuration (Alloy Language: River)
As part of a Grafana training or observability training, master the declarative syntax of Grafana...
Grafana Alloy: Metrics Collection (Prometheus & Ecosystem)
Learn how to configure Grafana Alloy to collect, transform, and forward metrics using the Prometh...
Grafana Alloy: Log Management with Loki
Discover how to configure Grafana Alloy to read log files, journald, or network streams, process ...