Skip to content

make sure the CLI errors out if it does not have the env#2

Open
tarekziade wants to merge 1 commit into
mainfrom
tarek-check-var-presenve
Open

make sure the CLI errors out if it does not have the env#2
tarekziade wants to merge 1 commit into
mainfrom
tarek-check-var-presenve

Conversation

@tarekziade

Copy link
Copy Markdown
Collaborator

We want to error out so OTEL don't fail silently

@tarekziade tarekziade self-assigned this Jun 19, 2026
@tarekziade tarekziade requested a review from ydshieh June 19, 2026 08:28
Comment on lines +821 to +825
diagnosis = (
"OTEL EXPORT DISABLED no OTLP endpoint configured (set "
"OTEL_EXPORTER_OTLP_ENDPOINT / OTEL_EXPORTER_OTLP_TRACES_ENDPOINT, "
"pass --otlp-endpoint, or use --force-export-traces)"
)

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The wording is a bit unclear when I read it along with f"{diagnosis}. Refusing to run without tracing;. Would be great if it could be improved.

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.

2 participants