Hi All, I'm currently working on exposing some wir...
# general
n
Hi All, I'm currently working on exposing some wiremock metrics similar to what is described on the issue https://github.com/wiremock/wiremock/issues/1031 I am interested in exposing Jetty metrics and the only way I can see to achieve this right now is to make a custom HttpServerFactory with an exposed Jetty Server which I can bind micrometer to. Does this idea sound valid or is there a better way to get jetty threadpool metrics from the default wiremock server config?
l
I haven't looked into this much to be honest but you might be correct if you are looking for jetty metrics. Also, have you had chance to look at the otel extension - https://github.com/wiremock/wiremock-otel-extension
n
Thanks for sharing, wasn't aware of that extension before. I will take a look
l
The extension was created as a proof of concept as part of last years hacktoberfest. It hasn't seen much love recently so any PRs would be gratefully received