fix(traces): use channel-based aggregator by shreyamalpani · Pull Request #909 · DataDog/datadog-lambda-extension
Use a channel-based aggregator for traces to avoid locking on aggregation. Adds an aggregator service which receives incoming commands on a channel. Commands can be to insert payloads, get batches, and shutdown.
Follows a similar pattern as #879. Tested with self-monitoring and tested that dual shipping still works as well.