Conversation
a9b6c6e to
c0f23ab
Compare
Contributor
There was a problem hiding this comment.
Pull request overview
This pull request adds OpenTelemetry integration to the Babylon CLI tool to enable distributed tracing and observability. The changes introduce telemetry setup at application startup and instrument command execution with tracing spans.
Changes:
- Added OpenTelemetry dependencies (opentelemetry-api, opentelemetry-sdk, opentelemetry-exporter-otlp)
- Created a new telemetry module with setup functionality and environment-based configuration
- Integrated tracing into the command decorator infrastructure and main application entry point
Reviewed changes
Copilot reviewed 5 out of 5 changed files in this pull request and generated 9 comments.
Show a summary per file
| File | Description |
|---|---|
| pyproject.toml | Added three OpenTelemetry package dependencies |
| Babylon/utils/telemetry.py | New module implementing telemetry setup with OTLP exporter and environment-based configuration |
| Babylon/utils/decorators.py | Added tracer initialization and integrated span creation into the injectcontext decorator |
| Babylon/main.py | Added telemetry setup call at module initialization and tracer creation |
| Babylon/commands/macro/init.py | Added tracer initialization and attempted to add tracing to the init command |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
c0f23ab to
33a0acc
Compare
MohcineTor
approved these changes
Jan 22, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.