<PackageReference Include="OpenTelemetry" Version="1.13.0" />

OpenTelemetry.Metrics.PeriodicExportingMetricReader

MetricReader implementation which collects metrics based on a user-configurable time interval and passes the metrics to the configured MetricExporter.
namespace OpenTelemetry.Metrics { public class PeriodicExportingMetricReader : BaseExportingMetricReader { public PeriodicExportingMetricReader(BaseExporter<Metric> exporter, int exportIntervalMilliseconds = 60000, int exportTimeoutMilliseconds = 30000); } }