-
Notifications
You must be signed in to change notification settings - Fork 895
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
Make OTLP http/json stable #1957
Comments
I would propose to see OTLP version information at the top-level of the structs passed to the collector. Appearing at the top-level of a struct makes it relatively simple for a data processor to interpret that value before parsing the rest of the structure. For a JSON payload, { As an example of a recent situation where a non-breaking change broke something, the new-in-v0.10 metric staleness flag (when it was implemented in OTC v0.44) appeared to produce empty data points at our SaaS. Unless you're aware of the new flag, the data looks broken. |
@jmacd was any information present in the message that would allow you to know that the received data includes a staleness flag? If that is the case then it was a matter of using the information, right? If it was not present then I guess it means the change was done in backwards incompatible manner and it was expected that it would break recipients. I am not strongly opposed to having the version number, but would like to better understand what problem we are solving by having it and in what scenarios exactly it is useful, how the recipients are supposed to be acting on the version number. |
I opened a separate issue to discuss the version number addition: open-telemetry/opentelemetry-proto#378 |
@carlosalberto some questions:
Is this the rename with a "deprecated_" prefix? Proto also has an option "@deprecated", which one are you referring to? |
I am not sure what this is about. Does anyone know what the problem is? |
By |
That's my understanding as well. It should have no effect on the wire or on the generated code. It is purely an annotation for humans (I may be wrong). The Protobuf spec that @dyladan refers to says:
So I don't see how this can impact OTLP/JSON in some special way that we need to take into account. |
I am marking "Agree to no longer use the deprecated delimiter in proto, as this breaks JSON." as done. Please unmark if you think any additional work is needed. |
After merging #2758 the enum names can no longer be used in OTLP/JSON so I am removing open-telemetry/opentelemetry-proto#363 from this checklist, it is no longer relevant for OTLP/JSON (although still relevant for OTLP's generated code, so I am keeping it open). |
I am going to remove this since it does not define any specific requirement. Please add back if you have thoughts on what we need here. |
The resolution of open-telemetry/opentelemetry-proto#430 may impact JSON field name, so adding this to the checklist. |
All tasks associated with this issue have been completed. Are there any remaining tasks that must be completed before OTLP/JSON can be stabilized? |
I think we are ready to declare it stable. Needs a PR that describes what exactly is guaranteed. It will be a subset of guarantees in open-telemetry/opentelemetry-proto#432 |
All work on making OTLP HTTP/JSON stable is now complete. The document is marked Stable as well. Closing this issue. |
We need to finally do some work to make OTLP http/json stable. From open-telemetry/opentelemetry-proto#230 (comment) we need to:
Probably supersedes #1252
The text was updated successfully, but these errors were encountered: