CAMEL-23312: Add SpanKind support to OpenTelemetry2 component #22610
CAMEL-23312: Add SpanKind support to OpenTelemetry2 component #22610JiriOndrusek wants to merge 1 commit intoapache:mainfrom
Conversation
|
🌟 Thank you for your contribution to the Apache Camel project! 🌟 🐫 Apache Camel Committers, please review the following items:
|
|
@squakez I hope that I followed all your suggestions in #22577 and comments in https://issues.apache.org/jira/browse/CAMEL-23312 The amount of changes is bigger as I needed to get the spankind during OpenTelemetryTracer#beginProcessorSpan and OpenTelemetryTracer#beginEventSpan |
|
I now see that i can refactor and simplify the change a lot. I'll reopen the PR with the proper change. |
|
I think you just need to change the Abstract decorator classes in the |
fixes https://issues.apache.org/jira/browse/CAMEL-23312
superseeds #22577
Adds OpenTelemetry SpanKind support to camel-opentelemetry2 component:
OpenTelemetryHttpSpanDecoratorandOpenTelemetryMessagingSpanDecoratorinterfaces defining SpanKind for EVENT_SENT/EVENT_RECEIVED operationsOpenTelemetryTracerto pass decorator context via ThreadLocal without changing SpanLifecycleManager APIDescription
Target
mainbranch)Tracking
Apache Camel coding standards and style
mvn clean install -DskipTestslocally from root folder and I have committed all auto-generated changes.