Skip to content

[blazor] shared instances of ActivitySource #62439

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jun 24, 2025

Conversation

pavelsavara
Copy link
Member

@pavelsavara pavelsavara commented Jun 23, 2025

registering new ActivitySource instance for each scope is expensive.

crank before the fix

image

crank after the fix

image

@pavelsavara pavelsavara added this to the 10.0-preview7 milestone Jun 23, 2025
@pavelsavara pavelsavara self-assigned this Jun 23, 2025
@pavelsavara pavelsavara added the area-blazor Includes: Blazor, Razor Components label Jun 23, 2025
@pavelsavara pavelsavara marked this pull request as ready for review June 23, 2025 18:36
@pavelsavara pavelsavara requested a review from a team as a code owner June 23, 2025 18:36
@pavelsavara pavelsavara enabled auto-merge (squash) June 24, 2025 07:22
@pavelsavara pavelsavara merged commit 45635b6 into dotnet:main Jun 24, 2025
27 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-blazor Includes: Blazor, Razor Components
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants