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

[exporter/splunkhec] Fix Capabilities with enabled batching #35306

Merged
merged 2 commits into from
Sep 20, 2024

Conversation

dmitryax
Copy link
Member

@dmitryax dmitryax commented Sep 19, 2024

The exporter wrappers, like batch by scope and batch by resource, incorrectly claim that they are not mutating even if the wrapped exporter mutates the data. This leads to "invalid data access" runtime failures. This change fixes that.

Copy link
Member

@crobert-1 crobert-1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for fixing!

The exporter wrappers, like batch by scope and batch by resource, incorrectly claim that they are not mutating even if the wrapped exporter mutates the data. This leads to "invalid data access" runtime failures. This change fixes that.
@dmitryax dmitryax merged commit ed2610f into open-telemetry:main Sep 20, 2024
156 checks passed
@github-actions github-actions bot added this to the next release milestone Sep 20, 2024
jriguera pushed a commit to springernature/opentelemetry-collector-contrib that referenced this pull request Oct 4, 2024
…emetry#35306)

The exporter wrappers, like batch by scope and batch by resource,
incorrectly claim that they are not mutating even if the wrapped
exporter mutates the data. This leads to "invalid data access" runtime
failures. This change fixes that.

Co-authored-by: Antoine Toulme <atoulme@splunk.com>
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.

4 participants