Skip to content

fix tracing decorator for span context and baggages #146

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

libourel06
Copy link

@libourel06 libourel06 commented Feb 24, 2025

Go back to old implementation that enables to propagate de Baggages, the spans context (especially the span parent trace Id and trace parent id)

@libourel06 libourel06 requested a review from a team as a code owner February 24, 2025 12:51
@libourel06 libourel06 changed the title Fdpt 69007 fix tracing decorator for span context and baggages fix tracing decorator for span context and baggages Feb 24, 2025
@@ -101,7 +101,7 @@
public class TracingDecoratorTest {
// header value format here: https://www.w3.org/TR/trace-context/#traceparent-header
private static final String TRACE_PARENT = w3cHeader("1", "9");
private static final String PROCESSOR_NAME = MockType.class.getName();
private static final String PROCESSOR_NAME = io.quarkiverse.kafkastreamsprocessor.impl.decorator.processor.TracingDecoratorTest.MockType.class.getName();
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not really sure to understand why such expanded class path is needed here ...

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes indeed, it was added automatically by my Intelij. I just removed it, thanks for the notice.

FDPT-69007 fix tracingDecorator for span context, Baggages and header context

Update TracingDecoratorTest.java

remove automatically added io.quarkiverse.kafkastreamsprocessor.impl.decorator.processor.TracingDecoratorTest prefix to used classes

Update TracingDecoratorTest.java

adapt unit test to new constructor of TracingDecorator
@libourel06 libourel06 force-pushed the FDPT-69007-fix-tracingDecorator-for-span-context-and-baggages branch from dd72080 to 3369984 Compare February 26, 2025 09:50
@libourel06
Copy link
Author

libourel06 commented Feb 26, 2025 via email

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