You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Before any 5xx error happens, this metric will return no data.
Similar to the or vector(0) in the definition for availability metrics.
sum by (%(clusterLabel)s) (rate(apiserver_request_total{%(kubeApiserverSelector)s,%(kubeApiserverReadSelector)s,code=~"5.."}[%(window)s]))
should be:
sum by (%(clusterLabel)s) (rate(apiserver_request_total{%(kubeApiserverSelector)s,%(kubeApiserverReadSelector)s,code=~"5.."}[%(window)s]) or vector(0))
The text was updated successfully, but these errors were encountered:
Related issue: prometheus-operator/kube-prometheus#1480
https://github.com/kubernetes-monitoring/kubernetes-mixin/blob/master/rules/kube_apiserver.libsonnet#L50
Before any 5xx error happens, this metric will return no data.
Similar to the
or vector(0)
in the definition for availability metrics.should be:
The text was updated successfully, but these errors were encountered: