Skip to content

[pdata/pprofile] remove field Profile.StartTime from pdata/pprofile #13315

Merged
mx-psi merged 4 commits into
open-telemetry:mainfrom
florianl:pprofile-align-signal
Jul 10, 2025
Merged

[pdata/pprofile] remove field Profile.StartTime from pdata/pprofile #13315
mx-psi merged 4 commits into
open-telemetry:mainfrom
florianl:pprofile-align-signal

Conversation

@florianl
Copy link
Copy Markdown
Member

@florianl florianl commented Jul 2, 2025

When working with pdata/pprofile I noticed, there is no field named StartTime in message Profile of the OTel Profiling signal in version v1.7.0 - see https://github.com/open-telemetry/opentelemetry-proto/blob/v1.7.0/opentelemetry/proto/profiles/v1development/profiles.proto. I also reordered the fields according to the OTel Profiling signal specification.

Description

Link to tracking issue

Fixes #

Testing

Documentation

@florianl florianl requested review from a team, bogdandrutu, dmathieu, dmitryax and mx-psi as code owners July 2, 2025 15:54
….7.0

When working with pdata/pprofile I noticed, there is no field named StartTime in message Profile of the OTel Profiling signal in version v1.7.0 - see https://github.com/open-telemetry/opentelemetry-proto/blob/v1.7.0/opentelemetry/proto/profiles/v1development/profiles.proto.
I also reordered the fields according to the OTel Profiling signal specification.

Signed-off-by: Florian Lehner <florian.lehner@elastic.co>
@florianl florianl force-pushed the pprofile-align-signal branch from dd21b3c to 5cf753f Compare July 2, 2025 15:55
@codecov
Copy link
Copy Markdown

codecov Bot commented Jul 2, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 91.47%. Comparing base (2882733) to head (0ed4f55).
Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main   #13315      +/-   ##
==========================================
- Coverage   91.50%   91.47%   -0.03%     
==========================================
  Files         528      528              
  Lines       29475    29469       -6     
==========================================
- Hits        26972    26958      -14     
- Misses       1975     1981       +6     
- Partials      528      530       +2     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Comment thread .chloggen/pprofile-align-signal.yaml Outdated
Comment thread pdata/internal/cmd/pdatagen/internal/pprofile_package.go
@dmathieu
Copy link
Copy Markdown
Member

dmathieu commented Jul 3, 2025

The field names need to be fixed in contrib first. Moving this to draft until that is done.

@dmathieu dmathieu marked this pull request as draft July 3, 2025 07:22
Signed-off-by: Florian Lehner <florian.lehner@elastic.co>
@florianl florianl changed the title [pdata/pprofile] sync and align with OTel Profiling signal version v1… [pdata/pprofile] remove field Profile.StartTime from pdata/pprofile Jul 3, 2025
florianl added a commit to florianl/opentelemetry-collector-contrib that referenced this pull request Jul 3, 2025
This is the supporting change for open-telemetry/opentelemetry-collector#13315 where Profile.StartTime gets removed.

Signed-off-by: Florian Lehner <florian.lehner@elastic.co>
florianl added a commit to florianl/opentelemetry-collector-contrib that referenced this pull request Jul 3, 2025
This is the supporting change for open-telemetry/opentelemetry-collector#13315 where Profile.StartTime gets removed.

Signed-off-by: Florian Lehner <florian.lehner@elastic.co>
florianl added a commit to florianl/opentelemetry-collector-contrib that referenced this pull request Jul 3, 2025
This is the supporting change for open-telemetry/opentelemetry-collector#13315 where Profile.StartTime gets removed.

Signed-off-by: Florian Lehner <florian.lehner@elastic.co>
bogdandrutu pushed a commit to open-telemetry/opentelemetry-collector-contrib that referenced this pull request Jul 10, 2025
This is the supporting change for
open-telemetry/opentelemetry-collector#13315
where Profile.StartTime gets removed.

<!--Ex. Fixing a bug - Describe the bug and how this fixes the issue.
Ex. Adding a feature - Explain what this achieves.-->
#### Description

<!-- Issue number (e.g. #1234) or full URL to issue, if applicable. -->
#### Link to tracking issue
Fixes

<!--Describe what testing was performed and which tests were added.-->
#### Testing

<!--Describe the documentation added.-->
#### Documentation

<!--Please delete paragraphs that you did not use before submitting.-->

---------

Signed-off-by: Florian Lehner <florian.lehner@elastic.co>
@dmathieu dmathieu marked this pull request as ready for review July 10, 2025 12:27
Comment thread .chloggen/pprofile-align-signal.yaml Outdated
Signed-off-by: Florian Lehner <florian.lehner@elastic.co>
@mx-psi mx-psi added this pull request to the merge queue Jul 10, 2025
Merged via the queue into open-telemetry:main with commit 78fbbf6 Jul 10, 2025
53 of 56 checks passed
florianl added a commit to open-telemetry/opentelemetry-ebpf-profiler that referenced this pull request Jul 15, 2025
With open-telemetry/opentelemetry-collector#13315 the duplicate field StartTime got removed upstream.

Signed-off-by: Florian Lehner <florian.lehner@elastic.co>
Dylan-M pushed a commit to Dylan-M/opentelemetry-collector-contrib that referenced this pull request Aug 5, 2025
…y#41074)

This is the supporting change for
open-telemetry/opentelemetry-collector#13315
where Profile.StartTime gets removed.

<!--Ex. Fixing a bug - Describe the bug and how this fixes the issue.
Ex. Adding a feature - Explain what this achieves.-->
#### Description

<!-- Issue number (e.g. open-telemetry#1234) or full URL to issue, if applicable. -->
#### Link to tracking issue
Fixes

<!--Describe what testing was performed and which tests were added.-->
#### Testing

<!--Describe the documentation added.-->
#### Documentation

<!--Please delete paragraphs that you did not use before submitting.-->

---------

Signed-off-by: Florian Lehner <florian.lehner@elastic.co>
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.

3 participants