davsclaus opened a new pull request, #23818:
URL: https://github.com/apache/camel/pull/23818

   ## Summary
   
   - Adds `camel cmd span` CLI command to display OpenTelemetry spans captured 
by the in-memory dev exporter (from PR #23817)
   - Adds `span` action handler in `LocalCliConnector` that queries the 
`opentelemetry` dev console
   - Auto-generated docs page for the new command
   
   ## Usage
   
   ```bash
   # Start with --observe to enable OTel span capture
   camel run my-route.yaml --observe
   
   # Display captured spans
   camel cmd span
   
   # With options
   camel cmd span --limit=50
   camel cmd span --filter=direct
   camel cmd span --sort=duration
   ```
   
   ## Test plan
   
   - [ ] Build `camel-cli-connector` and `camel-jbang-core` modules
   - [ ] Run `camel run timer-log.yaml --observe`, then `camel cmd span` in 
another terminal
   - [ ] Verify spans display as ASCII table with TRACE-ID, SPAN-ID, PARENT, 
NAME, KIND, STATUS, DURATION columns
   - [ ] Verify `--filter` and `--sort` options work correctly
   - [ ] Verify graceful message when `--observe` is not used
   
   _Claude Code on behalf of Claus Ibsen_
   
   🤖 Generated with [Claude Code](https://claude.com/claude-code)


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