Class DynatraceExporterV2

java.lang.Object
io.micrometer.dynatrace.AbstractDynatraceExporter
io.micrometer.dynatrace.v2.DynatraceExporterV2

public final class DynatraceExporterV2 extends AbstractDynatraceExporter
Implementation for Dynatrace v2 metrics API export.
Since:
1.8.0
  • Constructor Details

    • DynatraceExporterV2

      public DynatraceExporterV2(DynatraceConfig config, io.micrometer.core.instrument.Clock clock, io.micrometer.core.ipc.http.HttpSender httpClient)
  • Method Details

    • export

      public void export(List<io.micrometer.core.instrument.Meter> meters)
      Export to the Dynatrace v2 endpoint. Measurements that contain NaN or Infinite values, as well as serialized data points that exceed length limits imposed by the API will be dropped and not exported. If the number of serialized data points exceeds the maximum number of allowed data points per request they will be sent in chunks.
      Specified by:
      export in class AbstractDynatraceExporter
      Parameters:
      meters - A list of Meters that are serialized as one or more metric lines.