|
|
|
|
@ -2,16 +2,16 @@ apiVersion: monitoring.coreos.com/v1
|
|
|
|
|
kind: ServiceMonitor
|
|
|
|
|
metadata:
|
|
|
|
|
name: connect
|
|
|
|
|
labels:
|
|
|
|
|
team: connect
|
|
|
|
|
spec:
|
|
|
|
|
selector:
|
|
|
|
|
matchLabels:
|
|
|
|
|
app: connect
|
|
|
|
|
namespaceSelector:
|
|
|
|
|
matchNames:
|
|
|
|
|
- "{{ .Release.Namespace }}"
|
|
|
|
|
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
|
|
|
|
|
|