On Wed, 2020-05-27 at 00:07 +0000, Allen Liu wrote: > Hi Robert, > Thanks a lot for the info. I was also using MetricRegistry to > register the gauge metrics. I thought there was a way to add the > gauge metric using metricsService. > After looking into the implementation of metricsService, it seems to > be not trivial to add the gauge registration in the metricsService. > > So, I will keep my implementation as it is to register gauge metrics > using MetricRegistry.
While looking futher, it seems that there is Gague support, please see https://issues.apache.org/jira/browse/SLING-5966 Can you give this a try and let me know if it works for you? Thanks, Robert
