Commit two forgotten files from taking out metrics

This commit is contained in:
Colin McDonald 2016-07-09 17:23:02 -04:00
parent a30823099d
commit a6e31129e9
2 changed files with 1 additions and 8 deletions

View File

@ -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>

View File

@ -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());
}
}