Binding TIBCO BusinessWorks Container Edition Application to OpenTelemetry on Cloud Foundry

You can enable open tracing on the cloud foundry using an environment variable.

Before you begin

Ensure the OpenTelemetry agent is running.

    Procedure
  1. Create a manifest.yml file in the same directory where the application EAR file is exported.
  2. Add environment variables for BW_JAVA_OPTS in manifest.yml file. The following is a sample of the manifest file:
    applications: 
    -name: Httpapp
     memory: 1024M
     path: httpgreetings.application.ear
     timeout: 60
     buildpack: opentelemetry
    env:
     BW_LOGLEVEL: ERROR
     BW_PROFILE: default
     BW_JAVA_OPTS: "-Dbw.engine.opentelemetry.enable=true -
     Dbw.engine.opentelemetry.span.exporter.endpoint=http://192.168.225.224:4317"
    
  3. In cf CLI, run the command cf push to deploy the application on the cloud foundry.
  4. After the application is deployed successfully, it is registered under <services> in JAEGER UI.