Skip to content

profiles: make profile_id optional#665

Merged
tigrannajaryan merged 3 commits intoopen-telemetry:mainfrom
fandreuz:profile-id-optional
Jun 27, 2025
Merged

profiles: make profile_id optional#665
tigrannajaryan merged 3 commits intoopen-telemetry:mainfrom
fandreuz:profile-id-optional

Conversation

@fandreuz
Copy link
Copy Markdown
Contributor

Fixes #652

@fandreuz fandreuz requested review from a team May 29, 2025 08:33
Copy link
Copy Markdown
Member

@florianl florianl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it is a good idea to make this field optional. Speaking for OTel eBPF profiler it is just a randomly generated value. So based on the profile_id reported by OTel eBPF profiler, no conclusions can be drawn to the actual data it reports.

@tigrannajaryan
Copy link
Copy Markdown
Member

Markdown lint failed (unrelated to changes in this PR). Please file an issue to fix it.

@fandreuz
Copy link
Copy Markdown
Contributor Author

Markdown lint failed (unrelated to changes in this PR). Please file an issue to fix it.

I proposed a fix in #673

Comment thread opentelemetry/proto/profiles/v1development/profiles.proto
Comment thread opentelemetry/proto/profiles/v1development/profiles.proto
@fandreuz
Copy link
Copy Markdown
Contributor Author

fandreuz commented Jun 23, 2025

@tigrannajaryan #673 is merged

@tigrannajaryan tigrannajaryan merged commit 5b0dc10 into open-telemetry:main Jun 27, 2025
15 checks passed
@pellared pellared mentioned this pull request Aug 29, 2025
tigrannajaryan pushed a commit that referenced this pull request Sep 2, 2025
### 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)
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.

profiles: profile_id is required

10 participants