By default Vert.x does not record any metrics. Instead it provides an SPI for others to implement which can be added to the classpath.
The metrics SPI is an advanced feature which allows implementers to capture events from Vert.x in order to gather metrics.
VertxOptions vertxOptions = new VertxOptions()
.setMetricsOptions(metricsOptions);
Vertx vertx = Vertx.vertx(vertxOptions);
The configuration of the metrics should (can) be implemented in a custom launcher. See Vertx - Launcher extension (Custom launcher) for an example.
Vertx has a Metrics extension for dropwizard.
String registryName = "registry";
MetricRegistry registry = SharedMetricRegistries.getOrCreate(registryName);
SharedMetricRegistries.setDefault(registryName);
Slf4jReporter reporter = Slf4jReporter.forRegistry(registry)
.outputTo(LoggerFactory.getLogger(Launcher.class))
.convertRatesTo(TimeUnit.SECONDS)
.convertDurationsTo(TimeUnit.MILLISECONDS)
.build();
reporter.start(1, TimeUnit.MINUTES);
DropwizardMetricsOptions= new DropwizardMetricsOptions()
.setEnabled(true)
.setMetricRegistry(registry);