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

OpenTelemetry.Metrics.MetricReaderTemporalityPreference

Defines the behavior of a MetricReader with respect to AggregationTemporality.

All aggregations are performed using cumulative temporality.

Delta = 2

All measurements that are monotonic in nature are aggregated using delta temporality. Aggregations of non-monotonic measurements use cumulative temporality.

Uses delta temporality for synchronous Counter and Histogram instruments and cumulative temporality for synchronous UpDownCounter, ObservableCounter and ObservableUpDownCounter instruments. This mode reduces SDK memory usage by avoiding the need to store both cumulative and delta states for temporality conversion.