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
Current spec restricts Simple/Batch processors from calling exporter.export() concurrently. This can be limiting in some scenarios:
When Exporting to Windows ETW, Linux user_events etc., the exporters can handle concurrent calls. This is important to get highest performance. These exporters are to be paired with SimpleProcessor, as they cannot afford to have the contention that is typical in the BatchProcessors. However, without SimpleProcessor concurretly calling export(), we wont get the required perf due to contention introduced to syncronize export() calls.
In short, there is need for allowing both Simple,Batch processors to call export() concurrently.
To keep back-compatibility, we can do something like:
Allow exporters to advertise if their export() methods are okay to be called concurrently. If no explicit advertisement, then default to false.
Relax restriction in exporting processors (Simple/Batch), to call export() concurrently, if the paired exporter has advertised that they support being called concurrently.
Spec can be silent on "how" exporters advertise this, and leave it for implementations.
Additional context.
Previous attempt to make this happen, but only for SimpleProcessor: #4163
Opened for Logs, but equally applicable for Tracing too.
The text was updated successfully, but these errors were encountered:
What are you trying to achieve?
Current spec restricts Simple/Batch processors from calling
exporter.export()
concurrently. This can be limiting in some scenarios:In short, there is need for allowing both Simple,Batch processors to call export() concurrently.
To keep back-compatibility, we can do something like:
Additional context.
Previous attempt to make this happen, but only for SimpleProcessor: #4163
Opened for Logs, but equally applicable for Tracing too.
The text was updated successfully, but these errors were encountered: