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.
19 lines
393 B
YAML
19 lines
393 B
YAML
---
|
|
apiVersion: monitoring.coreos.com/v1
|
|
kind: ServiceMonitor
|
|
metadata:
|
|
name: "{{ include "service.name" $ }}"
|
|
labels:
|
|
release: "prometheus"
|
|
spec:
|
|
selector:
|
|
matchLabels:
|
|
app: "{{ include "service.name" $ }}"
|
|
namespaceSelector:
|
|
matchNames:
|
|
- "{{ .Release.Namespace }}"
|
|
endpoints:
|
|
- interval: 30s
|
|
path: /management/prometheus
|
|
port: http-metrics
|