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

[processor/deltatocumulative]: bugfix - process all samples #31349

Merged
merged 4 commits into from
Feb 26, 2024

Conversation

sh0rez
Copy link
Contributor

@sh0rez sh0rez commented Feb 20, 2024

Description:

Due to an oversight, the processor stopped after the first sample. It should process all available samples per stream.

Testing:
Tests have been added to verify:

  • Samples() visits all samples
  • Aggregate() edits all samples

Issues
Fixes #31350

Due to an oversight, the processor stopped after the first sample.
It should process all available samples per stream.
@sh0rez
Copy link
Contributor Author

sh0rez commented Feb 20, 2024

/cc @jpkrohling @RichieSams

@sh0rez sh0rez changed the title [processor/deltatocumulative]: process all samples [processor/deltatocumulative]: bugfix - process all samples Feb 21, 2024
@RichieSams
Copy link
Contributor

@djaglowski or @open-telemetry/collector-contrib-approvers Can someone additionally approve this PR? Github doesn't seem to count my approval, since I was made owner after this PR was created

@djaglowski djaglowski merged commit 3c97c8f into open-telemetry:main Feb 26, 2024
142 checks passed
@github-actions github-actions bot added this to the next release milestone Feb 26, 2024
XinRanZhAWS pushed a commit to XinRanZhAWS/opentelemetry-collector-contrib that referenced this pull request Mar 13, 2024
…emetry#31349)

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

Due to an oversight, the processor stopped after the first sample. It
should process all available samples per stream.

**Testing:**
Tests have been added to verify:
- `Samples()` visits all samples
- `Aggregate()` edits all samples

**Issues**
Fixes
open-telemetry#31350
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.

deltatocumulative aborts after first sample
5 participants