Commit two forgotten files from taking out metrics
This commit is contained in:
parent
a30823099d
commit
a6e31129e9
5
pom.xml
5
pom.xml
@ -79,11 +79,6 @@
|
||||
<artifactId>vertx-redis-client</artifactId>
|
||||
<version>3.3.0</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>io.vertx</groupId>
|
||||
<artifactId>vertx-dropwizard-metrics</artifactId>
|
||||
<version>3.3.0</version>
|
||||
</dependency>
|
||||
|
||||
<!-- Google Libs -->
|
||||
<dependency>
|
||||
|
@ -1,8 +1,6 @@
|
||||
package net.frozenorb.apiv3;
|
||||
|
||||
import io.vertx.core.Vertx;
|
||||
import io.vertx.core.VertxOptions;
|
||||
import io.vertx.ext.dropwizard.DropwizardMetricsOptions;
|
||||
|
||||
final class Main {
|
||||
|
||||
@ -10,7 +8,7 @@ final class Main {
|
||||
System.setProperty("org.slf4j.simpleLogger.defaultLogLevel", "error");
|
||||
System.setProperty("org.slf4j.simpleLogger.showThreadName", "false");
|
||||
System.setProperty("vertx.logger-delegate-factory-class-name", "io.vertx.core.logging.SLF4JLogDelegateFactory");
|
||||
Vertx.vertx(new VertxOptions().setMetricsOptions(new DropwizardMetricsOptions().setEnabled(true))).deployVerticle(new APIv3());
|
||||
Vertx.vertx().deployVerticle(new APIv3());
|
||||
}
|
||||
|
||||
}
|
Loading…
Reference in New Issue
Block a user