Uh oh!
There was an error while loading. Please reload this page.
Resource Monitoring metrics on Windows - remove multiplication by 100 - #5473
Conversation
RussKie
commented
Oct 7, 2024
What's the plan to notify the existing consumers? I imagine dashboards will be affected... |
evgenyfedorov2
commented
Oct 8, 2024
Yes, they will. The only notification mechanism I see is Release Notes. |
Uh oh!
There was an error while loading. Please reload this page.
RussKie
left a comment
There was a problem hiding this comment.
I'm blocking this until this is discussed at the Tactical Sync.
joperezr
commented
Oct 11, 2024
Yeah so I don't feel comfortable doing this, particularly as we know it is a package that is used internally and we only support the latest version, so we can't make these type of breaking changes (or at least can't take it lightly). Is there a way to do this in a non-breaking way? For instance, we could use quirks where the behavior is preserved, and people that want the new behavior can set an appconfig switch to choose the other behavior. Then we can decide when to switch the defaults. |
RussKie
commented
Oct 28, 2024
@evgenyfedorov2@joperezr what was the decision on this change? |
joperezr
commented
Oct 28, 2024
We talked about it in the last tactical sync and agreed we couldn't take the change as-is. We suggesting to potentially quirk this and then next major we could switch from opt-in to opt-out. I believe @evgenyfedorov2 was going to work on that. |
evgenyfedorov2
commented
Oct 29, 2024
I was not able to join the meeting, just watched the recording, but I did not hear my argument being addressed. The argument is this:
If you still prefer to support the incorrect behavior, one alternative is to introduce the quirk as proposed, but make the right (new) behavior default, so new customers would onboard to the right behavior by default, while the old customers will get a chance to opt-in to the incorrect behavior if they really want to. What do you think? |
joperezr
commented
Oct 29, 2024
There are two things to consider here:
Ultimately, there is no good answer here that allows you to change behavior, and at the same time provide great compat for existing customers via quirking. Another option that would allow you to do both of those things, would be to introduce net-new metrics, so customers dependent on existing metrics can continue to do so, and we can introduce new ones that provide the new values. |
We are 100% sure, it is a bug (reported to me by one of internal services, actually). This is why this whole thing is confusing to me, generally, bugs are just fixed straight away, regardless whether customers relied on the buggy behavior or not. |
makazeu
commented
Dec 4, 2024
Hi, any prorgess or update on this? |
evgenyfedorov2
commented
Dec 4, 2024
I have different priorities but will try to get back onto it in December/January |
As discussed, added a new property |
dotnet-comment-bot
commented
Jan 2, 2025
🎉 Good job! The coverage increased 🎉
Full code coverage report: https://dev.azure.com/dnceng-public/public/_build/results?buildId=905312&view=codecoverage-tab |
haipz
commented
Jan 14, 2025
Should we set UseZeroToOneRangeForMetrics as a required option to ensure that people are notified of this breaking change? |
evgenyfedorov2
commented
Jan 20, 2025
Eventually we will want to set |
RussKie
commented
Feb 2, 2025
@evgenyfedorov2 please link here the PR updating the docs. Thank you. |
Fixes#5472
Microsoft Reviewers: Open in CodeFlow