You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Attempting to perform any operation that copies an exponential histogram will result in a nil pointer dereference error as the code currently calls the incorrect method on the metric.
Steps to Reproduce
Have a config that attempts an operation on an exponential histogram metric that results in a copy, such as combine
Expected Result
The metric is correctly processed and exported.
Actual Result
A nil pointer dereference error is printed to the logs.
…27410)
Fixes a bug where the wrong function was called for the exponential
histogram type during the copy operation.
Fixes#27409
Added a test for `combine` that covers the failing code path.
…pen-telemetry#27410)
Fixes a bug where the wrong function was called for the exponential
histogram type during the copy operation.
Fixesopen-telemetry#27409
Added a test for `combine` that covers the failing code path.
Component(s)
processor/metricstransform
What happened?
Description
Attempting to perform any operation that copies an exponential histogram will result in a nil pointer dereference error as the code currently calls the incorrect method on the metric.
Steps to Reproduce
Have a config that attempts an operation on an exponential histogram metric that results in a copy, such as
combine
Expected Result
The metric is correctly processed and exported.
Actual Result
A nil pointer dereference error is printed to the logs.
Collector version
v0.86.0
Environment information
Environment
All
OpenTelemetry Collector configuration
Log output
Additional context
No response
The text was updated successfully, but these errors were encountered: