Skip to content
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

[release/9.0] Set GC metrics to zero prior to first GC #107004

Merged
merged 3 commits into from
Aug 27, 2024

Conversation

github-actions[bot]
Copy link
Contributor

@github-actions github-actions bot commented Aug 27, 2024

Backport of #106734 to release/9.0

/cc @noahfalk

Customer Impact

  • Customer reported
  • Found internally

The new runtime metrics we added in 9.0 were originally implemented to not provide some GC metrics before the first GC occured. This behavior differed from what we had talked about in design discussion - that the metrics should be reported with a zero value before first GC. This PR brings the implementation back into alignment with the intended design.

Regression

  • Yes
  • No

Testing

This was verified both with manual testing and with updates to unit tests. Previously the unit tests were also validating the wrong behavior.

Risk

Low - this is a minor behavior change in a feature that released for the first time in preview 7.

@tarekgh tarekgh added this to the 9.0.0 milestone Aug 27, 2024
@tarekgh
Copy link
Member

tarekgh commented Aug 27, 2024

@ericstj @artl93 could you please help approving this one? Thanks!

@artl93
Copy link
Contributor

artl93 commented Aug 27, 2024

M2 approved

@jeffschwMSFT jeffschwMSFT merged commit 87a5855 into release/9.0 Aug 27, 2024
10 checks passed
@ericstj ericstj deleted the backport/pr-106734-to-release/9.0 branch August 29, 2024 02:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants