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 OTEL_EXPORTER_JAEGER_TIMEOUT environment variable #1612

Merged
merged 5 commits into from
Apr 20, 2021

Conversation

trask
Copy link
Member

@trask trask commented Apr 13, 2021

Adds OTEL_EXPORTER_JAEGER_TIMEOUT environment variable, similar to OTEL_EXPORTER_OTLP_TIMEOUT.

The Java SDK already has this as a programmatic option:

https://github.com/open-telemetry/opentelemetry-java/blob/main/exporters/jaeger/src/main/java/io/opentelemetry/exporter/jaeger/JaegerGrpcSpanExporterBuilder.java#L76-L83

and we would like to surface this as an environment variable.

@trask trask requested review from a team April 13, 2021 00:16
| OTEL_EXPORTER_JAEGER_AGENT_HOST | Hostname for the Jaeger agent | "localhost" |
| OTEL_EXPORTER_JAEGER_AGENT_PORT | Port for the Jaeger agent | 6832 |
| OTEL_EXPORTER_JAEGER_ENDPOINT | HTTP endpoint for Jaeger traces | <!-- markdown-link-check-disable --> "http://localhost:14250"<!-- markdown-link-check-enable --> |
| OTEL_EXPORTER_JAEGER_TIMEOUT | Max waiting time for the backend to process each spans batch | 10s |
Copy link
Contributor

Choose a reason for hiding this comment

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

It sounds like it limits server time. Is it timeout for the exporter (client) or e.g. collector's receiver (server)?

Copy link
Contributor

Choose a reason for hiding this comment

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

probably should be reworded to "Max waiting time for the backend to respond to the client for a request" or something like that.

Copy link
Member

Choose a reason for hiding this comment

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

"Maximum time that the Jaeger exporter would wait for each batch export."

Copy link
Contributor

Choose a reason for hiding this comment

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

It's probably important to call out that it's the request timeout and not a network connect timeout.

Copy link
Member Author

Choose a reason for hiding this comment

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

Updated, also applied the new wording to OTEL_EXPORTER_OTLP_TIMEOUT which is where I copied this wording from to begin with 😁

@jmacd
Copy link
Contributor

jmacd commented Apr 19, 2021

Sorry, would you please resolve the merge conflicts?

@carlosalberto carlosalberto merged commit 7594086 into open-telemetry:main Apr 20, 2021
carlosalberto added a commit to carlosalberto/opentelemetry-specification that referenced this pull request Apr 20, 2021
tigrannajaryan pushed a commit that referenced this pull request Apr 20, 2021
#1612 had its Changelog entry in the previous release section ;)
@trask trask deleted the add-jaeger-timeout-env-var branch October 14, 2024 21:05
carlosalberto pushed a commit to carlosalberto/opentelemetry-specification that referenced this pull request Oct 31, 2024
carlosalberto added a commit to carlosalberto/opentelemetry-specification that referenced this pull request Oct 31, 2024
open-telemetry#1612 had its Changelog entry in the previous release section ;)
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.

6 participants