Configuring collection of detailed diagnostic information
If you have IBM® Cloud Application Performance Management, Advanced, you can use the data collector to collect detailed diagnostic information on the monitored application server instance. To configure the behavior of the diagnostic data collection, including the amount of diagnostic information that the data collector stores, customize the gdc_custom.properties configuration file.
About this task
You can find the gdc_custom.properties file in the dc_home/runtime/<server_name>/custom/gdc directory.
You can also set other properties in the gdc_custom.properties file to customize collection of diagnostic data. Refer to the comments in the file that describe the properties.
Setting limits for the size and number of detailed information files
About this task
The data collector stores diagnostic information in a number of files. By default, it stores 100 files; if 100 files are already stored and a new file is created, the oldest file is deleted. The data collector creates a new file every 15 minutes, or when the size of the current file exceeds 200 megabytes. When the total size of the directory that contains the files exceeds 2 gigabytes, the data collector deletes the oldest file.
Procedure
You can change the following settings in the dc_home/runtime/<server_name>/custom/gdc/gdc_custom.properties file:
Setting full or partial collection of request and method diagnostic data
About this task
- The data collector collects diagnostic data only for the selected requests. The selection (sampling) of the requests aims to include all errors and some good requests.
- Method data collection is disabled at server startup.
- When method data collection is enabled, the data collector gathers method data only for some requests (of those for which diagnostic data is collected). This further selection (sampling) again aims to include all errors and some good requests.
Procedure
You can change these settings by using properties in the dc_home/runtime/<server_name>/custom/gdc/gdc_custom.properties file.