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

Fix otlp tracing #61

Merged
merged 5 commits into from
Nov 27, 2024
Merged

Fix otlp tracing #61

merged 5 commits into from
Nov 27, 2024

Conversation

dblnz
Copy link
Contributor

@dblnz dblnz commented Nov 15, 2024

This PR fixes the otlp_tracing example compile issues with latest opentelemetry crate.

It required a slightly different approach to set up the tracer. The examples from tracing-opentelemetry crate were useful.

One other side of the problem was that jaeger didn't receive the traces from the example anymore and it turns out it is because of the log filtering. So, using a different RUST_LOG should suffice.

The new test added sets up a TcpListener that binds to the same address the tracer subscriber does so it is able to receive the traces so it can validate whether the example runs correctly

@dblnz dblnz added kind/bugfix Something isn't working area/dependencies Pull requests that update a dependency file labels Nov 15, 2024
simongdavies
simongdavies previously approved these changes Nov 15, 2024
ludfjig
ludfjig previously approved these changes Nov 15, 2024
Signed-off-by: Doru Blânzeanu <dblnz@pm.me>
Signed-off-by: Doru Blânzeanu <dblnz@pm.me>
Signed-off-by: Doru Blânzeanu <dblnz@pm.me>
@dblnz dblnz dismissed stale reviews from ludfjig and simongdavies via 4c693ce November 20, 2024 15:50
@dblnz dblnz merged commit 23192b7 into hyperlight-dev:main Nov 27, 2024
23 checks passed
@dblnz dblnz deleted the fix-otlp-tracing branch March 4, 2025 12:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/dependencies Pull requests that update a dependency file kind/bugfix Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants