test(multiplayer): verify observability manifests locally

This commit is contained in:
Josh Creek
2026-09-01 17:34:15 +01:00
parent 4c1ed87344
commit 7170400f49
4 changed files with 112 additions and 0 deletions
+3
View File
@@ -7,6 +7,9 @@ the documented 250 ms p95 SLO with `histogram_quantile`. The optional
5xx alerts for clusters running the Prometheus Operator. The matching optional
`deploy/observability/prometheus-service-monitor.yaml` discovers the internal
control-plane Service on its named `http` port and scrapes only `/metrics`.
`scripts/verify_observability_manifests.py` is included in the local
multiplayer gate and checks this Service/monitor contract without requiring a
Kubernetes or Prometheus installation.
Install the rule only after confirming that the `PrometheusRule` CRD and the
`ServiceMonitor` CRD and the `cosmic-clash` namespace exist. The example