Skip to content

Commit

Permalink
Merge pull request #1373 from flanksource/metric-labels
Browse files Browse the repository at this point in the history
fix: drop high-cardinality metrics
  • Loading branch information
moshloop authored Oct 24, 2023
2 parents b2acc04 + b9f87b9 commit eadcdd5
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions chart/templates/servicemonitor.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ spec:
endpoints:
- port: http
interval: 30s
metricRelabelings:
- action: labeldrop
regex: (pod|instance)
selector:
matchLabels:
{{- include "canary-checker.selectorLabels" . | nindent 6 }}
Expand Down

0 comments on commit eadcdd5

Please sign in to comment.