Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Collecting traces example using otel4s. #4230

Merged
merged 8 commits into from
Jan 3, 2025
Merged

Conversation

adamwkaczmarek
Copy link
Contributor

@adamwkaczmarek adamwkaczmarek commented Jan 2, 2025

This example demonstrates how to implement distributed tracing in a Scala application using the
otel4s library . More info about oltel4s you may find here.

In order to collect and visualize traces, you can run Jaeger using Docker with the following command:
docker run --name jaeger -e COLLECTOR_OTLP_ENABLED=true -p 16686:16686 -p 4317:4317 -p 4318:4318 jaegertracing/all-in-one:1.35

Jaeger UI is available at http://localhost:16686. You can find the collected traces there.
Screenshot from 2025-01-02 15-27-11
Screenshot from 2025-01-02 15-27-20

@adamwkaczmarek adamwkaczmarek requested a review from adamw January 2, 2025 11:40
@adamw adamw merged commit 969b5b8 into master Jan 3, 2025
33 checks passed
@adamw
Copy link
Member

adamw commented Jan 3, 2025

Thanks :)

@adamw adamw deleted the otel4s-traces-example branch January 3, 2025 09:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants