Skip to content

Commit 3700398

Browse files
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.
1 parent 468b888 commit 3700398

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ release.
2929
- Add user agent to OTLP exporter specification
3030
([#2684](https://github.com/open-telemetry/opentelemetry-specification/pull/2684))
3131
- Clarify that unknown fields must be ignored when receiving OTLP/JSON
32-
([#](https://github.com/open-telemetry/opentelemetry-specification/pull/))
32+
([#2816](https://github.com/open-telemetry/opentelemetry-specification/pull/2816))
3333

3434
### SDK Configuration
3535

specification/protocol/otlp.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -424,7 +424,7 @@ for mapping between Protobuf and JSON, with the following deviations from that m
424424
This aligns with the behavior of the Binary Protobuf unmarshaler and ensures that adding
425425
new fields to OTLP messages does not break existing receivers.
426426
Protobuf unmarshalling implementations often support this via an option called
427-
**Ignore unknown fields**.
427+
"Ignore unknown fields".
428428

429429
Note that according to [Protobuf specs](
430430
https://developers.google.com/protocol-buffers/docs/proto3#json) 64-bit integer

0 commit comments

Comments
 (0)