Class MetricFromDiskExporter

java.lang.Object
io.opentelemetry.contrib.disk.buffering.MetricFromDiskExporter
All Implemented Interfaces:
io.opentelemetry.contrib.disk.buffering.internal.exporter.FromDiskExporter

public class MetricFromDiskExporter extends Object implements io.opentelemetry.contrib.disk.buffering.internal.exporter.FromDiskExporter
  • Method Details

    • create

      public static MetricFromDiskExporter create(io.opentelemetry.sdk.metrics.export.MetricExporter exporter, StorageConfiguration config) throws IOException
      Throws:
      IOException
    • exportStoredBatch

      public boolean exportStoredBatch(long timeout, TimeUnit unit) throws IOException
      Specified by:
      exportStoredBatch in interface io.opentelemetry.contrib.disk.buffering.internal.exporter.FromDiskExporter
      Throws:
      IOException
    • shutdown

      public void shutdown() throws IOException
      Specified by:
      shutdown in interface io.opentelemetry.contrib.disk.buffering.internal.exporter.FromDiskExporter
      Throws:
      IOException