Configuring Instana Agent
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.
- 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.tracingsection and add the
db2section within it. Then, add the
trace-correlationoption and set it to
true. The updated configuration should look like this:
com.instana.tracing: db2: trace-correlation: trueNote: Ensure correct indentation to maintain the YAML syntax.
- Restart your application server for the new settings to take effect.