-
Notifications
You must be signed in to change notification settings - Fork 297
Minor spec change around UNAVAILABLE / RetryInfo #669
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
Minor spec change around UNAVAILABLE / RetryInfo #669
Conversation
Where does it say that? |
https://github.com/open-telemetry/opentelemetry-proto/blob/main/docs/specification.md#otlpgrpc-throttling - this is the section that talks about how to use
The only other mention of
This part of the spec I'm removing doesn't make sense.. Why must retryable errors return a RetryInfo of 0 and UNAVAILABLE ? |
i think this can get merged now |
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.
Blocking temporarily, since I am not sure this is not a breaking change.
We have removed a MUST requirement from the servers. Removing it means clients that strictly rely on this requirement may not work correctly anymore.
We must preserve the interoperability of (old,new) and (new,old) pairs of clients and servers. Please show the analysis that demonstrates this interoperability.
@tigrannajaryan, this "MUST requirement" does not make sense and is conflicting with other parts of the specification. This
conficts with
This
seems to have only sense for opentelemetry-proto/docs/specification.md Lines 294 to 301 in 68f9c63
it is very strange to call out opentelemetry-proto/docs/specification.md Lines 311 to 341 in 68f9c63
|
This comment was marked as resolved.
This comment was marked as resolved.
Co-authored-by: Robert Pająk <[email protected]>
…lemetry-proto into specification_change
Yeah those suggestions SG. I've updated the PR |
This fixes a bug in the spec and should be allowed. |
@open-telemetry/technical-committee, can someone merge it? 😉 |
Can't merge, the checks are stuck. |
@open-telemetry/technical-committee can we have a few more eyes on this? I want to make sure we didn't miss anything. |
### Changed - profiles: drop gzip requirement. [#661](#661) - profiles: avoid `optional` keyword usage. [#659](#659) - profiles: make `profile_id` optional. [#665](#665) - profiles: use single `Profile.sample_type` and clarify use of timestamps. [#649](#649) - all: add notes about the attribute values restrictions. [#683](https://github.com/open-telemetry/opentelemetry-proto/pull/683)<br>⚠️ **IMPORTANT**: These restrictions can be dropped in a future minor release. - profiles: clarify usage of the zero value as the first element of tables in `ProfilesDictionary`. [#688](#688), [#698](#698) - profiles: unsigned `time_nanos` and `duration_nanos` in `Profile`. [#692](#692) - profiles: improve attribute encoding in `ProfilesDictionary`. [#672](#672) - profiles: simplify profile stack trace representation. [#708](#708) ### Fixed - examples: fix OTLP JSON Event example body. [#666](#666) - docs: minor specification fixes around `UNAVAILABLE` and `RetryInfo`. [#669](#669) ### Removed - profiles: remove `default_sample_type`. [#679](#679) - profiles: remove `has_*` debug info fields, they are moving to attributes. [#595](#595) - profiles: remove `Location.is_folded`. [#690](#690)
It doesn't make sense that we recommend a RetryInfo with time 0, none of the implementations i've seen special case this value, and it goes against the rest of the spec which says to set it to a real integer.
It also doesn't make since to say the server "MUST" use UNAVAILABLE for retryable errors, and then go on to mention other retryable error status codes..