Use the new Metrics module for core metrics#10175
Conversation
|
Doing some quick benchmarks on this, even though this only changes less than half of the metrics, I'm seeing this running at around 1.4M RPS:
Even with a grain of salt, I think it may be worth exploring this further and see what we get. In addition to slightly better performance, this eliminates a lot of complex code in the core as well. |
5c5cb5e to
0f93531
Compare
ac0ba24 to
e41577e
Compare
670a69e to
9257048
Compare
6ef6ed4 to
3eaa5ab
Compare
|
[approve ci] |
Co-Author: Chris McFarlen
3eaa5ab to
a7f3a8c
Compare
|
Differences in stat names (+ have been added and - have been removed): |
|
Those metrics should not have changed names, maybe you didn't sort them? There's no guarantee that the order will be retained. |
|
I sorted them |
|
gah, ok, I can't read, will address the ones that are changed, that's not intentional. |
|
Ok, the is the updated list of changes, this is as expected since we (per the mailing list) nuked all the calculated average metrics etc., and I added a few more to do the raw counts. There are a few metrics that has a suffix of _stats, which I'm going to fix as well in a separate PR. |
* asf/master: This drops the _stat suffix from some metrics (apache#10441) Fix CID-1518256 (apache#10403) Restore original metrics names, these were typos (apache#10440) Use the new Metrics module for core metrics (apache#10175) Fix use-after-free issue (apache#10399) Fixed differences between cmake rc files and autotools (apache#10408) Fix hwloc build (apache#10406)
This is WIP, to see if it works, and if so, how well. Also looking for feedback on the format. I've only done the http_rsb (HTTP stats) so far, which is a bit less than half of all the core metrics.