@ParametersAreNonnullByDefault
Package io.opentelemetry.sdk.metrics.export
Utilities that allow to export metrics to the OpenTelemetry exporters.
Contents
Configuration options for IntervalMetricReader can
be read from system properties, environment variables, or Properties objects.
For system properties and Properties objects, IntervalMetricReader will look for the following names:
otel.imr.export.interval: sets the export interval between pushes to the exporter.
For environment variables, IntervalMetricReader
will look for the following names:
OTEL_IMR_EXPORT_INTERVAL: sets the export interval between pushes to the exporter.
-
Interface Summary Interface Description MetricExporter MetricExporteris the interface that all "push based" metric libraries should use to export metrics to the OpenTelemetry exporters.MetricProducer MetricProduceris the interface that is used to make metric data available to the OpenTelemetry exporters. -
Class Summary Class Description IntervalMetricReader Wraps a list ofMetricProducers and automatically reads and exports the metrics every export interval.IntervalMetricReaderBuilder Builder forIntervalMetricReader.