-
Notifications
You must be signed in to change notification settings - Fork 383
Open
Labels
diagnostic global toolingenhancementNew feature or requestNew feature or requestquestionFurther information is requestedFurther information is requested
Milestone
Description
Is there a way I could use the diagnostics global tools (or its functionality) at runtime in a deployed application for self-diagnosing or to generate a problem report? Is there some guidance on how to do this?
For example:
- In case an application crashes due to an unhandled excpetion I would like to generate a dump (global tool
dotnet dump) right inside theAppDomain.UnhandledExceptionof the application itself. - In case the used memory of the current process exceeds a certain value (global tool
dotnet counter) the process itself should generate a gcdump (global tooldotnet gcdump). - In case the used CPU utilisation of the current process exceeds a current value (global tool
dotnet counter) the process itself should collect performance data (global tooldotnet trace). - In a servicing scenario a customer should be able to manually trigger the creation of dumps and performance collections for the application.
It would be OK to do all of the above out of process. But the installation of a .NET Core SDK on the customer's machine is often not possible, so I suppose there is no way to install or use the global tools directly?
If this is not easily possible, consider this to be a feature request. 😁
Metadata
Metadata
Assignees
Labels
diagnostic global toolingenhancementNew feature or requestNew feature or requestquestionFurther information is requestedFurther information is requested