Enabling micrometer metrics in quarkus

121 views
Skip to first unread message

Himanshu Gupta

unread,
Dec 14, 2021, 3:24:38 AM12/14/21
to vert.x
Hi,

I am able to enable default metrics using vertx.metrics.options.enabled System property. As quarkus VertxOptions doesn't expose metricsOptions, I was looking for some system property to tell that I need micrometer option to be enabled.

I looked at VertxOptions file and I can see 

this.metricsOptions = other.getMetricsOptions() != null ? new MetricsOptions(other.getMetricsOptions()) : null;

So Is there any way that I can enable micrometer using System property ?

Thanks,
Himanshu

Julien Viet

unread,
Dec 14, 2021, 7:41:07 AM12/14/21
to vert.x
Hi,

I think that Quarkus has its own implementation of metrics (including
vertx) for Micrometer.

you might want to read this https://quarkus.io/guides/micrometer

Julien
> --
> You received this message because you are subscribed to the Google Groups "vert.x" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to vertx+un...@googlegroups.com.
> To view this discussion on the web, visit https://groups.google.com/d/msgid/vertx/6095221e-51fb-498c-aad4-03fda4b8caddn%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages