Skip to content

Conversation

evgenyfedorov2
Copy link
Member

@evgenyfedorov2 evgenyfedorov2 commented Jan 6, 2025

Resolves #5773

Microsoft Reviewers: Open in CodeFlow

@amadeuszl
Copy link
Contributor

There's SourceIpAddresses in ResourceMonitoringOptions.Windows that I believe should be Obsolete as well

@amadeuszl
Copy link
Contributor

Could we specify in readme (unless there's some guide somewhere else) what's obsolete and what's new recommended way of the library usage? It may be quite important as at least half of the codebase of the library will be obsolete at this point.

@evgenyfedorov2
Copy link
Member Author

evgenyfedorov2 commented Jan 8, 2025

There's SourceIpAddresses in ResourceMonitoringOptions.Windows that I believe should be Obsolete as well

I did not make it obsolete intentionally because it is used in WindowsTcpStateInfo, which is not related to IResourceMonitor. It should stay because it is relevant for .NET Metrics

@evgenyfedorov2
Copy link
Member Author

Could we specify in readme (unless there's some guide somewhere else) what's obsolete and what's new recommended way of the library usage? It may be quite important as at least half of the codebase of the library will be obsolete at this point.

We already provide quick Diagnostics IDs here. Conceptual documentation of Resource Monitoring is here and of course it will need to be updated too, but it is a different repo, so created an issue there. Is this what you are suggesting or is it something different?

Copy link
Contributor

@amadeuszl amadeuszl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, no more questions

@evgenyfedorov2 evgenyfedorov2 merged commit 8f15b0f into dotnet:main Jan 16, 2025
6 checks passed
@github-actions github-actions bot locked and limited conversation to collaborators Feb 15, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add Obsolete attribute to public API which use IResourceMonitor
2 participants