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
Attributes are mutated for data stream routing when *_dynamic_index is enabled. It does not pose a problem to es exporter itself, but may be problematic if the same event is sent to other exporters. Ideally es exporter should operate on a copy of the attribute map so that it does not mutate the original event.
carsonip
changed the title
[exporter/elasticsearch] attributes are mutated in data stream routing
[exporter/elasticsearch] Attributes are mutated in data stream routing
Sep 5, 2024
Pipelines can have one or more receivers. Data from all receivers is pushed to the first processor, which processes the data and then pushes it to the next processor. A processor might also drop the data if it’s sampling or filtering. This continues until the last processor in the pipeline pushes the data to the exporters. Each exporter gets a copy of each data element. The last processor uses a fanoutconsumer to send the data to multiple exporters.
Component(s)
exporter/elasticsearch
What happened?
Description
Attributes are mutated for data stream routing when *_dynamic_index is enabled. It does not pose a problem to es exporter itself, but may be problematic if the same event is sent to other exporters. Ideally es exporter should operate on a copy of the attribute map so that it does not mutate the original event.
Need to confirm if this is an actual issue.
Steps to Reproduce
Expected Result
Actual Result
Collector version
v0.108.0
Environment information
Environment
OS: (e.g., "Ubuntu 20.04")
Compiler(if manually compiled): (e.g., "go 14.2")
OpenTelemetry Collector configuration
No response
Log output
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: