16 lines
343 B
YAML
16 lines
343 B
YAML
apiVersion: monitoring.coreos.com/v1
|
|
kind: ServiceMonitor
|
|
metadata:
|
|
name: longhorn-prometheus-servicemonitor
|
|
namespace: prometheus
|
|
labels:
|
|
name: longhorn-prometheus-servicemonitor
|
|
spec:
|
|
selector:
|
|
matchLabels:
|
|
app: longhorn-manager
|
|
namespaceSelector:
|
|
matchNames:
|
|
- longhorn-system
|
|
endpoints:
|
|
- port: manager
|