core-deployments/prometheus/service-monitor-longhorn.yaml

18 lines
351 B
YAML
Raw Permalink Normal View History

2024-10-07 09:19:39 +02:00
---
2023-11-24 20:32:50 +01:00
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:
2024-10-07 09:19:39 +02:00
- longhorn-system
2023-11-24 20:32:50 +01:00
endpoints:
2024-10-07 09:19:39 +02:00
- port: manager