OpenTelemetry.Internal.PeriodicExportingMetricReaderWorker
Abstract base class for periodic exporting metric reader workers that handle the threading and synchronization logic.
Gets he interval in milliseconds between two consecutive exports.
Gets how long the export can run before it is cancelled.
Gets the metric reader instance.
protected PeriodicExportingMetricReaderWorker(BaseExportingMetricReader metricReader, int exportIntervalMilliseconds, int exportTimeoutMilliseconds)
Initializes a new instance of the PeriodicExportingMetricReaderWorker class.
Disposes of the worker and its resources.
Releases the unmanaged resources used by this class and optionally releases the managed resources.
Initiates shutdown and waits for completion.
Starts the worker.
Triggers an export operation.