Setting Jaeger OpenTracing

Following are the steps to set Jaeger OpenTracing for your TIBCO ActiveMatrix BusinessWorks™application.

Before you begin Download Jaeger binary from here.
    Procedure
  1. Execute the following command:
    For Windows: jaeger-all-in-one
  2. For Linux: ./jaeger-all-in-one –collector.zipkin.http-port=<port>

  3. Push the TIBCO ActiveMatrix BusinessWorks™ application to ActiveMatrix BusinessWorks and set the following engine properties for it.
  4. Properties Description/Value
    bw.engine.opentracing.enable true
    JAEGER_ENDPOINT

    The traces endpoint, in case the client should connect directly to the Collector.

    Syntax: http://<jaeger-collector>:<port>/api/traces

    For example, http://192.168.0.105:14268/api/traces

    Here, jaeger-collector = IP address of the machine, where jaeger binary is running and port = jaegar collector-host port

    JAEGER_SAMPLER_MANAGER_HOST_PORT

    The host name and port when using the remote controlled sampler.

    Syntax: <host>:<port>

    For example, 192.168.0.105:5778

    Here, host = IP address of the machine, where jaeger binary is running and port = jaeger agent port

    JAEGER_SERVICE_NAME Test3
    JAEGER_SAMPLER_TYPE const
    JAEGER_SAMPLER_PARAM 1

    To set the engine variables for your application in ActiveMatrix BusinessWorks, see Adding Custom Properties section in the Configuring App Properties topic.

  5. Navigate to http://<host>:<port> to access the Jaeger user interface. Here, host = IP address, where you have executed the Jaeger binary and port = http server port.
  6. Your application is displayed in Services list with its name and version. For example, TimeLog.application:1.0.

  7. Select your application and click the Find Traces button. The application traces are displayed.