Registering the data collector
To collect the transaction tracking and diagnostics data, you must register the data collector and then complete some advanced tasks for the data collector. To collect the resource monitoring data, no specific configuration is required.
Before you begin
- To view data in the Slow Requests - Top 10 group widget, ensure that you complete the following
tasks on the IIS Server:
- Enable logging for websites.
- Select all the W3C fields that you want to include in log files.
- Retain the default path where the log files are saved.
Important: If you schedule a daily or an hourly frequency for creating the log files, the number of log files increases over time. This increase in the number of log files increases the total handle count and private bytes that affect the agent performance. To improve the agent performance, ensure that you regularly back up the log files and delete the log files from the default log file path at least once a week. - To collect the diagnostics data, you might need to increase the maximum heap size of the data collector:
- From a command prompt, enter cd install_dir\TMAITM6_x64 where install_dir is the installation directory of the Microsoft .NET agent.
- In a text editor, open the rundotnetagent.bat script.
- Increase the value of the -Xmx parameter in the following
line.
%JAVA_HOME%\bin\java" -classpath %CLASSPATH% -Dkqe.cache.interval=%KQE_CACHE_INTERVAL%
-Xmx384m -Djlog.propertyFileDir.CYN=%KQE_LOG_CONFIG%
-Dattributegroup.def.jar=%ATTRIBUTE_DEF%
-Ddc.runtime.dir=%DC_RUNTIME_DIR%
com.ibm.tivoli.monitoring.annotation.cpci.CommonAgentCustomClient
> %STDOUT_LOG% 2>&1Important: The default value of -Xmx384m is provided for an environment where only request data is collected. If you want to collect all types of data, increase the value to -Xmx1024m or greater.
About this task
The data collector consists of the following four modules:
- httpmodule
- Performs ASP.NET transaction monitoring. The HTTP module also collects request data for diagnostics.
- profiler
- Performs ADO.NET transaction monitoring. The profiler also collects method, stack trace, and request context data for diagnostics.
- isapi
- Performs Microsoft IIS Server transaction monitoring.
- soap
- Performs ASMX or WCF service transaction monitoring.