-
Notifications
You must be signed in to change notification settings - Fork 651
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
Allow selecting Jaeger protocol via env vars #1666
Conversation
@seemk I have opened a PR sometime back to add two new env vars to address this problem here open-telemetry/opentelemetry-specification#1453. It is still in review. |
Thanks! Did not notice that 🙂 |
@@ -0,0 +1,7 @@ | |||
from enum import Enum |
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 license, I believe.
@lonewolf3739
I believe we will have protocol specific packages, each taking a dependency on the respective protocol library. |
|
@lonewolf3739 I'm not to familiar with jaeger. What is |
I should have been more clear. |
@lonewolf3739 |
Splitting them up would be a better choice anywyay. Closing this, thanks 🙂 |
Description
Fixes #1622
It was not possible to change Jaeger protocol via env vars when attempting to use gRPC or Thrift over HTTP. Besides, the exporter configuration started deviating from the Zipkin exporter configuration where Zipkin has an optional
protocol
input field (example).Zipkin already has a reserved environment variable
OTEL_EXPORTER_ZIPKIN_PROTOCOL
in the spec for the same purpose so this is an attempt to unify the configurations.There's an existing spec PR to add
OTEL_EXPORTER_JAEGER_PROTOCOL
here.Updated documentation to reflect the supported Jaeger exporter environment variables.
Type of change
Please delete options that are not relevant.
How Has This Been Tested?
Unit tests and manual run with the service described in #1622
Does This PR Require a Contrib Repo Change?
Answer the following question based on these examples of changes that would require a Contrib Repo Change:
The OTel specification has changed which prompted this PR to update the method interfaces of
opentelemetry-api/
oropentelemetry-sdk/
The method interfaces of
opentelemetry-instrumentation/
have changedThe method interfaces of
test/util
have changedScripts in
scripts/
that were copied over to the Contrib repo have changedConfiguration files that were copied over to the Contrib repo have changed (when consistency between repositories is applicable) such as in
pyproject.toml
isort.cfg
.flake8
When a new
.github/CODEOWNER
is addedMajor changes to project information, such as in:
README.md
CONTRIBUTING.md
Yes. - Link to PR:
No.
Checklist: