JinyuChen97 opened a new pull request, #8879:
URL: https://github.com/apache/camel-quarkus/pull/8879

   Adds a new Quarkus extension for camel-micrometer-observability, which 
bridges Camel's telemetry SPI to Micrometer Tracing (Brave, OpenTelemetry, or 
any other backend via the micrometer-tracing bridge API).
   
   Extension (runtime):
   - MicrometerObservabilityTracerProducer: CDI @DefaultBean producer that 
wires Micrometer Tracer / ObservationRegistry / Propagator CDI beans into 
MicrometerObservabilityTracer. Falls back gracefully when beans are absent.
   - CamelMicrometerObservabilityConfig: five Quarkus config properties under 
quarkus.camel.micrometer-observability — exclude-patterns, include-patterns, 
trace-processors, disable-core-processors, trace-headers-inclusion.
   
   Extension (deployment):
   - MicrometerObservabilityProcessor: four BuildSteps —
     * FeatureBuildItem to register the feature name
     * AdditionalBeanBuildItem to keep MicrometerObservabilityTracerProducer 
unremovable
     * UnremovableBeanBuildItem to keep the Camel Tracer bean alive
     * RuntimeInitializedClassBuildItem for SimpleTraceContext to prevent 
'Random in image heap' failure during native builds
   
   Integration tests (JVM + Native, 4 tests):
   - testSpansAreGeneratedWithValidIds: verifies CDI wiring and that Camel 
routes produce spans with well-formed trace/span IDs in native mode
   - testExcludePatternsAreApplied: verifies that endpoints matching 
exclude-patterns produce no spans
   - testConfigPropertiesAreWired: verifies all five config properties are 
correctly propagated to MicrometerObservabilityTracer
   - testUpstreamW3CTracePropagation: verifies W3C traceparent header is parsed 
and the upstream trace ID is preserved on the resulting span
   
   The test backend uses SimpleTracer + a lightweight W3CPropagator to avoid 
pulling in the full micrometer-tracing-bridge-otel.
   
   micrometer-tracing-test is added to poms/bom-test for version management.
   
   Co-authored-by: Bob <[email protected]>


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to