diff --git a/service/pom.xml b/service/pom.xml
index b63469405..dc6016db6 100644
--- a/service/pom.xml
+++ b/service/pom.xml
@@ -77,7 +77,7 @@
io.micrometer
micrometer-registry-wavefront
- 1.5.2
+ 1.5.3
diff --git a/service/src/main/java/org/whispersystems/textsecuregcm/WhisperServerService.java b/service/src/main/java/org/whispersystems/textsecuregcm/WhisperServerService.java
index bac4774cc..cebeaa162 100644
--- a/service/src/main/java/org/whispersystems/textsecuregcm/WhisperServerService.java
+++ b/service/src/main/java/org/whispersystems/textsecuregcm/WhisperServerService.java
@@ -227,12 +227,9 @@ public class WhisperServerService extends Application micrometerConfigurationByName = config.getMicrometerConfiguration();
{
- // This is a workaround for an issue where the configured step duration isn't being honored by
- // WavefrontMeterRegistry; we can simplify if https://github.com/micrometer-metrics/micrometer/pull/2173 gets
- // merged.
final MicrometerConfiguration micrometerWavefrontConfig = micrometerConfigurationByName.get("wavefront");
- final WavefrontConfig wavefrontConfig = new WavefrontConfig() {
+ Metrics.addRegistry(new WavefrontMeterRegistry(new WavefrontConfig() {
@Override
public String get(final String key) {
return null;
@@ -247,15 +244,15 @@ public class WhisperServerService extends Application