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.

Procedure

  1. Verify the Java Trace Sensor version 1.2.437 or later is installed.
  2. 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 and add the db2 section within it. Then, add the trace-correlation option and set it to true. The updated configuration should look like this:
    com.instana.tracing:
      db2:
        trace-correlation: true
    Note: Ensure correct indentation to maintain the YAML syntax.
  3. Restart your application server for the new settings to take effect.