feat: prometheus
parent
0b95eb0e23
commit
2ecf70c270
@ -0,0 +1,17 @@
|
|||||||
|
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
|
||||||
Loading…
Reference in New Issue