-
Notifications
You must be signed in to change notification settings - Fork 267
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
profiles: drop Sample.stacktrace_id_index #575
Conversation
The value for Sample.stacktrace_id_index is hardly defined except for its length. It is also not defined how this value should be generated, interpreted and could be used. Some kind of stacktrace_id can be most efficient in stateful protocols, where transmitting duplicate information should be avoided. As the OTel Profiling protocol is a stateless protocol, this element can be droped.
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.
LGTM.
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.
LGTM
I guess we should also update the model in the OTEP: https://github.com/open-telemetry/oteps/blob/87b36a69cf8c9eb6fbb8375d7bd7a1794ed976fe/text/profiles/0239-profiles-data-model.md?plain=1#L528-L529
LGTM |
Breaking change check fails since a filed is deleted: https://github.com/open-telemetry/opentelemetry-proto/actions/runs/10503389833/job/29096669193?pr=575 This is fine for Experimental status. We need to modify the breaking change detector to avoid profiling protos for now (or have a different/weaker checksfor profiling protos if that makes more sense). I suggest to do it in a separate PR. If you propose a PR that fixes this I can merge it first, and that will unblock this PR. |
I'm actually not sure. I thought OTEPs are meant to capture consensus around technical decisions at a point in time, but are not intended to become evergreen documentation? 🤔 |
@tigrannajaryan with #576 I have opened a PR to exclude the Profiles protocol from the breaking-changes check. |
Correct. Any substantial changes are typically done via a new OTEP (that can amend an old OTEP). If changes are not big enough to warrant a new OTEP, they are done directly on the impacted repository. |
#576 is merged. Please rebase, it should fix the build. |
friendly ping @yurishkuro |
The PR has enough approvals, merging. (@florianl when the PR is ready to be merged ping me I can merge it). |
The value for Sample.stacktrace_id_index is hardly defined except for its length. It is also not defined how this value should be generated, interpreted and could be used.
Some kind of stacktrace_id can be most efficient in stateful protocols, where transmitting duplicate information should be avoided. As the OTel Profiling protocol is a stateless protocol, this element can be droped.
The proposed change is a breaking change. As the OTel Profiling signal is still marked as experimental this should be fine? Please let me know.
FYI: @open-telemetry/profiling-maintainers