Skip to content
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

Add OpenTelemetry capabilities to python scripts #4063

Open
wants to merge 12 commits into
base: main
Choose a base branch
from

Conversation

LoopedBard3
Copy link
Member

Add OpenTelemetry capabilities to python logging system and tracing to some of our python scripts.

@LoopedBard3 LoopedBard3 added the enhancement New feature or request label Mar 18, 2024
@LoopedBard3 LoopedBard3 self-assigned this Mar 18, 2024
@LoopedBard3
Copy link
Member Author

Currently looking for feedback on how we want to enable/disable the console log and trace exporters. I think we will want to have the option to enable/disable them, or maybe have it be based on something like the IN_LAB env var, to keep the output clean.

@LoopedBard3
Copy link
Member Author

/azp run

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

…in code even without OpenTelemetry installed on the machine. This was accomplished by making no-op flows for when OpenTelemetry is not installed, and creating an AwareTracer that no-ops the Tracer start_as_current_span decorator when OTel is not installed.
@LoopedBard3 LoopedBard3 marked this pull request as ready for review March 26, 2024 19:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant