I am using Cadvisor to send metrics to Prometheus and show docker related graphs on Grafana using Cadvisor metrics
It shows all Docker container running on my machine but now I want to skip one container (cadvisor) from a list.
How can I achieve that?
for more details, I am sending a query which I am using to visualize
I believe that you should be able to achieve this with:
sort_desc(sum(rate(container_cpu_user_seconds_total{image!="",name!="some_container"}[1m])) by (name))
Where some_container
is the name of the container that you don't want to include in the stats.