Kube-prometheus: Duplicate records in prometheus-rules

Created on 27 Jun 2019  路  6Comments  路  Source: prometheus-operator/kube-prometheus

There's duplicate records for namespace:container_cpu_usage_seconds_total:sum_rate and namespace:container_memory_usage_bytes:sum here: https://github.com/coreos/kube-prometheus/blob/master/manifests/prometheus-rules.yaml#L15-L30

Most helpful comment

All 6 comments

Thanks for reporting! This is actually pulled in through the kubernetes-mixin dependency, we're gonna need to fix it there. Can you open an issue there? :)

RE: https://github.com/kubernetes-monitoring/kubernetes-mixin/blob/master/rules/rules.libsonnet

cc @metalmatze

Interesting. We should discuss upstream, if we need both (as the might be different) or can get rid of one after the Kubernetes metrics overhaul.
Let's discuss there.

This was fixed in kubernetes-monitoring/kubernetes-mixin#230, and kube-prometheus now depends on kubernetes-monitoring/kubernetes-mixin@15ddfa20a6921ffbd43172eb54f6bdc1bcf8d3d3, which includes the fix (kubernetes-monitoring/kubernetes-mixin@32c7960c8facc1e6a981587b5972050fe8bd11bf).

Thanks @BenoitKnecht !

Was this page helpful?
0 / 5 - 0 ratings

Related issues

RiRa12621 picture RiRa12621  路  6Comments

saraAlizadeh picture saraAlizadeh  路  5Comments

grobie picture grobie  路  6Comments

brancz picture brancz  路  5Comments

atmosx picture atmosx  路  7Comments