-
Notifications
You must be signed in to change notification settings - Fork 1
Dse/telemetry prod 14887 #438
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
a9b6c6e to
c0f23ab
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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
No description provided.