--- title: "[bojemoi] fix(grafana): adapter Docker Container metrics — name→id, cAdvisor v0.55" date: 2026-05-29T22:54:37+02:00 draft: false tags: ["commit", "bojemoi", "main"] categories: ["Git Activity"] summary: "Commit 023fe7e par Betty dans bojemoi" author: "Betty" --- ## Commit `023fe7e` | | | |---|---| | **Repository** | bojemoi | | **Branch** | `main` | | **Author** | Betty | | **Hash** | `023fe7e8a7cb8194a6bf1da3e0d81e8d13667fd1` | ### Description - cAdvisor v0.55 n'expose pas container_label_* dans Prometheus metrics - Remplacement name=~".+" → id=~"/docker/[a-f0-9]+" (filtre containers réels) - Remplacement by (name) → by (id) dans tous les panels - Suppression variables Prod/NonProd (IPs hardcodées 10.115.x.x inexistantes) - prometheus.yml: relabeling container_label_com_docker_swarm_service_name→name (préparatoire) - stack: revert flag --allowlisted_container_labels (non supporté v0.55) Co-Authored-By: Claude Sonnet 4.6 (1M context) ### Files Changed ``` M stack/01-service-hl.yml M volumes/grafana/dashboards/general/docker-container-metrics.json M volumes/prometheus/prometheus.yml ``` ### Diff Summary ``` stack/01-service-hl.yml | 1 + .../general/docker-container-metrics.json | 91 ++++++---------------- volumes/prometheus/prometheus.yml | 6 +- 3 files changed, 31 insertions(+), 67 deletions(-) ```