OpenTelemetry.Metrics.MetricReader
MetricReader base class.
Gets or sets the metric reader temporality preference.
protected MetricReader()
Attempts to collect the metrics, blocks the current thread until
metrics collection completed, shutdown signaled or timed out.
If there are asynchronous instruments involved, their callback
functions will be triggered.
Releases the unmanaged resources used by this class and optionally
releases the managed resources.
Called by Collect. This function should block the current
thread until metrics collection completed, shutdown signaled or
timed out.
Called by Shutdown. This function should block the current
thread until shutdown completed or timed out.
Attempts to shutdown the processor, blocks the current thread until
shutdown completed or timed out.