Skip to content

feat: Updated kubernetes-mixin.yml for Mimir.

Stephanie Jackson requested to merge move-and-scope-kubernetes-mixin into master

I removed a bunch of metrics from the rules/kubernetes-mixin.yml that we're not using anywhere save for two non-paging alerts in prometheus:

stejacks@atlas~/projects/gitlab-com/runbooks (move-and-scope-kubernetes-mixin) $ grep cluster_quantile metrics-in-grafana.json
    "cluster_quantile:apiserver_request_slo_duration_seconds:histogram_quantile",
        "cluster_quantile:apiserver_request_slo_duration_seconds:histogram_quantile",
stejacks@atlas~/projects/gitlab-com/runbooks (move-and-scope-kubernetes-mixin) $ git grep cluster_quantile
rules/kubernetes-system.yml:        expr: cluster_quantile:apiserver_request_latencies:histogram_quantile{job="apiserver",quantile="0.99",subresource!="log",verb!~"^(?:LIST|WATCH|WATCHLIST|PROXY|CONNECT)$"} > 1
rules/kubernetes-system.yml:        expr: cluster_quantile:apiserver_request_latencies:histogram_quantile{job="apiserver",quantile="0.99",subresource!="log",verb!~"^(?:LIST|WATCH|WATCHLIST|PROXY|CONNECT)$"} > 4

I moved and scoped the rest, and updated the dashboard to allow for mixin_pod_workload or mixin_pod:workload.

Merge request reports