61 references to Id
Aspire.Dashboard (1)
Components\Pages\Error.razor.cs (1)
24RequestId = Activity.Current?.Id ?? HttpContext?.TraceIdentifier;
AzureAIFoundryEndToEnd.WebStory (1)
Components_Pages_Error_razor.g.cs (1)
155RequestId = Activity.Current?.Id ?? HttpContext?.TraceIdentifier;
AzureOpenAIEndToEnd.WebStory (1)
Components_Pages_Error_razor.g.cs (1)
155RequestId = Activity.Current?.Id ?? HttpContext?.TraceIdentifier;
BlazorUnitedApp (1)
artifacts\obj\BlazorUnitedApp\Release\net10.0\Microsoft.CodeAnalysis.Razor.Compiler\Microsoft.NET.Sdk.Razor.SourceGenerators.RazorSourceGenerator\Pages_Error_razor.g.cs (1)
163RequestId = Activity.Current?.Id ?? HttpContext?.TraceIdentifier;
BrowserTelemetry.Web (1)
Pages_Shared__Layout_cshtml.g.cs (1)
123currentActivity.Id
ClaimsTransformation (1)
Controllers\HomeController.cs (1)
26return View(new ErrorViewModel { RequestId = Activity.Current?.Id ?? HttpContext.TraceIdentifier });
Cookies (1)
Controllers\HomeController.cs (1)
26return View(new ErrorViewModel { RequestId = Activity.Current?.Id ?? HttpContext.TraceIdentifier });
DevTunnels.WebFrontEnd (1)
Components_Pages_Error_razor.g.cs (1)
155RequestId = Activity.Current?.Id ?? HttpContext?.TraceIdentifier;
DynamicSchemes (1)
Pages\Error.cshtml.cs (1)
21RequestId = Activity.Current?.Id ?? HttpContext.TraceIdentifier;
GitHubModelsEndToEnd.WebStory (1)
Components_Pages_Error_razor.g.cs (1)
155RequestId = Activity.Current?.Id ?? HttpContext?.TraceIdentifier;
HostedBlazorWebassemblyApp.Server (1)
Pages\Error.cshtml.cs (1)
32RequestId = Activity.Current?.Id ?? HttpContext.TraceIdentifier;
Keycloak.Web (1)
Components_Pages_Error_razor.g.cs (1)
155RequestId = Activity.Current?.Id ?? HttpContext?.TraceIdentifier;
Microsoft.AspNetCore.Hosting.Tests (1)
HostingApplicationTests.cs (1)
122Assert.Equal(activityFeature.Activity.Id, Activity.Current.ParentId);
Microsoft.AspNetCore.Http.Extensions (1)
DefaultProblemDetailsWriter.cs (1)
58var traceId = Activity.Current?.Id ?? httpContext.TraceIdentifier;
Microsoft.AspNetCore.Identity.UI (2)
Areas\Identity\Pages\V4\Error.cshtml.cs (1)
37RequestId = Activity.Current?.Id ?? HttpContext.TraceIdentifier;
Areas\Identity\Pages\V5\Error.cshtml.cs (1)
37RequestId = Activity.Current?.Id ?? HttpContext.TraceIdentifier;
Microsoft.AspNetCore.Mvc.Core (1)
Infrastructure\DefaultProblemDetailsFactory.cs (1)
105var traceId = Activity.Current?.Id ?? httpContext?.TraceIdentifier;
Microsoft.AspNetCore.Mvc.Core.Test (2)
DependencyInjection\ApiBehaviorOptionsSetupTest.cs (1)
110Assert.Equal(Activity.Current.Id, problemDetails.Extensions["traceId"]);
Infrastructure\ProblemDetalsClientErrorFactoryTest.cs (1)
91Assert.Equal(Activity.Current.Id, problemDetails.Extensions["traceId"]);
Microsoft.AspNetCore.Mvc.FunctionalTests (1)
XmlSerializerFormattersWrappingTest.cs (1)
211$"<traceId>{Activity.Current.Id}</traceId>" +
Microsoft.AspNetCore.SignalR.Client.FunctionalTests (4)
HubConnectionTests.Tracing.cs (4)
155Assert.Equal(clientActivity1.Id, a.ParentId); 167Assert.Equal(clientActivity2.Id, a.ParentId); 328Assert.Equal(clientActivity.Id, a.ParentId); 738Assert.Equal(clientActivity.Id, a.ParentId);
Microsoft.AspNetCore.SignalR.Client.Tests (3)
HubConnectionTests.Tracing.cs (3)
46Assert.Equal(clientActivity.Id, traceParent); 83Assert.Equal(clientActivity.Id, traceParent); 121Assert.Equal(clientActivity.Id, traceParent);
Microsoft.Extensions.AI.Integration.Tests (4)
ChatClientIntegrationTests.cs (2)
947Assert.NotNull(activity.Id); 948Assert.NotEmpty(activity.Id);
EmbeddingGeneratorIntegrationTests.cs (2)
129Assert.NotNull(activity.Id); 130Assert.NotEmpty(activity.Id);
Microsoft.Extensions.AI.Tests (6)
ChatCompletion\OpenTelemetryChatClientTests.cs (2)
155Assert.NotNull(activity.Id); 156Assert.NotEmpty(activity.Id);
Embeddings\OpenTelemetryEmbeddingGeneratorTests.cs (2)
77Assert.NotNull(activity.Id); 78Assert.NotEmpty(activity.Id);
Image\OpenTelemetryImageGeneratorTests.cs (2)
94Assert.NotNull(activity.Id); 95Assert.NotEmpty(activity.Id);
Microsoft.Extensions.Logging (1)
LoggerFactoryScopeProvider.cs (1)
295ActivityIdFormat.Hierarchical => activity.Id,
Microsoft.Extensions.Telemetry (1)
Logging\Import\LoggerFactoryScopeProvider.cs (1)
309ActivityIdFormat.Hierarchical => activity.Id,
Microsoft.Extensions.Telemetry.Tests (1)
Logging\ExtendedLoggerFactoryTests.cs (1)
662ActivityIdFormat.Hierarchical => activity.Id,
MvcFormSample (1)
Controllers\HomeController.cs (1)
48return View(new ErrorViewModel { RequestId = Activity.Current?.Id ?? HttpContext.TraceIdentifier });
MyFrontend (1)
Components_Pages_Error_razor.g.cs (1)
167requestId = Activity.Current?.Id ?? HttpContext?.TraceIdentifier;
OpenAIEndToEnd.WebStory (1)
Components_Pages_Error_razor.g.cs (1)
155RequestId = Activity.Current?.Id ?? HttpContext?.TraceIdentifier;
PathSchemeSelection (1)
Controllers\HomeController.cs (1)
26return View(new ErrorViewModel { RequestId = Activity.Current?.Id ?? HttpContext.TraceIdentifier });
Publishers.Frontend (1)
Components_Pages_Error_razor.g.cs (1)
155RequestId = Activity.Current?.Id ?? HttpContext?.TraceIdentifier;
SignalRServerlessWeb (1)
Pages_Shared__Layout_cshtml.g.cs (1)
123currentActivity.Id
SignalRWeb (1)
Pages_Shared__Layout_cshtml.g.cs (1)
123currentActivity.Id
StaticFilesAuth (1)
Controllers\HomeController.cs (1)
24return View(new ErrorViewModel { RequestId = Activity.Current?.Id ?? HttpContext.TraceIdentifier });
System.Diagnostics.DiagnosticSource (10)
System\Diagnostics\Activity.cs (7)
287Interlocked.CompareExchange(ref _parentId, Parent.Id, null); 311if (Id != null) 313rootId = GetRootId(Id); 783/// <item>Generates a unique <see cref="Id"/> for this activity.</item> 1327Debug.Assert(!string.IsNullOrEmpty(Parent.Id)); 1328ret = AppendSuffix(Parent.Id, Interlocked.Increment(ref Parent._currentChildId).ToString(), '.'); 1411bool canSet = activity == null || (activity.Id != null && !activity.IsStopped);
System\Diagnostics\LegacyPropagator.cs (1)
23string? id = activity.Id;
System\Diagnostics\PassThroughPropagator.cs (1)
54parentId = activity?.ParentId ?? activity?.Id;
System\Diagnostics\W3CPropagator.cs (1)
33string? id = activity.Id;
WaitFor.Frontend (1)
Components_Pages_Error_razor.g.cs (1)
155RequestId = Activity.Current?.Id ?? HttpContext?.TraceIdentifier;
WebFrontEnd (1)
Components_Pages_Error_razor.g.cs (1)
155RequestId = Activity.Current?.Id ?? HttpContext?.TraceIdentifier;
WebPubSubWeb (1)
Pages_Shared__Layout_cshtml.g.cs (1)
123currentActivity.Id