-
Notifications
You must be signed in to change notification settings - Fork 6k
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
[Suggestion] - Metrics: allow to specify what metrics do you want in conf #22201
Comments
The current metrics are just a proof of concept, in my mind everything should be a metric (even every spell cast). Maybe they could be grouped into categories just like we did already on grafana dashboard. Btw is this for performance reasons in worldserver, for space in influxdb or any other reason ? Just curious :) |
I have configured that influxdb keep the data up to a maximum of two days, so due to space problems it is not ;) Real performance problems do not generate the metrics in my case, but, I think it would be more optimal to be able to specify what metrics you want to obtain so as not to generate everything if you do not need it ;) |
Over the past years we added some settings in worldserver.conf to specify a threshold for some metrics TrinityCore/src/server/worldserver/worldserver.conf.dist Lines 4077 to 4088 in 23cd884
We also added some CMake options -DWITHOUT_METRICS and -DWITH_DETAILED_METRICS TrinityCore/cmake/showoptions.cmake Lines 153 to 163 in 23cd884
It's not exactly the same as what you asked but it's a step in that direction |
Description:
Add the posibility to enable/disable specific metric in the conf.
By example:
if you want log only diff and online players:
Branch(es):
both
TC rev. hash/commit:
a815c64
The text was updated successfully, but these errors were encountered: