-
Notifications
You must be signed in to change notification settings - Fork 5.9k
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
document the replacement of the PerformanceCounter and how to use it. #17027
Comments
@sdmaclea Checking https://docs.microsoft.com/en-us/dotnet/core/diagnostics/logging-tracing I don't see really a mention of |
/cc @dotnet/dotnet-diag |
https://docs.microsoft.com/en-us/dotnet/core/diagnostics/dotnet-counters is the document. We have scenario we have to revise to conform to docs.microsoft.com standards. https://github.com/dotnet/diagnostics/blob/master/documentation/tutorial/app_running_slow_highcpu.md. I have a draft, but it still needs a few days work. |
We are also probably missing documentation on how to use the API from C# code. i.e. the API. |
Yes that was what I was talking about, using the API from C#. The github tutorial linked at the end of dotnet-counters has that information. |
Probably should move this one to an appropriate home too. |
@sdmaclea writes:
That's the doc on the performance monitoring tool, not
The following links provide additional info:
@Thraka can we get this work scheduled? I need to document the EventCounters emitted by ASP.NET Core |
@sdmaclea I'd be happy to jump in and help if you can point me to your draft |
@sdmaclea @shirhatti I can also help out with any documentation work regarding this space. Please let me know if any extra hands are needed |
I found the old branch and resurrected it here. https://github.com/sdmaclea/docs/tree/scenarios_rebase
I spent a few minutes doing the simple & obvious things I remember from the memory leak review. I think there are likely a few things left to do with these.
We are also missing docs and or tutorials for
|
When will the document available on docs.microsoft.com ? |
I don't think #19534 has resolved the need for this documentation. #19534 has some nice scenario walkthroughs, including one which looks at the CPU perf counter, but I don't expect one example of usage to adequately describe the overall feature for most of our customers. Customers are also unlikely to think to read a scenario about CPU usage if their goal is to learn about EventCounter. These are some questions I anticipate customers would ask us and hope to find in our documentation:
The comment above had links to a bunch of relevant info in this area. |
Hi @noahfalk - thanks for keeping me honest, good catch! I'll add these articles too. 👍 |
The
PerformanceCounter
doesn't cross platform, and theEventCounter
is the future. There already some document on github , but not exits on http://docs.microsft.com .The original issue is here dotnet/runtime#31921
The text was updated successfully, but these errors were encountered: