• Tobias Schmidt's avatar
    Filter internal Kubernetes labels from Prometheus metrics · 12c24831
    Tobias Schmidt authored
    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.
    12c24831
cadvisor_linux_test.go 2.27 KB