Class MetricExporter

java.lang.Object
io.opencensus.exporter.metrics.util.MetricExporter
Direct Known Subclasses:
PrometheusStatsCollector.DescribeMetricExporter, PrometheusStatsCollector.ExportMetricExporter

public abstract class MetricExporter extends Object
Abstract class that represents a metric exporter.
Since:
0.19
  • Constructor Details

    • MetricExporter

      public MetricExporter()
  • Method Details

    • export

      public abstract void export(Collection<Metric> metrics)
      Exports the list of given Metric.
      Parameters:
      metrics - the list of Metric to be exported.
      Since:
      0.19