Commit 3c02c7d4 by Frank Mai Committed by Alena Prokharchyk

Fix error expression for container resources query

**Problem:** There are two kubelet scraping targets on Prometheus, one is scraping `/metrics`, another one is scraping `/metrics/cadvisor`. The metrics from `/metrics` endpoint are not including `container_name`. So the `container_*` expression will double the actual mount without `conatiner_name!=""` **Solution:** Add `container_name!=""` into the expression **Issue:** https://github.com/rancher/rancher/issues/20162
parent 7283abb8
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment