The collection of diagnostics data is enabled in the data collector configuration by
default. Use the configdc command to limit the amount of diagnostic data that is
collected by the data collector.
Procedure
- To set the level of trace data that is collected, run the following command:
cd install_dir\qe\bin configdc deepdivedc -tracelevel trace_level
where:- install_dir
- The installation directory of the Microsoft .NET agent.
- trace_level
- The diagnostics trace level of the .NET Data Collector. Valid values are 0, 1, and 2, where:
- 0
- The collection of the diagnostics data is disabled.
- 1
- The collection of the diagnostics data is enabled. The HTTP module collects the
request summary and request instance data.
- 2
- The collection of the diagnostics data is enabled. The HTTP module collects the request summary
and request instance data. The profiler collects method data and stack trace data.
When you configure
the data collector for the first time, level 2 is set by default.
Tip: When
you set the trace level by using the configdc.exe deepdivedc -tracelevel command,
the value of the bci_dc.diagnose.level parameter is set in the
dotNetDcConfig.properties file.
- If your configuration changes are complete, activate the configuration changes. For more information, see Activating the configuration in the dotNetDcConfig.properties.inactive file.