Hey I dont expect it to be directly usable but a microprofile-metrics appender can almost do it. Worse case some code can probably give some inspiration - like https://github.com/apache/geronimo-metrics/blob/master/geronimo-metrics-common/src/main/java/org/apache/geronimo/microprofile/metrics/common/prometheus/PrometheusFormatter.java and https://github.com/apache/geronimo-metrics/blob/master/geronimo-metrics-common/src/main/java/org/apache/geronimo/microprofile/metrics/common/jaxrs/MetricsEndpoints.java
Hope it helps a bit. Le mer. 18 sept. 2019 à 06:46, Julian Feinauer <j.feina...@pragmaticminds.de> a écrit : > Hey, > > I worked a lot with prometheus now so... if you have a PR or even > something halfway done I will be happy to help a bit or review something, > of course! > > Julian > > Am 16.09.19, 11:30 schrieb "Jean-Baptiste Onofré" <j...@nanthrax.net>: > > Hi Julian, > > See: > > https://issues.apache.org/jira/browse/KARAF-6121 > > I already started something with a prometheus push. > > I can push my branch as PR and you can take a look. > > Regards > JB > > On 16/09/2019 18:22, Julian Feinauer wrote: > > Hi all, > > > > we use prometheus for most of our monitoring / alerting. So I wonder > if it makes sense from your perspective to add an appender to decander? > > If you agree with me on that, I’ll try to implement one (this will > probably raise some questions as it has to expose an HTTP Endpoint, so a > servlet container needs to be there). > > > > Best > > Julian > > > > -- > Jean-Baptiste Onofré > jbono...@apache.org > http://blog.nanthrax.net > Talend - http://www.talend.com > > >