mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-10-02 08:36:04 +00:00
Kubernetes uses Docker labels as storage for some internal labels. The majority of these labels are not meaningful metric labels and a few of them are even harmful as they're not static and cause wrong aggregation results. This change provides a custom labels func to only attach meaningful labels to cAdvisor exported metrics.