15 lines
256 B
YAML
15 lines
256 B
YAML
|
apiVersion: monitoring.coreos.com/v1
|
||
|
kind: ServiceMonitor
|
||
|
metadata:
|
||
|
name: servicemonitor-http
|
||
|
labels:
|
||
|
monitor: prometheus
|
||
|
spec:
|
||
|
namespaceSelector:
|
||
|
any: true
|
||
|
selector:
|
||
|
matchLabels:
|
||
|
monitor: prometheus
|
||
|
endpoints:
|
||
|
- port: http
|