We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The new Linear part of deltatocumulative does not properly clone the first datapoint, instead stores the one from the pmetric.Metrics it receives.
Linear
pmetric.Metrics
This leads to a racy condition where subsequent aggregations change the emitted result, possibly leading to false outputs.
To fix, change to dp.Clone() here:
dp.Clone()
opentelemetry-collector-contrib/processor/deltatocumulativeprocessor/linear.go
Line 113 in 2b9ec02
2b9ec02
No response
The text was updated successfully, but these errors were encountered:
This was fixed by #35562, right?
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
Component(s)
processor/deltatocumulative
What happened?
The new
Linear
part of deltatocumulative does not properly clone the first datapoint, instead stores the one from thepmetric.Metrics
it receives.This leads to a racy condition where subsequent aggregations change the emitted result, possibly leading to false outputs.
To fix, change to
dp.Clone()
here:opentelemetry-collector-contrib/processor/deltatocumulativeprocessor/linear.go
Line 113 in 2b9ec02
Collector version
2b9ec02
Environment information
No response
OpenTelemetry Collector configuration
No response
Log output
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: