Skip to content
Prev Previous commit
Next Next commit
Update HostingApplicationDiagnostics.cs
  • Loading branch information
rkargMsft authored and JamesNK committed Aug 15, 2025
commit 3ec35012076e37b82cd85f7497858e99b9b11215
Original file line number Diff line number Diff line change
Expand Up @@ -388,6 +388,7 @@ private void RecordRequestStartMetrics(HttpContext httpContext)
private Activity? StartActivity(HttpContext httpContext, bool loggingEnabled, bool diagnosticListenerActivityCreationEnabled, out bool hasDiagnosticListener)
{
hasDiagnosticListener = false;

var tagsForCreation = httpContext.Features.Get<IHttpActivityCreationTagsFeature>()?.ActivityCreationTags;
var headers = httpContext.Request.Headers;
var activity = ActivityCreator.CreateFromRemote(
Expand Down