Package
None
Is your feature request related to a problem?
Based on the code:
https://github.com/open-telemetry/opentelemetry-dotnet/blame/main/src/OpenTelemetry/Metrics/AggregatorStore.cs#L487
it looks like the cardinality limit preserve the first values instead of the newest. For more context see discussion in dotnet/runtime#122752 (comment)
The original problem is reported in Azure/azure-sdk-for-net#52674
What is the expected behavior?
Cardinality limit should preserve the most recent values.
Which alternative solutions or features have you considered?
Additional context
No response
Tip
React with 👍 to help prioritize this issue. Please use comments to provide useful context, avoiding +1 or me too, to help us triage it. Learn more here.
Package
None
Is your feature request related to a problem?
Based on the code:
https://github.com/open-telemetry/opentelemetry-dotnet/blame/main/src/OpenTelemetry/Metrics/AggregatorStore.cs#L487
it looks like the cardinality limit preserve the first values instead of the newest. For more context see discussion in dotnet/runtime#122752 (comment)
The original problem is reported in Azure/azure-sdk-for-net#52674
What is the expected behavior?
Cardinality limit should preserve the most recent values.
Which alternative solutions or features have you considered?
Additional context
No response
Tip
React with 👍 to help prioritize this issue. Please use comments to provide useful context, avoiding
+1orme too, to help us triage it. Learn more here.