Skip to main content
Version: 2.0.x

OpenTelemetry Example

You can find the source code here.

For an explanation in more detail, check the OpenTracing Example.

Firstly, start Jaeger by running the following command:

docker run --rm -it \
-p 4317:4317 \
-p 16686:16686 \

Then start the proxy application

sbt "opentelemetryExample/runMain zio.telemetry.opentelemetry.example.ProxyApp"

and the backend application

sbt "opentelemetryExample/runMain zio.telemetry.opentelemetry.example.BackendApp"

Now perform the following request:

curl -X GET http://localhost:8080/statuses

and head over to http://localhost:16686/ to see the result.