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

[BUG] Opentelemetry tracing context not propagated since new version #4430

Closed
max-peroch opened this issue Mar 17, 2025 · 1 comment
Closed

Comments

@max-peroch
Copy link

Tapir version: 1.11.19

Scala version: 2.13.16

Hi there,

As mentioned on #4418 , the module tapir-opentelemetry-tracing v1.11.18 was successfully adding and propagating traces to a htt4s server using Otel4s. Bumping the version to v1.11.19 breaks the propagation.

Here is a minimal reproduction repository: https://github.com/max-peroch/tapir-opentelemetry-tracing-issue-repro

That being said, I might be doing something wrong. I also see #4428 that is around the corner and could be an alternative for my use case?

Thanks!

@max-peroch max-peroch changed the title [BUG] Propagate opentelemetry tracing context from the received headers #4418 [BUG] Opentelemetry tracing context not propagated since new version Mar 17, 2025
@adamw
Copy link
Member

adamw commented Mar 19, 2025

I think if this worked with cats-effect, it's more by accident ;). The current interceptor will only work with direct-style, or Futures when using the otel agent. As you write, the otel4s one is the way to go

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

No branches or pull requests

2 participants