Skip to content

Unsigned Profile time_nanos and duration_nanos#692

Merged
tigrannajaryan merged 3 commits intoopen-telemetry:mainfrom
christos68k:ck/timestamps
Aug 14, 2025
Merged

Unsigned Profile time_nanos and duration_nanos#692
tigrannajaryan merged 3 commits intoopen-telemetry:mainfrom
christos68k:ck/timestamps

Conversation

@christos68k
Copy link
Copy Markdown
Member

@christos68k christos68k commented Aug 7, 2025

Summary

We are already using unsigned type for Sample.timestamps_unix_nano but not for the time-related fields in Profile.

Also see:

@christos68k christos68k requested review from a team August 7, 2025 18:51
@christos68k christos68k linked an issue Aug 7, 2025 that may be closed by this pull request
Comment thread opentelemetry/proto/profiles/v1development/profiles.proto Outdated
Also renamed fields to _unix_nano for consistency with other signals.
Comment thread opentelemetry/proto/profiles/v1development/profiles.proto
@tigrannajaryan tigrannajaryan merged commit c0d08a6 into open-telemetry:main Aug 14, 2025
17 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)
fandreuz added a commit to fandreuz/async-profiler that referenced this pull request Dec 17, 2025
fandreuz added a commit to fandreuz/async-profiler that referenced this pull request Dec 17, 2025
fandreuz added a commit to fandreuz/async-profiler that referenced this pull request Dec 17, 2025
fandreuz added a commit to fandreuz/async-profiler that referenced this pull request Dec 17, 2025
fandreuz added a commit to fandreuz/async-profiler that referenced this pull request Dec 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[profile] Use uint64 (fixed64) for TimeNanos

6 participants