atiaomar1978-hub opened a new pull request, #25989:
URL: https://github.com/apache/camel/pull/25989

   # Description
   
   Fixes [CAMEL-24570](https://issues.apache.org/jira/browse/CAMEL-24570).
   
   GenAI observability could silently fall back to a no-op in two common 
misconfiguration scenarios without any operator-visible signal:
   
   1. **`camel-ai-observability` missing from the classpath** — the API module 
loads the implementation reflectively; when absent, every observation is a 
no-op.
   2. **`ObservationRegistry` without a Micrometer tracing handler** — typical 
on Spring Boot when Actuator provides an `ObservationRegistry` but no 
`micrometer-tracing-bridge-*` is present.
   
   This change adds **one-time diagnostics** per `CamelContext`: INFO by 
default, WARN when `camel.aiObservability.enabled=true` is set explicitly.
   
   # Target
   
   - [x] I checked that the commit is targeting the correct branch (Camel 4 
uses the `main` branch)
   
   # Tracking
   - [x] JIRA issue CAMEL-24570 filed.
   
   # Apache Camel coding standards and style
   
   - [x] Each commit has a meaningful subject line and body.
   
   # AI-assisted contributions
   
   - [x] Commits include `Co-authored-by` trailers. AI tool: Cursor Cloud Agent.
   
   _AI-generated PR description on behalf of the authenticated GitHub user._
   


-- 
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