opentelemetry-dotnet
opentelemetry-dotnet copied to clipboard
Metric - concurrency test improvements
Current tests are very limited: https://github.com/open-telemetry/opentelemetry-dotnet/blob/main/test/OpenTelemetry.Tests/Metrics/MetricAPITest.cs#L241
- Need to test the special case of "no tags".
- Need to add test where different tags are updated by diff. threads. (To catch these https://github.com/open-telemetry/opentelemetry-dotnet/pull/2339#discussion_r711239998)
- Need to add test where same tags are updated by diff. threads. (already covered for single dimension. Need to modify for more dimensions as there are special ThreadLocal optimizations for upto N.)
This issue was marked stale due to lack of activity and will be closed in 7 days. Commenting will instruct the bot to automatically remove the label. This bot runs once per day.
Closed as inactive. Feel free to reopen if this issue is still a concern.