Skip to content

Conversation

@sellisd
Copy link
Contributor

@sellisd sellisd commented Jan 22, 2026

No description provided.

Copy link
Contributor

Copilot AI left a 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.

@sellisd sellisd force-pushed the DSE/telemetry_PROD-14887 branch from c0f23ab to 33a0acc Compare January 22, 2026 10:19
@sellisd sellisd requested a review from MohcineTor January 22, 2026 10:54
@sellisd sellisd marked this pull request as ready for review January 22, 2026 10:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants