-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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/cumulativetodelta] Convert cumulative Histograms to delta temporality (#12423) #12563
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great, thanks for taking this on.
Co-authored-by: Tyler Helmuth <12352919+TylerHelmuth@users.noreply.github.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you update the README with details about the feature flag? Let's plan to remove it and make its functionality default no sonnet than release 0.60.0.
Done. I wasn't sure how specific you wanted me to be with the timeline, so please feel free to edit/ask me to edit it. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One nit, otherwise looks good.
@codeboten ready for a second review. |
Co-authored-by: Tyler Helmuth <12352919+TylerHelmuth@users.noreply.github.com>
Unfortunately, we think we've found a bug with this implementation. We're planning to investigate more on Monday, but for now, it's probably a good idea not to merge this. Sorry for the abrupt delay. |
Apologies again - we took a pretty thorough look into the bug and managed to establish that the issue occurs before reaching cumulative-to-delta. And in fact, it's equally possible to trigger the bug with sums and not histograms. I've opened this for review again. 🙏 |
If applicable, can you open an issue to track the bug? |
Will do, as soon as I can verify that it's actually in the collector and not some other part of our pipeline 🙂 |
@dashpole ready for a second review |
This is the bug in question, for those curious: #12746 - though it's not related to this PR in any specific way. |
@open-telemetry/collector-contrib-approvers please review. |
@mistodon please resolve conflicts caused by the removal of the Deprecated |
Done 🙂 |
Description: Cumulative Histogram metrics will now be converted to delta temporality and are no longer skipped. (This means that consumers who currently rely on Histograms being skipped would need to ensure they are excluded via config.)
Link to tracking Issue: #12423
Testing: Extended unit tests to cover Histogram metrics.
Documentation: Updated README to reflect new capability.