Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Add Obsolete attribute on IResourceMonitor and its friends - #5774

#5774
Merged
evgenyfedorov2 merged 2 commits into
dotnet:maindotnet/extensions:mainfrom
evgenyfedorov2:users/evgenyfedorov2/deprecate_iresourcemonitorevgenyfedorov2/dotnet-extensions:users/evgenyfedorov2/deprecate_iresourcemonitorCopy head branch name to clipboard
Jan 16, 2025
Merged

Add Obsolete attribute on IResourceMonitor and its friends#5774
evgenyfedorov2 merged 2 commits into
dotnet:maindotnet/extensions:mainfrom
evgenyfedorov2:users/evgenyfedorov2/deprecate_iresourcemonitorevgenyfedorov2/dotnet-extensions:users/evgenyfedorov2/deprecate_iresourcemonitorCopy head branch name to clipboard

Conversation

@evgenyfedorov2

@evgenyfedorov2 evgenyfedorov2 commented Jan 6, 2025

Copy link
Copy Markdown
Member

Resolves #5773

Microsoft Reviewers: Open in CodeFlow

@amadeuszl

Copy link
Copy Markdown
Contributor

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

@amadeuszl

Copy link
Copy Markdown
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

evgenyfedorov2 commented Jan 8, 2025

Copy link
Copy Markdown
Member Author

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
Copy Markdown
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?

@amadeuszl amadeuszl left a comment

Copy link
Copy Markdown
Contributor

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
@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

Morty Proxy This is a proxified and sanitized view of the page, visit original site.