64 references to ActivityKind
Aspire.Microsoft.Data.SqlClient (1)
src\Vendoring\OpenTelemetry.Instrumentation.SqlClient\Implementation\SqlClientDiagnosticListener.cs (1)
58ActivityKind.Client,
Aspire.Microsoft.EntityFrameworkCore.SqlServer (1)
src\Vendoring\OpenTelemetry.Instrumentation.SqlClient\Implementation\SqlClientDiagnosticListener.cs (1)
58ActivityKind.Client,
Aspire.RabbitMQ.Client (2)
Aspire.StackExchange.Redis (1)
src\Vendoring\OpenTelemetry.Instrumentation.StackExchangeRedis\Implementation\RedisProfilerEntryToActivityConverter.cs (1)
86ActivityKind.Client,
CatalogDb (1)
DatabaseMigration.MigrationService (1)
Microsoft.AspNetCore.Diagnostics (1)
Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore (1)
Microsoft.AspNetCore.Hosting (2)
Microsoft.AspNetCore.SignalR.Client.Core (1)
Microsoft.AspNetCore.SignalR.Client.FunctionalTests (14)
HubConnectionTests.Tracing.cs (14)
146Assert.Equal(ActivityKind.Internal, a.Kind);
156Assert.Equal(ActivityKind.Server, a.Kind);
168Assert.Equal(ActivityKind.Server, a.Kind);
180Assert.Equal(ActivityKind.Internal, a.Kind);
189Assert.Equal(ActivityKind.Client, clientActivity1.Kind);
206Assert.Equal(ActivityKind.Client, clientActivity2.Kind);
317Assert.Equal(ActivityKind.Internal, a.Kind);
327Assert.Equal(ActivityKind.Server, a.Kind);
340Assert.Equal(ActivityKind.Internal, a.Kind);
349Assert.Equal(ActivityKind.Client, clientActivity.Kind);
455Assert.Equal(ActivityKind.Client, clientActivity.Kind);
552Assert.Equal(ActivityKind.Client, clientActivity.Kind);
648Assert.Equal(ActivityKind.Client, clientActivity.Kind);
744Assert.Equal(ActivityKind.Client, clientActivity.Kind);
Microsoft.AspNetCore.SignalR.Core (6)
Internal\DefaultHubDispatcher.cs (5)
95activity = StartActivity(SignalRServerActivitySource.OnConnected, ActivityKind.Internal, linkedActivity: null, scope.ServiceProvider, nameof(hub.OnConnectedAsync), headers: null, _logger);
130activity = StartActivity(SignalRServerActivitySource.OnDisconnected, ActivityKind.Internal, linkedActivity: null, scope.ServiceProvider, nameof(hub.OnDisconnectedAsync), headers: null, _logger);
407var activity = StartActivity(SignalRServerActivitySource.InvocationIn, ActivityKind.Server, connection.OriginalActivity, scope.ServiceProvider, hubMethodInvocationMessage.Target, hubMethodInvocationMessage.Headers, logger);
525var activity = StartActivity(SignalRServerActivitySource.InvocationIn, ActivityKind.Server, connection.OriginalActivity, scope.ServiceProvider, hubMethodInvocationMessage.Target, hubMethodInvocationMessage.Headers, _logger);
834private static Activity? StartActivity(string operationName, ActivityKind kind, Activity? linkedActivity, IServiceProvider serviceProvider, string methodName, IDictionary<string, string>? headers, ILogger logger)
Microsoft.AspNetCore.SignalR.Tests (1)
Stress.ApiService (7)
System.Diagnostics.DiagnosticSource (23)
System\Diagnostics\ActivitySource.cs (16)
103/// <param name="kind">The <see cref="ActivityKind"/></param>
108public Activity? CreateActivity(string name, ActivityKind kind)
116/// <param name="kind">The <see cref="ActivityKind"/></param>
125public Activity? CreateActivity(string name, ActivityKind kind, ActivityContext parentContext, IEnumerable<KeyValuePair<string, object?>>? tags = null, IEnumerable<ActivityLink>? links = null, ActivityIdFormat idFormat = ActivityIdFormat.Unknown)
132/// <param name="kind">The <see cref="ActivityKind"/></param>
141public Activity? CreateActivity(string name, ActivityKind kind, string? parentId, IEnumerable<KeyValuePair<string, object?>>? tags = null, IEnumerable<ActivityLink>? links = null, ActivityIdFormat idFormat = ActivityIdFormat.Unknown)
148/// <param name="kind">The <see cref="ActivityKind"/></param>
150public Activity? StartActivity([CallerMemberName] string name = "", ActivityKind kind = ActivityKind.Internal)
157/// <param name="kind">The <see cref="ActivityKind"/></param>
163public Activity? StartActivity(string name, ActivityKind kind, ActivityContext parentContext, IEnumerable<KeyValuePair<string, object?>>? tags = null, IEnumerable<ActivityLink>? links = null, DateTimeOffset startTime = default)
170/// <param name="kind">The <see cref="ActivityKind"/></param>
176public Activity? StartActivity(string name, ActivityKind kind, string? parentId, IEnumerable<KeyValuePair<string, object?>>? tags = null, IEnumerable<ActivityLink>? links = null, DateTimeOffset startTime = default)
182/// <param name="kind">The <see cref="ActivityKind"/></param>
189public Activity? StartActivity(ActivityKind kind, ActivityContext parentContext = default, IEnumerable<KeyValuePair<string, object?>>? tags = null, IEnumerable<ActivityLink>? links = null, DateTimeOffset startTime = default, [CallerMemberName] string name = "")
192private Activity? CreateActivity(string name, ActivityKind kind, ActivityContext context, string? parentId, IEnumerable<KeyValuePair<string, object?>>? tags,
System.Net.Http (1)