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/sumologic] Mark exporter as mutating data #13647

Merged

Conversation

dmitryax
Copy link
Member

@dmitryax dmitryax commented Aug 26, 2022

The exporter mutates the logs data at least in https://github.com/open-telemetry/opentelemetry-collector-contrib/blob/main/exporter/sumologicexporter/exporter.go#L171 and https://github.com/open-telemetry/opentelemetry-collector-contrib/blob/main/exporter/sumologicexporter/exporter.go#L314

In order to avoid affecting other exporters configured alongside, the exporter should be marked as mutating data so all pdata is copied over.

Link to tracking Issue: #13646

@dmitryax dmitryax requested a review from a team as a code owner August 26, 2022 19:25
@dmitryax dmitryax force-pushed the make-sumologic-exporter-mutating branch from df77639 to 213f157 Compare August 26, 2022 19:27
The exporter mutates the logs data. In order to avoid affecting other exporters configured along side, the exporter has to be marked as mutating data so all pdata is copied over.
@dmitryax dmitryax force-pushed the make-sumologic-exporter-mutating branch from 213f157 to 3287170 Compare August 26, 2022 19:32
@bogdandrutu bogdandrutu merged commit 5dcf1c9 into open-telemetry:main Aug 26, 2022
@dmitryax dmitryax deleted the make-sumologic-exporter-mutating branch April 19, 2023 04:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants