-
Notifications
You must be signed in to change notification settings - Fork 740
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
Retire IResourceMonitorPublisher in favor of observable instruments #4404
Comments
@geeknoid Is this issue still relevant and if yes, what is the plan here? Just put the Obsolete attributes on the publisher's API and call it a day? We can't make breaking changes and have to support all existing APIs forever, right? |
Correct, no breaking changes allowed. So if we add the logic to produce observable instruments, we'd keep the old stuff and add ]Obsolete] as you say. |
In case folks weren't already aware I want to call out that .NET 9 added runtime metrics using the Meter API which includes a few CPU and memory metrics. It doesn't cover everything these resource monitoring metrics do but I suspect there is some overlap. The metrics got merged a few weeks ago and I am just getting the docs for it up now. |
We can simplify and unify the resource monitoring API to have it produce observable instruments in place of the existing IResourceMonitorPublisher API.
The text was updated successfully, but these errors were encountered: