-
Notifications
You must be signed in to change notification settings - Fork 696
Issue-1147 Adding description to the environment variables #1898
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks so much for tackling this, please sign the CLA and we should be good to go!
opentelemetry-sdk/src/opentelemetry/sdk/environment_variables/__init__.py
Outdated
Show resolved
Hide resolved
opentelemetry-sdk/src/opentelemetry/sdk/environment_variables/__init__.py
Outdated
Show resolved
Hide resolved
opentelemetry-sdk/src/opentelemetry/sdk/environment_variables/__init__.py
Outdated
Show resolved
Hide resolved
opentelemetry-sdk/src/opentelemetry/sdk/environment_variables/__init__.py
Show resolved
Hide resolved
opentelemetry-sdk/src/opentelemetry/sdk/environment_variables/__init__.py
Show resolved
Hide resolved
opentelemetry-sdk/src/opentelemetry/sdk/environment_variables/__init__.py
Show resolved
Hide resolved
opentelemetry-sdk/src/opentelemetry/sdk/environment_variables/__init__.py
Show resolved
Hide resolved
opentelemetry-sdk/src/opentelemetry/sdk/environment_variables/__init__.py
Outdated
Show resolved
Hide resolved
opentelemetry-sdk/src/opentelemetry/sdk/environment_variables/__init__.py
Outdated
Show resolved
Hide resolved
""" | ||
|
||
OTEL_EXPORTER_JAEGER_PASSWORD = "OTEL_EXPORTER_JAEGER_PASSWORD" | ||
""" | ||
.. envvar:: OTEL_EXPORTER_JAEGER_PASSWORD | ||
|
||
The :envvar:`OTEL_EXPORTER_JAEGER_PASSWORD` represents the password to be used for HTTP basic authentication. | ||
""" | ||
|
||
OTEL_EXPORTER_JAEGER_TIMEOUT = "OTEL_EXPORTER_JAEGER_TIMEOUT" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Missing timeout?
@@ -140,16 +183,28 @@ | |||
OTEL_EXPORTER_OTLP_PROTOCOL = "OTEL_EXPORTER_OTLP_PROTOCOL" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Missing Zipkin?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey Leighton, not sure what I'm missing here (Zipkin). I plan to address all the other changes mentioned.
The following Zipkin variables are defined:
- OTEL_EXPORTER_ZIPKIN_ENDPOINT
- OTEL_EXPORTER_ZIPKIN_TIMEOUT
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Right, @rnishtala. Can you please format the default value of OTEL_EXPORTER_ZIPKIN_TIMEOUT
in the same way as the rest, with Default: some_value
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
My mistake, must've missed these :)
opentelemetry-sdk/src/opentelemetry/sdk/environment_variables/__init__.py
Outdated
Show resolved
Hide resolved
opentelemetry-sdk/src/opentelemetry/sdk/environment_variables/__init__.py
Outdated
Show resolved
Hide resolved
opentelemetry-sdk/src/opentelemetry/sdk/environment_variables/__init__.py
Outdated
Show resolved
Hide resolved
opentelemetry-sdk/src/opentelemetry/sdk/environment_variables/__init__.py
Outdated
Show resolved
Hide resolved
opentelemetry-sdk/src/opentelemetry/sdk/environment_variables/__init__.py
Outdated
Show resolved
Hide resolved
opentelemetry-sdk/src/opentelemetry/sdk/environment_variables/__init__.py
Outdated
Show resolved
Hide resolved
opentelemetry-sdk/src/opentelemetry/sdk/environment_variables/__init__.py
Outdated
Show resolved
Hide resolved
opentelemetry-sdk/src/opentelemetry/sdk/environment_variables/__init__.py
Outdated
Show resolved
Hide resolved
opentelemetry-sdk/src/opentelemetry/sdk/environment_variables/__init__.py
Outdated
Show resolved
Hide resolved
opentelemetry-sdk/src/opentelemetry/sdk/environment_variables/__init__.py
Outdated
Show resolved
Hide resolved
opentelemetry-sdk/src/opentelemetry/sdk/environment_variables/__init__.py
Outdated
Show resolved
Hide resolved
opentelemetry-sdk/src/opentelemetry/sdk/environment_variables/__init__.py
Show resolved
Hide resolved
opentelemetry-sdk/src/opentelemetry/sdk/environment_variables/__init__.py
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looking good ✌️ Just a few changes requested.
opentelemetry-sdk/src/opentelemetry/sdk/environment_variables/__init__.py
Outdated
Show resolved
Hide resolved
@@ -140,16 +183,28 @@ | |||
OTEL_EXPORTER_OTLP_PROTOCOL = "OTEL_EXPORTER_OTLP_PROTOCOL" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Right, @rnishtala. Can you please format the default value of OTEL_EXPORTER_ZIPKIN_TIMEOUT
in the same way as the rest, with Default: some_value
?
""" | ||
|
||
OTEL_EXPORTER_OTLP_TRACES_PROTOCOL = "OTEL_EXPORTER_OTLP_TRACES_PROTOCOL" | ||
""" | ||
.. envvar:: OTEL_EXPORTER_OTLP_TRACES_PROTOCOL | ||
|
||
The :envvar:`OTEL_EXPORTER_OTLP_PROTOCOL` represents the the transport protocol for spans. | ||
There is no specified default. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There is no specified default. |
There are other environment variables that also lack a default value. Better to keep things consistent by not having this comment here.
opentelemetry-sdk/src/opentelemetry/sdk/environment_variables/__init__.py
Outdated
Show resolved
Hide resolved
opentelemetry-sdk/src/opentelemetry/sdk/environment_variables/__init__.py
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for addressing my comments.
Thanks all for reviewing this PR! I don't have permissions to merge this PR to opentelemetry:main. I am assuming that an authorized user will eventually merge this PR? |
Correct! |
@@ -133,23 +180,32 @@ | |||
""" | |||
.. envvar:: OTEL_EXPORTER_ZIPKIN_TIMEOUT | |||
|
|||
Maximum time the Zipkin exporter will wait for each batch export, the default | |||
timeout is 10s. | |||
Maximum time the Zipkin exporter will wait for each batch export. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maximum time the Zipkin exporter will wait for each batch export. | |
Maximum time (in seconds) the Zipkin exporter will wait for each batch export. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice! @owais can you please take a look and ensure all your comments have been addressed.
@owais @codeboten Hey folks, I believe that I have addressed all pending comments, please let me know if there's anything else that needs looking into. |
Description
Added description to environment variables in the opentelemetry-specification
Fixes # 1147
Type of change
Please delete options that are not relevant.
How Has This Been Tested?
Documentation update only.
Does This PR Require a Contrib Repo Change?
Checklist: