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/metricstransformprocessor] fix copy exponential histogram #27410

Conversation

mfranklin
Copy link
Contributor

Description:
Fixes a bug where the wrong function was called for the exponential histogram type during the copy operation.

Link to tracking Issue:
Fixes #27409

Testing:
Added a test for combine that covers the failing code path.

Documentation:
No documentation added as this is a simple bug fix.

@mfranklin mfranklin requested review from dmitryax and a team as code owners October 3, 2023 17:41
@linux-foundation-easycla
Copy link

linux-foundation-easycla bot commented Oct 3, 2023

CLA Signed

The committers listed above are authorized under a signed CLA.

@github-actions github-actions bot added the processor/metricstransform Metrics Transform processor label Oct 3, 2023
@dmitryax
Copy link
Member

dmitryax commented Oct 3, 2023

Thanks for the fix, @mfranklin!

@dmitryax
Copy link
Member

dmitryax commented Oct 3, 2023

@crobert-1
Copy link
Member

@mfranklin can you please add a changelog item to https://github.com/open-telemetry/opentelemetry-collector-contrib/tree/main/.chloggen?

@mfranklin: You can run make chlog-new to create the changelog file under the directory Dmitrii's referenced. The template describes what information should be included.

@mfranklin mfranklin force-pushed the mfranklin/metricstransformer-exponential-histogram-copy branch from 891575f to f5c5986 Compare October 5, 2023 17:55
@crobert-1 crobert-1 added the ready to merge Code review completed; ready to merge by maintainers label Oct 5, 2023
@mfranklin
Copy link
Contributor Author

Changelog added.

@codeboten codeboten merged commit fa88837 into open-telemetry:main Oct 6, 2023
87 of 88 checks passed
@github-actions github-actions bot added this to the next release milestone Oct 6, 2023
jorgeancal pushed a commit to jorgeancal/opentelemetry-collector-contrib that referenced this pull request Oct 9, 2023
…pen-telemetry#27410)

Fixes a bug where the wrong function was called for the exponential
histogram type during the copy operation.

Fixes open-telemetry#27409

Added a test for `combine` that covers the failing code path.
@mfranklin mfranklin deleted the mfranklin/metricstransformer-exponential-histogram-copy branch October 10, 2023 19:59
jmsnll pushed a commit to jmsnll/opentelemetry-collector-contrib that referenced this pull request Nov 12, 2023
…pen-telemetry#27410)

Fixes a bug where the wrong function was called for the exponential
histogram type during the copy operation.

Fixes open-telemetry#27409

Added a test for `combine` that covers the failing code path.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
processor/metricstransform Metrics Transform processor ready to merge Code review completed; ready to merge by maintainers
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Copying an Exponential Histogram results in nil pointer dereference
5 participants