You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With this, I would expect ALL metrics to be visible under the job label for cadvisor.
But that is not the case. In Grafana. All the container_network_* metrics are missing.
Now, when I remove from the k8s-monitoring-alloy-module-kubernetes CM the following part under the prometheus.relabel "cadvisor" declaration, I can see some container_network_.* metrics, but not all. I only see the metrics including _packets_.
So, if I see it correctly, there is no argument that checks for the value where e.g. alues.cadvisor.metricsTuning.dropEmptyImageLabels is set to false.
does not set it in the core config file, but it is still hard-coded in the custom cadvisor module. That's why I have to remove those lines from the module config to see all cadvisor metrics in my case.
Jeansen
changed the title
v2 - Metrics for cadvisor dropped, although the should not be dropped
v2 - Metrics for cadvisor dropped, although they should not be dropped
Feb 2, 2025
@petewall I've now all my metrics in place. Should I send you the diff from what I've changed? Maybe I am even on the wrong track, but so far I could only help myself by cloning this repo and removing the mentioned sections above. Unfortunately I am not too well acquainted with alloy, yet.
I have the following part in my values file:
With this, I would expect ALL metrics to be visible under the
job
label forcadvisor
.But that is not the case. In Grafana. All the
container_network_*
metrics are missing.Now, when I remove from the k8s-monitoring-alloy-module-kubernetes CM the following part under the
prometheus.relabel "cadvisor"
declaration, I can see somecontainer_network_.*
metrics, but not all. I only see the metrics including_packets_
.I also had to remove:
With these removals, I see all the network metrics.
Here are the two actual config files, that were generated:
k8s-monitoring-alloy-metrics CM:
k8s-monitoring-alloy-module-kubernetes CM:
The text was updated successfully, but these errors were encountered: