// Before
+// 4.x
Vertx vertx = Vertx.vertx(new VertxOptions()
.setMetricsOptions(new DropwizardMetricsOptions()
.setMetricsRegistry(myRegistry)
.setEnabled(true)));
-// After
+// 5.0
Vertx vertx = Vertx.builder()
.with(new VertxOptions()
.setMetricsOptions(new DropwizardMetricsOptions()
@@ -1089,6 +1121,36 @@ Removal