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

oteljava: TextMapPropagatorWrapper - add meaningful toString #738

Merged
merged 1 commit into from
Aug 31, 2024

Conversation

iRevive
Copy link
Contributor

@iRevive iRevive commented Aug 30, 2024

Before this change, the toString didn't provide any useful information:

OtelJava.autoConfigured[IO]().use { otel4s =>
  IO.println("Propagators: " + otel4s.propagators)
}

Prints:

Propagators: ContextPropagators.Default{textMapPropagator=
org.typelevel.otel4s.oteljava.context.propagation.JavaPropagatorWrappers$JTextMapPropagatorWrapper@47a8424c}

@iRevive iRevive added the module:oteljava Features and improvements to the oteljava module label Aug 30, 2024
@iRevive iRevive requested a review from NthPortal August 30, 2024 12:20
@iRevive iRevive merged commit 9f8c8b0 into typelevel:main Aug 31, 2024
10 checks passed
@iRevive iRevive deleted the oteljava/wrapper-to-string branch August 31, 2024 06:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
module:oteljava Features and improvements to the oteljava module
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants