12 writes to DisplayName
Aspire.Microsoft.Data.SqlClient (1)
src\Vendoring\OpenTelemetry.Instrumentation.SqlClient\Implementation\SqlClientDiagnosticListener.cs (1)
99activity.DisplayName = (string)database;
Aspire.Microsoft.EntityFrameworkCore.SqlServer (1)
src\Vendoring\OpenTelemetry.Instrumentation.SqlClient\Implementation\SqlClientDiagnosticListener.cs (1)
99activity.DisplayName = (string)database;
Microsoft.AspNetCore.SignalR.Client.Core (2)
HubConnection.cs (2)
1114activity.DisplayName = $"{_serviceName}/{methodName}"; 1119activity.DisplayName = methodName;
Microsoft.AspNetCore.SignalR.Core (1)
Internal\DefaultHubDispatcher.cs (1)
887activity.DisplayName = $"{_fullHubName}/{methodName}";
System.Net.Http (3)
System\Net\Http\DiagnosticsHandler.cs (1)
116activity.DisplayName = HttpMethod.GetKnownMethod(request.Method.Method)?.Method ?? "HTTP";
System\Net\Http\SocketsHttpHandler\ConnectionPool\ConnectionSetupDistributedTracing.cs (2)
28activity.DisplayName = $"HTTP connection_setup {authority.HostValue}:{authority.Port}"; 77activity.DisplayName = $"HTTP wait_for_connection {authority.HostValue}:{authority.Port}";
System.Net.NameResolution (1)
System\Net\NameResolutionTelemetry.cs (1)
176_activity.DisplayName = hostNameOrAddress is IPAddress ? $"DNS reverse lookup {host}" : $"DNS lookup {host}";
System.Net.Security (1)
System\Net\Security\NetSecurityTelemetry.cs (1)
321activity.DisplayName = stream.IsServer ? "TLS server handshake" : $"TLS client handshake {stream.TargetHostName}";
System.Net.Sockets (2)
System\Net\Sockets\SocketsTelemetry.cs (2)
110activity.DisplayName = $"socket connect {ipEndPoint.Address}:{port}"; 129activity.DisplayName = $"socket connect {peerAddress}";
27 references to DisplayName
Microsoft.AspNetCore.SignalR.Client.FunctionalTests (26)
HubConnectionTests.Tracing.cs (26)
144Assert.Equal($"{serverHubName}/OnConnectedAsync", a.DisplayName); 154Assert.Equal($"{serverHubName}/HelloWorld", a.DisplayName); 166Assert.Equal($"{serverHubName}/HelloWorld", a.DisplayName); 178Assert.Equal($"{serverHubName}/OnDisconnectedAsync", a.DisplayName); 188Assert.Equal($"{clientHubName}/HelloWorld", clientActivity1.DisplayName); 205Assert.Equal($"{clientHubName}/HelloWorld", clientActivity2.DisplayName); 316Assert.Equal($"{hubName}/OnConnectedAsync", a.DisplayName); 326Assert.Equal($"{hubName}/Stream", a.DisplayName); 339Assert.Equal($"{hubName}/OnDisconnectedAsync", a.DisplayName); 348Assert.Equal($"{clientHubName}/Stream", clientActivity.DisplayName); 443a => Assert.Equal($"{hubName}/OnConnectedAsync", a.DisplayName), 446Assert.Equal($"{hubName}/Stream", a.DisplayName); 452a => Assert.Equal($"{hubName}/OnDisconnectedAsync", a.DisplayName)); 454Assert.Equal($"{clientHubName}/Stream", clientActivity.DisplayName); 540a => Assert.Equal($"{serverHubName}/OnConnectedAsync", a.DisplayName), 543Assert.Equal($"{serverHubName}/StreamException", a.DisplayName); 549a => Assert.Equal($"{serverHubName}/OnDisconnectedAsync", a.DisplayName)); 551Assert.Equal($"{clientHubName}/StreamException", clientActivity.DisplayName); 635a => Assert.Equal($"{serverHubName}/OnConnectedAsync", a.DisplayName), 638Assert.Equal($"{serverHubName}/InvokeException", a.DisplayName); 644a => Assert.Equal($"{serverHubName}/OnDisconnectedAsync", a.DisplayName)); 647Assert.Equal($"{clientHubName}/InvokeException", clientActivity.DisplayName); 734a => Assert.Equal($"{serverHubName}/OnConnectedAsync", a.DisplayName), 737Assert.Equal($"{serverHubName}/CallEcho", a.DisplayName); 740a => Assert.Equal($"{serverHubName}/OnDisconnectedAsync", a.DisplayName)); 743Assert.Equal($"{clientHubName}/CallEcho", clientActivity.DisplayName);
Microsoft.AspNetCore.SignalR.Tests (1)
HubConnectionHandlerTests.Activity.cs (1)
497Assert.Equal($"{typeof(THub).FullName}/{methodName}", activity.DisplayName);