Enable/Disable dotnet profiling

Community post

Shared by the Applicare community. It has not been re-checked against Applicare 10.0, so confirm the steps in your environment or contact Support.

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.

[Screenshot 1 is not available on this page.]

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

[Screenshot 2 is not available on this page.]

We must restart dotnet agent after making any changes in the above file.

Join the discussion

Comments, voting and following are kept by Zendesk and need a Help Center account. This button opens the original discussion there.

Opens Zendesk · needs internet and sign-in

Still stuck? Contact support