Files
k3s-cluster/phoenix/servicemonitor.yaml

19 lines
404 B
YAML
Raw Normal View History

2026-01-24 13:06:07 +01:00
# Optional: ServiceMonitor for Prometheus Operator
# Only apply this if you have Prometheus Operator installed
apiVersion: monitoring.coreos.com/v1
kind: ServiceMonitor
metadata:
name: phoenix-metrics
namespace: phoenix
labels:
app: phoenix
spec:
selector:
matchLabels:
app: phoenix
endpoints:
- port: metrics
path: /metrics
interval: 30s
scrapeTimeout: 10s