Cache metrics for http clients #1700
Labels
enhancement
A general enhancement
help wanted
An issue that a contributor can help us with
waiting for feedback
We need additional information before we can continue
Milestone
Both httpclient from Apache and OkHttp (which are instrumented by micrometer: OkHttpMetricsEventListener and #533) support provider driven caching (based on http headers)
It would be helpful (for the sake of completeness) for micrometer to provide insight to the state of caches (size, maxSize, hit and misses).
I've drafted a cache metrics for
OkHttp
which I'd like to get feedback ok: master...kubamarchwicki:httpclient-cache-metrics.If that's something interesting, I'd hapilly finalize both
OkHttp
as well ashttpclient
.The text was updated successfully, but these errors were encountered: