phoenix
This commit is contained in:
18
phoenix/servicemonitor.yaml
Normal file
18
phoenix/servicemonitor.yaml
Normal file
@@ -0,0 +1,18 @@
|
||||
# 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
|
||||
Reference in New Issue
Block a user