Enable the Db2 correlation in the Instana agent by updating the
configuration.yaml file.
About this task
To track JDBC to Db2 calls, ensure the Java Trace Sensor version 1.2.437 or later is
installed.
Procedure
- Verify the Java Trace Sensor version 1.2.437 or later is installed.
- Update the configuration.yaml file used by the Instana agent. The
file path is
/opt/instana/agent/etc/instana/configuration.yaml.
Inside the file,
uncomment the com.instana.tracing
section. Make sure you set the exact values as follows:
com.instana.tracing:
db2:
trace-correlation: true
db2CorrelationMode: override
db2CorrelationDelimiter: '|'
db2CorrelationField: ClientHostname
Note: Ensure correct indentation to maintain the
YAML syntax. For more information about the configuration, see
Instana documentation.
- Restart your application server for the new settings to take effect.