-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Export ArrayByteBufferPool statistics via JMX #12706
Comments
The statistics are only per RetainedBucket, there's no aggregate statistics. |
@joakime does it make sense to add aggregate to the Pool itself? |
@wendigo the statistics are in the Can you specify what would you be doing with aggregate statistics? |
@sbordet the distribution of allocation sizes mostly, size of currently allocated memory |
Basically we want to make sure that the pool is configured accordingly to our actual usage |
@wendigo then you don't want aggregates, but per-bucket statistics, which is already available in the dump. |
@sbordet i'd like that information to be exported as mbean so I can track it in datadog |
@wendigo ok, we will need to do some work with JMX open types, since the data you want is tabular. |
* Exposed bucket statistics as a list of maps. * Exposed non-bucket statistic map. * Fixed get[Direct|Heap]Memory() and exposed getAvailable[Direct|Heap]Memory(). Signed-off-by: Simone Bordet <[email protected]>
@sbordet yes, I can that test, just give me an hour or two |
Jetty Version
12.x
Jetty Environment
ee10
Java Version
Question
Where I can find ArrayByteBufferPool allocation/bucket statistics (aggregated, not per-retainable buffer)? Seem like ArrayByteBufferPool.setStatisticsEnabled a noop from JMX perspective
The text was updated successfully, but these errors were encountered: