Skip to content
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

fix(telemetrygen): startTimestamp when temporality is cumulative #39022

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

NickAnge
Copy link
Contributor

@NickAnge NickAnge commented Mar 27, 2025

Description

Link to tracking issue

Fixes #38232

Testing

Locally Testing with a collector + logs

Cumulative - default

Screenshot 2025-03-27 at 19 50 54

Delta

Screenshot 2025-03-27 at 19 58 52

@github-actions github-actions bot added the cmd/telemetrygen telemetrygen command label Mar 27, 2025
@github-actions github-actions bot requested review from codeboten, Erog38 and mx-psi March 27, 2025 18:52
@NickAnge NickAnge force-pushed the nickange/telemetrygen/metrics/fix-timestamp-cumulative-temporality branch from a938cf1 to e98cf1c Compare March 27, 2025 18:59
@NickAnge NickAnge marked this pull request as ready for review March 27, 2025 19:00
@NickAnge NickAnge requested a review from a team as a code owner March 27, 2025 19:00
@atoulme
Copy link
Contributor

atoulme commented Mar 27, 2025

This looks like a good fix. I have fixed up the imports. Would you please add a changelog entry using make chlog-new in the root of your checkout?

Copy link
Contributor

@codeboten codeboten left a comment

Choose a reason for hiding this comment

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

@NickAnge NickAnge changed the title fix(telemetrygen): starttimestamp when temporality is cumulative fix(telemetrygen): startTimestamp when temporality is cumulative Mar 29, 2025
@NickAnge
Copy link
Contributor Author

Thanks for the review @atoulme and @codeboten .

I have added the changelog. Let me know if you have any feedback

@NickAnge
Copy link
Contributor Author

hmm, I am not sure why the tests are failing to be honest 🤔 I run the action locally and also tests and they succeed. Could be transient ? Can we re-trigger the action ?
Screenshot 2025-03-29 at 17 10 00

@NickAnge NickAnge requested review from atoulme and codeboten March 29, 2025 17:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cmd/telemetrygen telemetrygen command
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[cmd/telemetrygen] Use same StartTimestamp for cumulative temporality in metrics pipeline
4 participants