Prometheus Metrics

Hi there, has any had got any experience of implementing prometheus metrics into Bloomreach.

Cannot seem to find much documentation about it at all.

Found this, https://github.com/prometheus/client_java however implemented the dependancies, probably in the wrong place, but not sure what file to add the servlet configuration…

Thanks in advance
John

Hi John,

I created this code repository a while ago https://github.com/bcanvural/brxm-jmx-prometheus-grafana-integration It uses the jmx exporter to expose jmx beans statistics to prometheus. For the jmx beans themselves check out this documentation page: https://documentation.bloomreach.com/14/library/concepts/web-application/jmx-management-beans-support.html

Hi Baris, thats awesome, implemented and running locally.

Thanks for your help and quick response!

Thanks
John

Hi there, just looking into some performance issues and wondered if this metric is zero

org_onehippo_hst_Caching_CacheHitRate

Is there something that needs to be configured?

We have added hst:cachble = true on the hosts nodes…??

thanks
J

Hi,

it is better to start a new topic rather than ask a question in an old one. Sorry, I don’t have an answer for this right now. Doesn’t seem like 0 is the number you are aiming for, but likely indicates a failure in reporting than actually having a 0 cache hit rate.