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

Clarify that unknown fields must be ignored when receiving OTLP/JSON #2816

Conversation

tigrannajaryan
Copy link
Member

Resolves open-telemetry/opentelemetry-proto#425

The proposed behavior is necessary for interoperability of senders and receivers when OTLP protocol evolves in an allowed way: by adding new fields to existing messages.

@tigrannajaryan tigrannajaryan requested review from a team September 20, 2022 22:44
@tigrannajaryan tigrannajaryan force-pushed the feature/tigran/clairfy-json-unknown-fields branch 2 times, most recently from 3700398 to 62f2367 Compare September 22, 2022 13:39
@tigrannajaryan tigrannajaryan changed the title Feature/tigran/clairfy json unknown fields Clarify that unknown fields must be ignored when receiving OTLP/JSON Sep 22, 2022
@tigrannajaryan
Copy link
Member Author

@open-telemetry/specs-approvers please review.

Resolves open-telemetry/opentelemetry-proto#425

The proposed behavior is necessary for interoperability of senders and receivers
when OTLP protocol evolves in an allowed way: by adding new fields to existing
messages.
@tigrannajaryan tigrannajaryan force-pushed the feature/tigran/clairfy-json-unknown-fields branch from f13982d to c23843b Compare September 26, 2022 17:15
@tigrannajaryan
Copy link
Member Author

Let's keep this open for a bit more since I deleted a sentence (although it doesn't change the meaning in any way).

@yurishkuro yurishkuro merged commit ded25b2 into open-telemetry:main Sep 27, 2022
@tigrannajaryan tigrannajaryan deleted the feature/tigran/clairfy-json-unknown-fields branch September 27, 2022 17:19
carlosalberto pushed a commit to carlosalberto/opentelemetry-specification that referenced this pull request Oct 31, 2024
…pen-telemetry#2816)

* Clarify that unknown fields must be ignored when receiving OTLP/JSON

Resolves open-telemetry/opentelemetry-proto#425

The proposed behavior is necessary for interoperability of senders and receivers
when OTLP protocol evolves in an allowed way: by adding new fields to existing
messages.

* Remove unnecessary sentence

* Fix typo

Co-authored-by: Yuri Shkuro <yurishkuro@users.noreply.github.com>
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.

Clarify OTLP/JSON behavior when receiving unknown message fields (not enum fields)
7 participants