clintropolis opened a new pull request, #18742:
URL: https://github.com/apache/druid/pull/18742
### Description
changes:
* adds `StorageLocationStats` and `VirtualStorageLocationStats` to abstract
measuring segment cache/virtual segment cache usage
* adds `StorageStats` to collect `StorageLocationStats` and
`VirtualStorageLocationStats` into maps between location label and the stats of
that location
* adds new method `SegmentCacheManager.getStorageStats` to expose stats
collection for segment cache manager implementations
* adds new `StorageMonitor` to emit metrics for values in `StorageStats`
* metrics for `StorageLocationStats`:
- storage/static/count
- storage/static/bytes
- storage/drop/count
- storage/drop/bytes
* metrics for `VirtualStorageLocationStats`:
- storage/virtual/hit/count
- storage/virtual/load/count
- storage/virtual/load/bytes
- storage/virtual/evict/count
- storage/virtual/evict/bytes
- storage/virtual/reject/count
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]