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

OpenTelemetry.Metrics.PeriodicExportingMetricReader

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

Initializes a new instance of the PeriodicExportingMetricReader class.