Commit 3ede0c0
committed
feat(data-pipeline): port dd-trace-rs trace buffer implementation
# Motivation
As we implement native spans in ruby in python, we have opportuinities to replace more components of the span pipeline with native code.
One of them i the span buffer which we is before the trace exporter.
# Changes
Add a TraceBuffer implementation.
The TraceBuffer is split in two part, a Sender which allows putting trace chunks in the queue and a background task, spawned on the shared runtime which periodically pulls data from the chunk and submit them using the TraceExporter.1 parent b9fe72e commit 3ede0c0
4 files changed
Lines changed: 833 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
| 29 | + | |
29 | 30 | | |
30 | 31 | | |
31 | 32 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| 21 | + | |
0 commit comments