Created:  | Updated: 


Introduction

Automatically enable Instana Agent z/IRIS capabilities on Ubuntu/CentOS systems with AdoptOpenJDK  11.

Currently, enabling Instana Agent z/IRIS capabilities modifies the JDBC instrumentation of Java applications that use an IBM Db2 JDBC driver for Db2 z/OS access only.


Step 1: Edit /etc/environment

JAVA_TOOL_OPTIONS="-Dmainstorconcept.ziris.enable=true"
CODE

The process for setting environment variables may differ depending on your operating system, system services and/or processes. If you require further assistance or are unsure, please do not hesitate to contact our support.


Step 2: Check environment variables

execute
java -version
CODE

expected result
Picked up JAVA_TOOL_OPTIONS: -Dmainstorconcept.ziris.enable=true
openjdk version "11...
CODE