davsclaus commented on code in PR #25507: URL: https://github.com/apache/camel/pull/25507#discussion_r3852838588
########## catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/docs/ai-observability.adoc: ########## @@ -15,16 +15,19 @@ OpenTelemetry semantic conventions for GenAI (stable subset aligned with Spring AI producers depend on the lightweight `camel-ai-observability-api` module. Add `camel-ai-observability` to your application classpath together with a tracing or metrics backend to enable span and metric emission. -When `camel-opentelemetry2` and/or `camel-micrometer` is on the classpath, langchain4j and OpenAI producers -emit child spans and metrics per LLM call with attributes such as `gen_ai.operation.name`, `gen_ai.system`, +When `camel-opentelemetry2` and/or `camel-micrometer` is on the classpath, langchain4j, OpenAI, and Spring AI chat +producers emit child spans and metrics per LLM call with attributes such as `gen_ai.operation.name`, `gen_ai.system`, `gen_ai.request.model`, `gen_ai.usage.input_tokens`, and `gen_ai.usage.output_tokens`. -Global toggle: set `camel.ai.observability.enabled=false` to disable GenAI observability across all AI -components (default is `true` when a tracing or metrics backend is present). +Global toggle: set `camel.aiObservability.enabled=false` (default is `true` when a tracing or metrics backend is present). Camel Main exposes the same setting +via `camel.aiObservability.enabled` in application.properties or programmatically with +`main.configure().ai().observability().withEnabled(false)`. Review Comment: Look here is what I spotted which is wrong ^^^^ -- 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]
