stefanprodan / dockprom

Docker hosts and containers monitoring with Prometheus, Grafana, cAdvisor, NodeExporter and AlertManager
MIT License
6.02k stars 1.72k forks source link

Duplicate container names #284

Closed kroese closed 1 year ago

kroese commented 1 year ago

I monitor multiple machines (via the node export yml).

But some container-names are the same between machines. In Grafana I see these names only once..

So how is this handled? Does it sum all stats for duplicate containers together? Or does it just show the first one and ignores the other ones?

In that last case, couldn't it just add an incremental value (name2, name3) to the names?

nightah commented 1 year ago

I would be using another field as a variable to switch between nodes/hosts.

Here's an example that I utilise for the Docker Containers Dashboard to be able to filter based on the Docker Stack and/or the individual container name.

raw