-
-
Notifications
You must be signed in to change notification settings - Fork 682
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MC Diagnostic Mode #10059
MC Diagnostic Mode #10059
Conversation
Testmerging without config changes, do not apply config changes until we get the all clear from crossed that the kibana stuff should be fine |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think there should be an in-game fast toggle button to access this since changing config takes time but you might miss the moment while reconfiguring live servers (in case we set this system disabled in default.)
The toggle button simply changes if the data is being written to kibana or not, which I don't want people to activate unless they actually know what they are doing so making it highly acccessible would have people pressing it without knowing what it actually does. The in-game diagnostics on the MC is efficient and so will display regardless of the flag being set or not. |
The tick proportions should be based on the tick time rather than relative to other systems, otherwise we cannot compare across ticks. |
I still believe there should be a fast button to diagnose such critical issues when it's necessary, but if you think it's not necessary, whatever |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah this is fine
About The Pull Request
Adds in a diagnostic mode and subsystem tick reporting into the stat panel.
When the MC is in diagnostic mode, it will report all tick information to metrics so that it can be parsed in kibana. Note that this is a huge amount of data and should only be turned on when necessary.
Uses a circular queue so that it won't destroy performance.
We will probably need a kibana index in order to properly process the key'd data https://stackoverflow.com/questions/74989241/elastic-search-json-field-query-with-number-key
Why It's Good For The Game
This will be really handy for finding out which subsystems are choking out the MC.
Testing Photographs and Procedure
message.txt
Changelog
🆑
code: Adds in a diagnostic mode to the master controller.
/:cl: