You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

18 lines
408 B
YAML

apiVersion: monitoring.coreos.com/v1
kind: ServiceMonitor
metadata:
name: connect
spec:
endpoints:
- interval: 30s
path: /management/prometheus
port: http-metrics
namespaceSelector:
matchNames:
- "{{ .Release.Namespace }}"
selector:
matchLabels:
# app.kubernetes.io/component: server
# app.kubernetes.io/instance: argo-cd
app.kubernetes.io/name: connect