/jaeger-cpp-example

An example of end-to-end tracing using OpenTracing C++ API and Jaeger for a simple C++ program

Primary LanguageC++Apache License 2.0Apache-2.0

Build Status Coverage Status Appveyor Build OpenTracing 1.0 Enabled

jaeger-client-cpp

C++ OpenTracing binding for Jaeger

Contributing

Please see CONTRIBUTING.md.

Building

jaeger-client-cpp is built using CMake. It will automatically download needed dependencies using Hunter.

To build:

    mkdir build
    cd build
    cmake ..
    make

After building, the example publisher and subscriber program can be run with:

    ./Publisher ../examples/config.yml 'hello world'
    ./Subscriber ../examples/config.yml

The traces of the publisher and subscriber can then be observed via the Jaeger UI.

Screenshots

Execution of the processes

Trace for the publisher process

Trace for the subscriber process

License

Apache 2.0 License.