opentelemetry-cpp/examples/jaeger
Ehsan Saei 6b9ed3d864
Jaeger bazel (Linux only) (#1077)
2021-11-25 10:01:58 -08:00
..
BUILD Jaeger bazel (Linux only) (#1077) 2021-11-25 10:01:58 -08:00
CMakeLists.txt Extract foo library into a separate library (#1043) 2021-10-29 19:55:21 -07:00
README.md
main.cc fix: issue 368- consistent namespace scope resolution (#1008) 2021-11-15 19:53:34 -08:00

README.md

Jaeger Exporter Example

This is an example of how to use the Jaeger exporter.

The application in main.cc initializes an JaegerExporter instance and uses it to register a tracer provider from the OpenTelemetry SDK. The application then calls a foo_library which has been instrumented using the OpenTelemetry API.

Resulting spans are exported to the Jaeger agent using the Jaeger exporter.

Note that the Jaeger exporter connects to the agent at localhost:6831 by default.

Once you have the Collector running, see CONTRIBUTING.md for instructions on building and running the example.