chore: upgrade opentelemetry example to camel-opentelemetry2#178
Merged
Croway merged 1 commit intoapache:mainfrom Apr 10, 2026
Merged
chore: upgrade opentelemetry example to camel-opentelemetry2#178Croway merged 1 commit intoapache:mainfrom
Croway merged 1 commit intoapache:mainfrom
Conversation
Migrate the opentelemetry example from the deprecated camel-opentelemetry to camel-opentelemetry2. Changes: - Replace camel-opentelemetry-starter with camel-opentelemetry2-starter - Replace @CamelOpenTelemetry with @CamelOpenTelemetry2 - Fix Kafka broker URLs for host-to-Docker connectivity - Remove stale/unused properties (opentracing, jaeger, etc.) Note: the async (Kafka) trace context propagation is currently broken in camel-opentelemetry2 due to a missing byte[] header handling in camel-telemetry's AbstractMessagingSpanDecorator. A fix has been proposed in Apache Camel.
Contributor
Author
Contributor
|
thanks @Croway |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
camel-opentelemetrytocamel-opentelemetry2camel-opentelemetry-starterwithcamel-opentelemetry2-starterand@CamelOpenTelemetrywith@CamelOpenTelemetry2across all 4 sub-modulesopentracing,jaeger, oldcamel.version, etc.)Note
The async (Kafka) trace context propagation is currently broken in
camel-opentelemetry2due to a missingbyte[]header handling incamel-telemetry'sAbstractMessagingSpanDecorator. A fix has been proposed in Apache Camel.Test plan
/camel/bookTrip): 14 spans, all 4 services, full cross-service trace propagation/camel/asyncBookTrip): works with the Camel fix applied