See: Description
Interface | Description |
---|---|
MetricExporter |
MetricExporter is the interface that all "push based" metric libraries should use to
export metrics to the OpenTelemetry exporters. |
MetricProducer |
MetricProducer is the interface that all "pull based" metric libraries should implement
in order to make data available to the OpenTelemetry exporters. |
Class | Description |
---|---|
IntervalMetricReader |
Wraps a list of
MetricProducer s and automatically reads and exports the metrics every
export interval. |
IntervalMetricReader.Builder |
Builder for
IntervalMetricReader . |
Enum | Description |
---|---|
MetricExporter.ResultCode |
The possible results for the export method.
|
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.