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

More fully describe OTEL_PROPAGATOR and OTEL_EXPORTERS, remove confus… #1316

Merged

Conversation

anuraaga
Copy link
Contributor

@anuraaga anuraaga commented Jan 5, 2021

…ing language about SDK-specific conventions for third party propagators.

Changes

Adds more detail about the actual formats for propagators and exporters, and removes wording about third party propagator names being in SDK documentation to ensure different languages use the same configuration values even for third party propagators. Instead, it documents how SDKs should deal with enum-type variables.

Follow up to #1311

…ing language about SDK-specific conventions for third party propagators.
@@ -2,6 +2,8 @@

The goal of this specification is to unify the environment variable names between different OpenTelemetry SDK implementations. SDKs MAY choose to allow configuration via the environment variables in this specification, but are not required to. If they do, they SHOULD use the names listed in this document.

For variables which accept a known value out of a set (i.e., an enum value), SDK implementations MAY support additional values not listed here.
Copy link
Contributor Author

Choose a reason for hiding this comment

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

@carlosalberto @Oberon00 I believe this line clarifies the concern in #1311 (comment)

- `"b3"`: [B3 Single](https:/openzipkin/b3-propagation#single-header)
- `"b3multi"`: [B3 Multi](https:/openzipkin/b3-propagation#multiple-headers)
- `"jaeger"`: [Jaeger](https://www.jaegertracing.io/docs/1.21/client-libraries/#propagation-format)
- `"xray"`: [AWS X-Ray](https://docs.aws.amazon.com/xray/latest/devguide/xray-concepts.html#xray-concepts-tracingheader) (_third party_)
Copy link
Contributor Author

@anuraaga anuraaga Jan 5, 2021

Choose a reason for hiding this comment

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

After adding the above line at the top, I understand better what the intent of the "third party Propagators" caveat was before - the example wasn't great because our SDKs actually sometimes support xray and ottracer, but I think the point was about completely separate propagators like Dynatrace.

I'm wondering if given the line I added at the beginning, I can remove these noisy (_third party_) notes since they don't seem that helpful. Let me know.

@anuraaga
Copy link
Contributor Author

anuraaga commented Jan 6, 2021

@Oberon00 Thanks for the review, I made a substantive change with regards to unrecognized values to pull in from #1317

@carlosalberto
Copy link
Contributor

@Oberon00 Please verify that you are still fine with the latest iteration ;) If you are ok, let's merge this.

@carlosalberto carlosalberto merged commit 0e0b388 into open-telemetry:master Jan 11, 2021
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.

5 participants