Skip to content

Commit

Permalink
argocd: add missing ServiceMonitor for applicationset controller
Browse files Browse the repository at this point in the history
  • Loading branch information
daurnimator committed Nov 8, 2022
1 parent 61efbe3 commit d1b9461
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions argocd/argo-cd-service-monitor.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,3 +43,18 @@ spec:
app.kubernetes.io/name: argocd-repo-server
endpoints:
- port: metrics
---
apiVersion: monitoring.coreos.com/v1
kind: ServiceMonitor
metadata:
name: argocd-applicationset-controller-metrics
annotations:
argocd.argoproj.io/sync-options: SkipDryRunOnMissingResource=true
labels:
prometheusInstance: default
spec:
selector:
matchLabels:
app.kubernetes.io/name: argocd-applicationset-controller
endpoints:
- port: metrics

0 comments on commit d1b9461

Please sign in to comment.