2 writes to Source
System.Diagnostics.DiagnosticSource (2)
System\Diagnostics\Activity.cs (2)
456Source = s_defaultSource; 1184activity.Source = source;
21 references to Source
Aspire.Components.Common.Tests (1)
ConformanceTests.cs (1)
453Assert.Contains(exportedActivities, activity => activity.Source.Name == ActivitySourceName);
Aspire.Microsoft.Data.SqlClient (2)
src\Vendoring\OpenTelemetry.Instrumentation.SqlClient\Implementation\SqlClientDiagnosticListener.cs (2)
154if (activity.Source != SqlActivitySourceHelper.ActivitySource) 172if (activity.Source != SqlActivitySourceHelper.ActivitySource)
Aspire.Microsoft.EntityFrameworkCore.SqlServer (2)
src\Vendoring\OpenTelemetry.Instrumentation.SqlClient\Implementation\SqlClientDiagnosticListener.cs (2)
154if (activity.Source != SqlActivitySourceHelper.ActivitySource) 172if (activity.Source != SqlActivitySourceHelper.ActivitySource)
Microsoft.AspNetCore.SignalR.Client.FunctionalTests (6)
HubConnectionTests.Tracing.cs (6)
46if (activity.Source == clientSourceContainer.ActivitySource) 241if (activity.Source == clientSourceContainer.ActivitySource) 385if (activity.Source == clientSourceContainer.ActivitySource) 488if (activity.Source == clientSourceContainer.ActivitySource) 584if (activity.Source == clientSourceContainer.ActivitySource) 674if (activity.Source == clientSourceContainer.ActivitySource)
Microsoft.AspNetCore.SignalR.Tests (1)
HubConnectionHandlerTests.Activity.cs (1)
495Assert.Equal(SignalRServerActivitySource.Name, activity.Source.Name);
System.Diagnostics.DiagnosticSource (7)
System\Diagnostics\Activity.cs (3)
561Source.NotifyActivityAddException(this, exception, ref exceptionTags); 836Source.NotifyActivityStart(this); 865Source.NotifyActivityStop(this);
System\Diagnostics\DsesActivitySourceListener.cs (4)
174if (TryFindSpecForActivity(activity.Source.Name, activity.OperationName, out var spec) 177_eventSource.ActivityStart(activity.Source.Name, activity.OperationName, spec.Morph(activity)); 185if (TryFindSpecForActivity(activity.Source.Name, activity.OperationName, out var spec) 188_eventSource.ActivityStop(activity.Source.Name, activity.OperationName, spec.Morph(activity));
System.Net.Http (2)
System\Net\Http\SocketsHttpHandler\ConnectionPool\ConnectionSetupDistributedTracing.cs (1)
91if (requestActivity?.Source == DiagnosticsHandler.s_activitySource)
System\Net\Http\SocketsHttpHandler\ConnectionPool\HttpConnectionWaiter.cs (1)
22return HttpTelemetry.Log.IsEnabled() || pool.Settings._metrics!.RequestsQueueDuration.Enabled || Activity.Current?.Source == DiagnosticsHandler.s_activitySource