Enable/Disable dotnet profiling
To install applicare dotnet agent, refer the instructions here.
By default Applicare dotnet agent will monitor both .NET Framework and .NETCORE applications deployed in IIS. Applicare allows you to turn the profiling on or off for either or both. Disabling the profiling will stop monitoring http, sql, web services, errors, intellitrace data, but Applicare will still do OS metrics and performance counters monitoring. Follow the below steps to enable/disable dotnet profiling.
Create file Environment.props in the path <AGENT_INSTALLED_DIRECTORY>\Profiler, if it is not exist.
To disable .NET Framwork applications profiling add the property COR_ENABLE_PROFILING=false
To disable .NETCORE applications profiling add the property CORECLR_ENABLE_PROFILING=false
We must restart dotnet agent after making any changes in the above file.
Please sign in to leave a comment.
Comments
0 comments