You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@bookkeeper.apache.org by Michael Marshall <mm...@apache.org> on 2022/08/10 06:09:44 UTC

[DISCUSS] Expose Rocks DB (Cache) Metrics

Hi Bookkeeper Community,

I created an issue [0] yesterday to discuss exposing Rocks DB metrics
via the bookie's /metrics endpoint. My primary focus is exposing
metrics that will help verify that the database is sufficiently
provisioned and to help show the real time interactions between
bookkeeper and Rocks DB. I created the issue focused on cache metrics,
but there might be other valuable metrics to expose.

Has anyone looked into these metrics? Is there any reason we shouldn't
expose them? Adding them may require some modifications to the
StatsLogger's interface because it does not currently support
externally managed counters. If there isn't an objection, I'll
continue looking at which metrics to expose and how to integrate them
into the StatsLogger.

Thanks,
Michael

[0] https://github.com/apache/bookkeeper/issues/3442

Re: [DISCUSS] Expose Rocks DB (Cache) Metrics

Posted by steven lu <lu...@gmail.com>.
it's look good
but it maybe similar to another existed metric "read-locations-index-time"

Michael Marshall <mm...@apache.org> 于2022年8月10日周三 14:10写道:

> Hi Bookkeeper Community,
>
> I created an issue [0] yesterday to discuss exposing Rocks DB metrics
> via the bookie's /metrics endpoint. My primary focus is exposing
> metrics that will help verify that the database is sufficiently
> provisioned and to help show the real time interactions between
> bookkeeper and Rocks DB. I created the issue focused on cache metrics,
> but there might be other valuable metrics to expose.
>
> Has anyone looked into these metrics? Is there any reason we shouldn't
> expose them? Adding them may require some modifications to the
> StatsLogger's interface because it does not currently support
> externally managed counters. If there isn't an objection, I'll
> continue looking at which metrics to expose and how to integrate them
> into the StatsLogger.
>
> Thanks,
> Michael
>
> [0] https://github.com/apache/bookkeeper/issues/3442
>