Hi,
Could you add a filter for namespace for plugin cloud::prometheus::exporters::cadvisor::plugin ?
The name of namespace is on the output when we list-containers, so it will be easy to add the filter :)
/usr/lib/centreon/plugins//centreon_prometheus_cadvisor_api.pl --plugin=cloud::prometheus::exporters::cadvisor::plugin
--mode=cpu --hostname=*** --url-path='/api/v1' --port='80' --proto='http' --credentials --username=*** --password=***
--container='container=~"moncontainer"' --pod='pod=~".*"' --verbose --mode=list-containers
[container_name = moncontainer][pod_name = monpod-55d94dc4cc-rtmxg][namespace = MONNAMESPACE]
Thanks a lot
