opentelemetry-cpp/examples/simple
Ehsan Saei 5aa632741d
Mark tags to bazel targets round 2 (#1094)
2021-12-15 18:50:04 -08:00
..
BUILD Mark tags to bazel targets round 2 (#1094) 2021-12-15 18:50:04 -08:00
CMakeLists.txt Extract foo library into a separate library (#1043) 2021-10-29 19:55:21 -07:00
README.md lint and reformat markdown (#579) 2021-02-12 14:09:40 -08:00
main.cc fix: issue 368- consistent namespace scope resolution (#1008) 2021-11-15 19:53:34 -08:00

README.md

Simple Trace Example

In this example, the application in main.cc initializes and registers a tracer provider from the OpenTelemetry SDK. The application then calls a foo_library which has been instrumented using the OpenTelemetry API. Resulting telemetry is directed to stdout through the StdoutSpanExporter.

See CONTRIBUTING.md for instructions on building and running the example.