Blazor work doesn't seem to take place within an activity #60788
Labels
area-blazor
Includes: Blazor, Razor Components
Needs: Author Feedback
The author of this issue needs to respond in order for us to continue investigating this issue.
Status: No Recent Activity
While investigating an issue with gen_ai telemetry, I noticed that the work done on a Blazor server doesn't occur within the scope of an Activity, but there is an Activity recorded and emitted by OTel for Blazor requests.
steps to reproduce
Adding the ILogger, imports and extra code to IncrementCount()
logger.LogInformation("In
IncrementCount");
line, and F5, and click the counter button. The breakpoint will be hit but there will not be an Activity or HttpContext.The text was updated successfully, but these errors were encountered: