From 013743f910367704131695d1d811b983c50584a1 Mon Sep 17 00:00:00 2001 From: pz2891 Date: Wed, 14 Apr 2021 19:54:37 +0200 Subject: [PATCH] typo in docker rules --- roles/prometheus/templates/docker.rules.yml.j2 | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/roles/prometheus/templates/docker.rules.yml.j2 b/roles/prometheus/templates/docker.rules.yml.j2 index e891b1c..d911698 100644 --- a/roles/prometheus/templates/docker.rules.yml.j2 +++ b/roles/prometheus/templates/docker.rules.yml.j2 @@ -18,7 +18,7 @@ groups: annotations: summary: >- Le container Docker est éteint / tombé - (instance {{ raw('$labels.instance') }}, container {{ raw('$labels.name') }}) + (container {{ raw('$labels.name') }}) - alert: ContainerFailed expr: sum(increase(docker_container_restart_count[5m])) > 2 @@ -28,7 +28,7 @@ groups: annotations: summary: >- Le container Docker redémarre souvent - (instance {{ raw('$labels.instance') }}, container {{ raw('$labels.name') }}) + (container {{ raw('$labels.name') }}) - alert: ContainerFailed expr: @@ -44,7 +44,7 @@ groups: annotations: summary: >- Le container Docker utilise beaucoup de CPU - (instance {{ raw('$labels.instance') }}, container {{ raw('$labels.name') }}, - value {{ raw('$value | printf "%.1f"') }}) + (container {{ raw('$labels.name') }}, + valeur {{ raw('$value | printf "%.1f"') }}) ...