38 references to ActivityStatusCode
Aspire.Microsoft.Data.SqlClient (1)
src\Vendoring\OpenTelemetry.Instrumentation.SqlClient\Implementation\SqlClientDiagnosticListener.cs (1)
183activity.SetStatus(ActivityStatusCode.Error, exception.Message);
Aspire.Microsoft.EntityFrameworkCore.SqlServer (1)
src\Vendoring\OpenTelemetry.Instrumentation.SqlClient\Implementation\SqlClientDiagnosticListener.cs (1)
183activity.SetStatus(ActivityStatusCode.Error, exception.Message);
Aspire.RabbitMQ.Client (1)
AspireRabbitMQExtensions.cs (1)
203connectAttemptActivity.SetStatus(ActivityStatusCode.Error);
Microsoft.AspNetCore.SignalR.Client.Core (7)
HubConnection.cs (2)
1055activity.SetStatus(ActivityStatusCode.Error); 1250activity.SetStatus(ActivityStatusCode.Error);
Internal\InvocationRequest.cs (5)
99Activity.SetStatus(ActivityStatusCode.Error); 127Activity.SetStatus(ActivityStatusCode.Error); 158Activity.SetStatus(ActivityStatusCode.Error); 202Activity.SetStatus(ActivityStatusCode.Error); 223Activity.SetStatus(ActivityStatusCode.Error);
Microsoft.AspNetCore.SignalR.Client.FunctionalTests (16)
HubConnectionTests.Tracing.cs (16)
148Assert.Equal(ActivityStatusCode.Unset, a.Status); 158Assert.Equal(ActivityStatusCode.Unset, a.Status); 170Assert.Equal(ActivityStatusCode.Unset, a.Status); 183Assert.Equal(ActivityStatusCode.Unset, a.Status); 191Assert.Equal(ActivityStatusCode.Unset, clientActivity1.Status); 208Assert.Equal(ActivityStatusCode.Unset, clientActivity2.Status); 319Assert.Equal(ActivityStatusCode.Unset, a.Status); 329Assert.Equal(ActivityStatusCode.Unset, a.Status); 342Assert.Equal(ActivityStatusCode.Unset, a.Status); 351Assert.Equal(ActivityStatusCode.Unset, clientActivity.Status); 447Assert.Equal(ActivityStatusCode.Error, clientActivity.Status); 456Assert.Equal(ActivityStatusCode.Error, clientActivity.Status); 544Assert.Equal(ActivityStatusCode.Error, clientActivity.Status); 553Assert.Equal(ActivityStatusCode.Error, clientActivity.Status); 639Assert.Equal(ActivityStatusCode.Error, clientActivity.Status); 649Assert.Equal(ActivityStatusCode.Error, clientActivity.Status);
Microsoft.AspNetCore.SignalR.Core (1)
Internal\DefaultHubDispatcher.cs (1)
897activity?.SetStatus(ActivityStatusCode.Error);
Microsoft.AspNetCore.SignalR.Tests (2)
HubConnectionHandlerTests.Activity.cs (2)
502Assert.Equal(ActivityStatusCode.Error, activity.Status); 509Assert.Equal(ActivityStatusCode.Unset, activity.Status);
System.Diagnostics.DiagnosticSource (4)
System\Diagnostics\Activity.cs (4)
115private ActivityStatusCode _statusCode; 122public ActivityStatusCode Status => _statusCode; 160public Activity SetStatus(ActivityStatusCode code, string? description = null) 163_statusDescription = code == ActivityStatusCode.Error ? description : null;
System.Net.Http (2)
System\Net\Http\DiagnosticsHandler.cs (1)
213activity.SetStatus(ActivityStatusCode.Error);
System\Net\Http\SocketsHttpHandler\ConnectionPool\ConnectionSetupDistributedTracing.cs (1)
62activity.SetStatus(ActivityStatusCode.Error);
System.Net.NameResolution (1)
System\Net\NameResolutionTelemetry.cs (1)
216_activity.SetStatus(ActivityStatusCode.Error);
System.Net.Security (1)
System\Net\Security\NetSecurityTelemetry.cs (1)
347activity.SetStatus(ActivityStatusCode.Error);
System.Net.Sockets (1)
System\Net\Sockets\SocketsTelemetry.cs (1)
154activity.SetStatus(ActivityStatusCode.Error);