You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
services.AddOpenTelemetryTracing(builder =>
{
builder.Configure(
(sp, b) => b.AddAspNetCoreInstrumentation());
});
var tracerFactory = serviceProvider.GetRequiredService<TracerProvider>();
occurred exception
System.InvalidOperationException: 'Collection was modified; enumeration operation may not execute.'
The reason that AddAspNetCoreInstrumentation method also executes builder. Configure method. But for my point of view if I can call AddAspNetCoreInstrumentation from the builder. Configure there are should not be exceptions
The text was updated successfully, but these errors were encountered:
Bug Report
Symptom
occurred exception
System.InvalidOperationException: 'Collection was modified; enumeration operation may not execute.'
The reason that AddAspNetCoreInstrumentation method also executes builder. Configure method. But for my point of view if I can call AddAspNetCoreInstrumentation from the builder. Configure there are should not be exceptions
The text was updated successfully, but these errors were encountered: