ops(multiplayer): wire Prometheus service discovery

This commit is contained in:
Josh Creek
2026-09-01 17:24:21 +01:00
parent dc901f5951
commit 533ac1afab
3 changed files with 26 additions and 3 deletions
@@ -0,0 +1,20 @@
apiVersion: monitoring.coreos.com/v1
kind: ServiceMonitor
metadata:
name: cosmic-clash-control-plane
namespace: cosmic-clash
labels:
app.kubernetes.io/name: cosmic-clash
app.kubernetes.io/component: observability
spec:
selector:
matchLabels:
app.kubernetes.io/name: control-plane
namespaceSelector:
matchNames:
- cosmic-clash
endpoints:
- port: http
path: /metrics
interval: 15s
scrapeTimeout: 5s