Files
blog/content/posts/commits/2026-05-29-commit-023fe7e.md
Betty 1f281053c3
Some checks failed
Hugo Build & Deploy / build-deploy (push) Failing after 8s
post: commit 023fe7e in bojemoi
2026-05-29 22:54:38 +02:00

1.4 KiB

title, date, draft, tags, categories, summary, author
title date draft tags categories summary author
[bojemoi] fix(grafana): adapter Docker Container metrics — name→id, cAdvisor v0.55 2026-05-29T22:54:37+02:00 false
commit
bojemoi
main
Git Activity
Commit 023fe7e par Betty dans bojemoi 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) noreply@anthropic.com

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(-)