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

[chore] processor/deltatocumulative: data.Adder #38058

Merged
merged 2 commits into from
Mar 3, 2025

Conversation

sh0rez
Copy link
Member

@sh0rez sh0rez commented Feb 19, 2025

Description

Introduces data.Adder, a struct that performs adding of pmetric.*DataPoint.

This opens up future features that require configuration of the adding operation, such as out of order support.

Testing

Existing tests pass unaltered

@sh0rez sh0rez requested a review from a team as a code owner February 19, 2025 15:11
@sh0rez sh0rez requested a review from dehaansa February 19, 2025 15:11
@github-actions github-actions bot requested a review from RichieSams February 19, 2025 15:14
@sh0rez sh0rez changed the title chore: processor/deltatocumulative: data.Adder [chore] processor/deltatocumulative: data.Adder Feb 19, 2025
@sh0rez sh0rez force-pushed the adder branch 2 times, most recently from a1f21db to 97a65e9 Compare February 20, 2025 14:53
Introduces data.Adder, a struct that performs adding of
pmetric.*DataPoint.

This opens up future features that require configuration of the adding
operation, such as out of order support.
moves timestamp handling from internal/data.Adder to
internal/delta.Aggregate, as it arguably belongs there.
@songy23 songy23 merged commit 0fc0b1c into open-telemetry:main Mar 3, 2025
162 checks passed
@github-actions github-actions bot added this to the next release milestone Mar 3, 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.

4 participants