diff --git a/apm-agent-plugins/apm-micrometer-plugin/src/main/java/co/elastic/apm/agent/micrometer/MicrometerMeterRegistrySerializer.java b/apm-agent-plugins/apm-micrometer-plugin/src/main/java/co/elastic/apm/agent/micrometer/MicrometerMeterRegistrySerializer.java index 14e207a71d..590cf1a4f3 100644 --- a/apm-agent-plugins/apm-micrometer-plugin/src/main/java/co/elastic/apm/agent/micrometer/MicrometerMeterRegistrySerializer.java +++ b/apm-agent-plugins/apm-micrometer-plugin/src/main/java/co/elastic/apm/agent/micrometer/MicrometerMeterRegistrySerializer.java @@ -26,8 +26,6 @@ import co.elastic.apm.agent.tracer.configuration.MetricsConfiguration; import co.elastic.apm.agent.tracer.reporting.DataWriter; import co.elastic.apm.agent.tracer.reporting.ReportingTracer; -import com.dslplatform.json.DslJson; -import com.dslplatform.json.JsonWriter; import io.micrometer.core.instrument.Counter; import io.micrometer.core.instrument.DistributionSummary; import io.micrometer.core.instrument.FunctionCounter; @@ -326,14 +324,4 @@ private static void serializeObjectStart(String key, String objectName, String s private static boolean isValidValue(double value) { return !Double.isNaN(value) && !Double.isInfinite(value); } - - public static void main(String[] args) { - DslJson dslJson = new DslJson<>(new DslJson.Settings<>()); - JsonWriter jw = dslJson.newWriter(512); - jw.writeAscii("\"foo\""); - //jw.writeString("foo"); - String string = jw.toString(); - System.out.println(string); - - } }