Skip to content

fix: make client.py runnable without CLI arguments #4694

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

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

Conversation

ddyczek
Copy link

@ddyczek ddyczek commented Jul 21, 2025

There was an issue in the auto-instrumentation Example shown here:
https://opentelemetry.io/docs/zero-code/python/example/#execute-the-automatically-instrumented-server

The documentation refers to a client.py script located in docs/examples/auto-instrumentation, but the script previously required passing "testing" as a command-line argument each time (python client.py testing).

I've updated the script so that testing is now used as the default argument when none is provided. Users can still override it by passing a custom argument, but it will fall back to testing if nothing passed.

Refs: open-telemetry/opentelemetry.io#6721

Copy link

linux-foundation-easycla bot commented Jul 21, 2025

CLA Signed

The committers listed above are authorized under a signed CLA.

@ddyczek ddyczek changed the title fix: make client.py runnable without CLI arguments" fix: make client.py runnable without CLI arguments Jul 22, 2025
@ddyczek ddyczek marked this pull request as ready for review July 22, 2025 18:51
@ddyczek ddyczek requested a review from a team as a code owner July 22, 2025 18:51
@pmcollins pmcollins force-pushed the simplify-client-py-6721 branch from 1552466 to 7d00efd Compare July 22, 2025 19:47
@pmcollins pmcollins added the Skip Changelog PRs that do not require a CHANGELOG.md entry label Jul 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Skip Changelog PRs that do not require a CHANGELOG.md entry
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants