Skip to content
This repository has been archived by the owner on Jul 17, 2023. It is now read-only.

Commit

Permalink
Keep only ocp_drain_monitor_.+ metrics by default
Browse files Browse the repository at this point in the history
  • Loading branch information
bastjan committed Jan 24, 2023
1 parent 1d2d8c0 commit b967183
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions config/prometheus/monitor.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,11 @@ spec:
bearerTokenFile: /var/run/secrets/kubernetes.io/serviceaccount/token
tlsConfig:
insecureSkipVerify: true
metricRelabelings:
- action: keep
regex: ocp_drain_monitor_.+
sourceLabels:
- __name__
selector:
matchLabels:
control-plane: controller-manager

0 comments on commit b967183

Please sign in to comment.