OpenTelemetry Agent - Java Jeus App Server Installation



Installation Steps

  1. Download the Open Telemetry Java Agent
  2. Move the Opentelemetry-javaagent.jar to a place on the filesystem where the Java application runs
  3. Add the Java Agent JVM parameters to the Application
  4. Restart the Application

JVM Parameters To Be Added to Jeus

  1. In the Jeus WebAdmin Console, click Servers from the left menu
  2. Select a server from the server list and go to the server configuration screen
  3. Click the Basic tab in the configuration screen
  4. Click Lock & Edit at the bottom of the left menu to switch to dynamic configuration mode
  5. Copy-and-paste the lines below into the Jvm Option setting and then click OK
  • Find-and-replace $PATH_TO_OPENTELEMETRY_JAVAAGENT_JAR with the full path to this JAR
  • Find-and-replace $PROTOCOL with http or https based on the VF Server configuration
  • Find-and-replace $VF_SERVER_ADDRESS with the URL for login to your organization’s vFunction Server
  • Find-and-replace $VF_APP_ID with the Application UUID created with the Installation Instructions provided after creating the Distributed Application in the vFunction Server UI
-javaagent:$PATH_TO_OPENTELEMETRY_JAVAAGENT_JAR 
-Dotel.exporter.otlp.protocol=http/protobuf 
-Dotel.exporter.otlp.endpoint=$PROTOCOL://$VF_SERVER_ADDRESS/api/unauth/otlp 
-Dotel.traces.exporter=otlp 
-Dotel.exporter.otlp.traces.headers=X-VF-APP=$VF_APP_ID 
-Dotel.metrics.exporter=none 
-Dotel.logs.exporter=none