Andrea Cosentino created CAMEL-24221:
----------------------------------------

             Summary: Camel JBang MCP Server - Add camel_runtime_ai_trace tool 
for AI exchange tracing
                 Key: CAMEL-24221
                 URL: https://issues.apache.org/jira/browse/CAMEL-24221
             Project: Camel
          Issue Type: Improvement
          Components: camel-jbang
            Reporter: Andrea Cosentino


Add a new MCP tool that traces AI-specific exchange flow in running Camel 
routes. While camel_runtime_trace exists for general tracing, it does not 
surface AI-specific metadata.

Scope:
- New tool: camel_runtime_ai_trace
- Captures: token usage per LLM call, latency per AI component, model ID used, 
guardrail outcomes, streaming chunk counts
- Input: route ID or pattern filter, optional time window
- Output: structured trace with AI-specific metrics per exchange step
- Leverages existing Camel exchange headers (CamelAwsBedrockTokenCount, etc.)

Location: dsl/camel-jbang/camel-jbang-mcp/



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to