Repository navigation
feat: add bounded game performance and relay monitoring - #838
Merged
Merged
Conversation
Signed-off-by: Baylem <zelathis@gmail.com>
Signed-off-by: Baylem <zelathis@gmail.com>
Signed-off-by: Baylem <zelathis@gmail.com>
Signed-off-by: Baylem <zelathis@gmail.com>
Signed-off-by: Baylem <zelathis@gmail.com>
Signed-off-by: Baylem <zelathis@gmail.com>
Signed-off-by: Baylem <zelathis@gmail.com>
Signed-off-by: Baylem <zelathis@gmail.com>
Signed-off-by: Baylem <zelathis@gmail.com>
Signed-off-by: Baylem <zelathis@gmail.com>
Signed-off-by: Baylem <zelathis@gmail.com>
Signed-off-by: Baylem <zelathis@gmail.com>
Signed-off-by: Baylem <zelathis@gmail.com>
Signed-off-by: Baylem <zelathis@gmail.com>
Signed-off-by: Baylem <zelathis@gmail.com>
Signed-off-by: Baylem <zelathis@gmail.com>
Signed-off-by: Baylem <zelathis@gmail.com>
Signed-off-by: Baylem <zelathis@gmail.com>
Signed-off-by: Baylem <zelathis@gmail.com>
Signed-off-by: Baylem <zelathis@gmail.com>
Signed-off-by: Baylem <zelathis@gmail.com>
Signed-off-by: Baylem <zelathis@gmail.com>
Signed-off-by: Baylem <zelathis@gmail.com>
Signed-off-by: Baylem <zelathis@gmail.com>
Signed-off-by: Baylem <zelathis@gmail.com>
Signed-off-by: Baylem <zelathis@gmail.com>
Signed-off-by: Baylem <zelathis@gmail.com>
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 38 minutes. View limit details
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. |
This was referenced Nov 5, 2026
CI Report - 51b7679run 42397774462 - attempt 1 0 failed - 33 passed - 0 skipped - 109m10s elapsed Test selection: full (selection-rule change) - per-suite table Coverage
Changed
Slowest jobs
e2e buckets run
|
Baylem
marked this pull request as ready for review
November 6, 2026 06:56
Signed-off-by: Baylem <zelathis@gmail.com>
Signed-off-by: Baylem <zelathis@gmail.com>
Signed-off-by: Baylem <zelathis@gmail.com>
Signed-off-by: Baylem <zelathis@gmail.com>
Signed-off-by: Baylem <zelathis@gmail.com>
Signed-off-by: Baylem <zelathis@gmail.com>
Signed-off-by: Baylem <zelathis@gmail.com>
Signed-off-by: Baylem <zelathis@gmail.com>
ValgulNecron
approved these changes
Nov 7, 2026
This was referenced Nov 11, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Operators need to distinguish missing measurements, game degradation, resource pressure and relay failures. This adds cached numeric game-performance measurements and relay metrics with Prometheus configuration, alerts and a workload dashboard.
Modules can declare tick/frame rate or tick duration, units and an optional degradation threshold. One bounded source feeds both dashboard routes and Prometheus; scrapes issue no RCON commands. Unknown, invalid and stale readings omit value series, while genuine zero remains visible. Source RCON has an aggregate response limit and absolute exchange deadline; NuclearOption applies its deadline before request writes as well.
Tunnel metrics use the same sanitized health evidence as readiness. Playit’s pinned client still reports unknown live connectivity. Infrastructure alerts require the documented kubelet/cAdvisor and kube-state-metrics collectors; no external game module is opted in by this PR.
The chart validates scrape-policy configuration and supports externally managed policies. The Prometheus example aligns monitor labels, namespace discovery and ingress permissions. A Cilium CI fixture checks actual agent/tunnel scraping, ingress revocation/restoration and denial from an unapproved namespace. Promtool fixtures cover alert firing/recovery and duplicate operator readings.
Supersedes #771. Prior review discussion remains on that PR.
Native stack, bottom to top: #837 → #838.
Closes #725.
Validation: Linux operator, agent and tunnel builds, controller regression-source and E2E source compilation passed. Generated CRDs and chart bundles are synchronized. Runtime tests, rule checks and cluster scraping run in CI under the repository’s compile-only local policy.
Current validation: all 108 main CI jobs passed on
51b76792(CI run). Portable-path and visual-regression workflows also passed.