Hi all, i´m currently working on a project that uses Vertx 3 as it underlying event bus framework and we are trying to gather metrics from subscribed handlers.
This is plainly not working for us, dropwizard is only reporting the number of handlers but not the metrics of each one as expected (and as shown in the documentation).
DropwizardMetricsOptions metricsOptions = new DropwizardMetricsOptions()
.setEnabled(true)
.addMonitoredEventBusHandler(new Match().setValue("my-address"));
VertxOptions options = new VertxOptions()
.setMetricsOptions(metricsOptions);
And later:
JsonObject eventBusMetrics = metricsService.getMetricsSnapshot(vertx.eventBus());
eventBusMetrics shows all kind of metrics, but about handlers i only get the counter:
"handlers": {
"type": "counter",
"count": 108
},
Any clue on this ? I've tried several approaches (like regex instead of exact address) but i only get the counter. I can gather all they other types of metrics without any issues (like HTTP).
I've also confirmed that i'm calling send() method against the same exact address that i put to dropwizard configuration. But, again, this doesn´t work even with ".*" regex.
Regards