On Tue, Jun 7, 2022 at 6:37 AM Enrico Olivelli <eolive...@gmail.com> wrote: > Great idea. > I wonder which kind of metrics we could have. To see how each > tenant/namespace is using the cache
It can be done, at the expense of some CPU cost, for example by adding a tag for the topic and computing the sizes at the time of eviction. Right now we do have that information but we're not using/exposing it in any way. In general, the cache usage would be exactly proportional to the bytes/s incoming rate across all the topics.