Skip to content

Commit

Permalink
Add a new label 'apiserver' to identify the source
Browse files Browse the repository at this point in the history
Add a new label 'apiserver' to apiserver_current_inflight_requests
metric to identify that the source is openshift apiserver.

The label would say - apiserver:openshift-apiserver

Do the similar for kube-apiserver - apiserver:kube-apiserver
  • Loading branch information
tkashem committed Feb 3, 2020
1 parent 5ca7887 commit 452d8d3
Showing 1 changed file with 4 additions and 0 deletions.
Expand Up @@ -51,6 +51,10 @@ spec:
regex: apiserver_admission_step_admission_latencies_seconds_.*
sourceLabels:
- __name__
relabelings:
- action: replace
targetLabel: apiserver
replacement: openshift-apiserver
port: https
scheme: https
tlsConfig:
Expand Down

0 comments on commit 452d8d3

Please sign in to comment.