Open wrfly opened 6 years ago
Is this the cAdvisor embedded in the kubelet, or a stand-alone cAdvisor?
@dashpole stand-alone
There isn't a way to do this right now. There was someone who was trying to add a whitelist for labels a little while back: https://github.com/google/cadvisor/pull/1735, but it wasn't finished. I would be happy to review a PR that does something similar.
Hello there, I want to collect container metrics to prometheus via cadvisor, but the
/metrics
exposed is too large, there are about 70+ containers in the host, and the/metrics
's size is 43MB.Here is a single metric:
How can I remove the labels that the container didn't use to reduce the file size of
/metric
?Or set something for customizing the labels.
Thanks.