diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-21 11:54:28 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-21 11:54:28 +0000 |
commit | e6918187568dbd01842d8d1d2c808ce16a894239 (patch) | |
tree | 64f88b554b444a49f656b6c656111a145cbbaa28 /src/jaegertracing/opentelemetry-cpp/examples/jaeger/README.md | |
parent | Initial commit. (diff) | |
download | ceph-e6918187568dbd01842d8d1d2c808ce16a894239.tar.xz ceph-e6918187568dbd01842d8d1d2c808ce16a894239.zip |
Adding upstream version 18.2.2.upstream/18.2.2
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'src/jaegertracing/opentelemetry-cpp/examples/jaeger/README.md')
-rw-r--r-- | src/jaegertracing/opentelemetry-cpp/examples/jaeger/README.md | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/src/jaegertracing/opentelemetry-cpp/examples/jaeger/README.md b/src/jaegertracing/opentelemetry-cpp/examples/jaeger/README.md new file mode 100644 index 000000000..42ac4e125 --- /dev/null +++ b/src/jaegertracing/opentelemetry-cpp/examples/jaeger/README.md @@ -0,0 +1,18 @@ +# 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](https://github.com/open-telemetry/opentelemetry-cpp). The application then +calls a `foo_library` which has been instrumented using the [OpenTelemetry +API](https://github.com/open-telemetry/opentelemetry-cpp/tree/main/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](../../CONTRIBUTING.md) for instructions on building and +running the example. |