]> git.proxmox.com Git - ceph.git/blob - ceph/src/jaegertracing/opentelemetry-cpp/examples/jaeger/README.md
update ceph source to reef 18.1.2
[ceph.git] / ceph / src / jaegertracing / opentelemetry-cpp / examples / jaeger / README.md
1 # Jaeger Exporter Example
2
3 This is an example of how to use the Jaeger exporter.
4
5 The application in `main.cc` initializes an `JaegerExporter` instance and uses it
6 to register a tracer provider from the [OpenTelemetry
7 SDK](https://github.com/open-telemetry/opentelemetry-cpp). The application then
8 calls a `foo_library` which has been instrumented using the [OpenTelemetry
9 API](https://github.com/open-telemetry/opentelemetry-cpp/tree/main/api).
10
11 Resulting spans are exported to the Jaeger agent using the Jaeger exporter.
12
13 Note that the Jaeger exporter connects to the agent at `localhost:6831` by
14 default.
15
16 Once you have the Collector running, see
17 [CONTRIBUTING.md](../../CONTRIBUTING.md) for instructions on building and
18 running the example.