sglang_v0.5.2/pytorch_2.8.0/third_party/opentelemetry-cpp/examples/simple
hailin c8e8c1e9ff . 2025-09-20 16:09:34 +08:00
..
BUILD . 2025-09-20 16:09:34 +08:00
CMakeLists.txt . 2025-09-20 16:09:34 +08:00
README.md . 2025-09-20 16:09:34 +08:00
main.cc . 2025-09-20 16:09: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.