diff --git a/service/pom.xml b/service/pom.xml index e83ec0cb3..b27ac8c71 100644 --- a/service/pom.xml +++ b/service/pom.xml @@ -81,9 +81,9 @@ - io.micrometer + com.newrelic.telemetry micrometer-registry-new-relic - 1.5.2 + 0.5.0 diff --git a/service/src/main/java/org/whispersystems/textsecuregcm/WhisperServerService.java b/service/src/main/java/org/whispersystems/textsecuregcm/WhisperServerService.java index 606678859..29f877b9e 100644 --- a/service/src/main/java/org/whispersystems/textsecuregcm/WhisperServerService.java +++ b/service/src/main/java/org/whispersystems/textsecuregcm/WhisperServerService.java @@ -43,10 +43,9 @@ import io.dropwizard.setup.Bootstrap; import io.dropwizard.setup.Environment; import io.lettuce.core.RedisURI; import io.lettuce.core.cluster.RedisClusterClient; -import io.micrometer.core.instrument.Clock; +import io.micrometer.NewRelicRegistryConfig; import io.micrometer.core.instrument.Metrics; -import io.micrometer.newrelic.NewRelicConfig; -import io.micrometer.newrelic.NewRelicMeterRegistry; +import io.micrometer.newrelic.NewRelicRegistry; import io.micrometer.wavefront.WavefrontConfig; import io.micrometer.wavefront.WavefrontMeterRegistry; import org.bouncycastle.jce.provider.BouncyCastleProvider; @@ -252,22 +251,17 @@ public class WhisperServerService extends Application