Skip to content

Conversation

@github-actions
Copy link
Contributor

@github-actions github-actions bot commented Sep 4, 2024

Backport of #107267 to release/9.0

/cc @tarekgh

Customer Impact

  • Customer reported
  • Found internally

[Select one or both of the boxes. Describe how this issue impacts customers, citing the expected and actual behaviors and scope of the issue. If customer-reported, provide the issue number.]

Users and tools that listen to metrics data published via MetricsEventSource out-of-process may encounter different behavior when using an empty filter string. Currently, this filter incorrectly enables listening to all metrics instruments within the process, whereas it should listen to none. This issue was observed by an internal team who experienced performance regressions in some tests due to the unexpected activation of additional instrument listeners. This change reverts the behavior to its original state.

Regression

  • Yes
  • No

[If yes, specify when the regression was introduced. Provide the PR or commit if known.]

#106175

Testing

[How was the fix verified? How was the issue missed previously? What tests were added?]

We have updated the tests to ensure this coverage and ran all regression tests successfully too.

Risk

[High/Medium/Low. Justify the indication by mentioning how risks were measured and addressed.]

Low, no other logic is touched, and we carefully checked the behavior and ensured it works as it used to work in .NET 8.0.

IMPORTANT: If this backport is for a servicing release, please verify that:

  • The PR target branch is release/X.0-staging, not release/X.0.

  • If the change touches code that ships in a NuGet package, you have added the necessary package authoring and gotten it explicitly reviewed.

@dotnet-policy-service
Copy link
Contributor

Tagging subscribers to this area: @tarekgh, @tommcdon, @pjanotti
See info in area-owners.md if you want to be subscribed.

@tarekgh tarekgh requested a review from noahfalk September 4, 2024 21:01
@tarekgh tarekgh added this to the 9.0.0 milestone Sep 4, 2024
@tarekgh tarekgh added the Servicing-consider Issue for next servicing release review label Sep 4, 2024
@tarekgh
Copy link
Member

tarekgh commented Sep 4, 2024

CC @artl93 @ericstj

@tarekgh
Copy link
Member

tarekgh commented Sep 4, 2024

CC @sebastienros @MihaZupan

@tarekgh tarekgh self-assigned this Sep 4, 2024
@artl93 artl93 added Servicing-approved Approved for servicing release and removed Servicing-consider Issue for next servicing release review labels Sep 5, 2024
@artl93 artl93 merged commit 058be4f into release/9.0 Sep 5, 2024
@jkotas jkotas deleted the backport/pr-107267-to-release/9.0 branch September 5, 2024 16:37
@github-actions github-actions bot locked and limited conversation to collaborators Oct 6, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants