Commit ed128c8
Use native rust spans instead of manually serializing to msgpack (#3194)
* feat(component-rs): add data-pipeline header
Signed-off-by: Alexandre Rulleau <alexandre.rulleau@datadoghq.com>
* Fix missing use
Signed-off-by: Bob Weinand <bob.weinand@datadoghq.com>
* Update libdatadog
Signed-off-by: Bob Weinand <bob.weinand@datadoghq.com>
* feat(tracer): use rust span API
Signed-off-by: Alexandre Rulleau <alexandre.rulleau@datadoghq.com>
* chore: bump libdatadog
Signed-off-by: Alexandre Rulleau <alexandre.rulleau@datadoghq.com>
* feat(tracer: serializer): complete replacement of rust span API in serialization method
Signed-off-by: Alexandre Rulleau <alexandre.rulleau@datadoghq.com>
* feat(ext: tracer): add local API to use zendString instead of CharSlice
Signed-off-by: Alexandre Rulleau <alexandre.rulleau@datadoghq.com>
* feat(ext: tracer): apply PR feedbacks
Signed-off-by: Alexandre Rulleau <alexandre.rulleau@datadoghq.com>
* feat(tracer): modify communication code between the tracer and sidecar
Signed-off-by: Alexandre Rulleau <alexandre.rulleau@datadoghq.com>
* feat(tracer): add function to convert a rust span to a zval
Signed-off-by: Alexandre Rulleau <alexandre.rulleau@datadoghq.com>
* chore: fix tests
Signed-off-by: Alexandre Rulleau <alexandre.rulleau@datadoghq.com>
* chore: fix tests
Signed-off-by: Alexandre Rulleau <alexandre.rulleau@datadoghq.com>
* Switch to new way to pass zend_strings
Signed-off-by: Bob Weinand <bob.weinand@datadoghq.com>
* chore: fix tests
Signed-off-by: Alexandre Rulleau <alexandre.rulleau@datadoghq.com>
* chore: remove useless free statements
Signed-off-by: Alexandre Rulleau <alexandre.rulleau@datadoghq.com>
* chore: fix remaining failing tests
Signed-off-by: Alexandre Rulleau <alexandre.rulleau@datadoghq.com>
* test: fix windows compiling tests
Signed-off-by: Alexandre Rulleau <alexandre.rulleau@datadoghq.com>
* feat: move rust span code to sidecar-ffi
Signed-off-by: Alexandre Rulleau <alexandre.rulleau@datadoghq.com>
* feat: improve serializer performance by using literal instead of CharSlice
Signed-off-by: Alexandre Rulleau <alexandre.rulleau@datadoghq.com>
* chore: rebase with master
Signed-off-by: Alexandre Rulleau <alexandre.rulleau@datadoghq.com>
---------
Signed-off-by: Alexandre Rulleau <alexandre.rulleau@datadoghq.com>
Signed-off-by: Bob Weinand <bob.weinand@datadoghq.com>
Co-authored-by: Bob Weinand <bob.weinand@datadoghq.com>1 parent 91222ad commit ed128c8
96 files changed
Lines changed: 1617 additions & 1282 deletions
File tree
- appsec/tests/extension
- components-rs
- ext
- loader/tests/functional
- tests/ext
- distributed_tracing
- fibers
- inferred_proxy
- integrations/source_code
- 002
- sandbox-prehook
- sandbox
- install_hook
- zend_abstract_interface/config
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
437 | 437 | | |
438 | 438 | | |
439 | 439 | | |
440 | | - | |
| 440 | + | |
441 | 441 | | |
442 | 442 | | |
443 | 443 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
61 | 61 | | |
62 | 62 | | |
63 | 63 | | |
| 64 | + | |
64 | 65 | | |
65 | 66 | | |
66 | 67 | | |
| |||
104 | 105 | | |
105 | 106 | | |
106 | 107 | | |
107 | | - | |
108 | | - | |
109 | 108 | | |
110 | | - | |
111 | 109 | | |
| 110 | + | |
| 111 | + | |
112 | 112 | | |
113 | | - | |
114 | 113 | | |
| 114 | + | |
| 115 | + | |
115 | 116 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
70 | 70 | | |
71 | 71 | | |
72 | 72 | | |
| 73 | + | |
73 | 74 | | |
74 | 75 | | |
75 | 76 | | |
| |||
101 | 102 | | |
102 | 103 | | |
103 | 104 | | |
104 | | - | |
105 | | - | |
106 | 105 | | |
107 | 106 | | |
108 | | - | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
| 59 | + | |
59 | 60 | | |
60 | 61 | | |
61 | 62 | | |
| |||
98 | 99 | | |
99 | 100 | | |
100 | 101 | | |
101 | | - | |
102 | 102 | | |
103 | | - | |
104 | 103 | | |
105 | 104 | | |
106 | | - | |
107 | 105 | | |
108 | | - | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
| 40 | + | |
40 | 41 | | |
41 | 42 | | |
42 | 43 | | |
| |||
52 | 53 | | |
53 | 54 | | |
54 | 55 | | |
55 | | - | |
56 | 56 | | |
57 | 57 | | |
58 | | - | |
| 58 | + | |
| 59 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
50 | | - | |
51 | | - | |
52 | | - | |
53 | | - | |
54 | 50 | | |
55 | 51 | | |
56 | 52 | | |
57 | 53 | | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
58 | 58 | | |
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
63 | | - | |
64 | | - | |
65 | 63 | | |
66 | 64 | | |
67 | 65 | | |
68 | 66 | | |
| 67 | + | |
| 68 | + | |
69 | 69 | | |
70 | 70 | | |
71 | | - | |
| 71 | + | |
72 | 72 | | |
73 | 73 | | |
74 | 74 | | |
| |||
Lines changed: 4 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
| 52 | + | |
52 | 53 | | |
53 | 54 | | |
54 | 55 | | |
| |||
77 | 78 | | |
78 | 79 | | |
79 | 80 | | |
80 | | - | |
81 | | - | |
82 | 81 | | |
| 82 | + | |
83 | 83 | | |
84 | 84 | | |
85 | | - | |
86 | 85 | | |
| 86 | + | |
| 87 | + | |
87 | 88 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
5 | 8 | | |
6 | 9 | | |
7 | 10 | | |
| |||
17 | 20 | | |
18 | 21 | | |
19 | 22 | | |
| 23 | + | |
20 | 24 | | |
21 | 25 | | |
22 | 26 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| 21 | + | |
| 22 | + | |
21 | 23 | | |
22 | 24 | | |
23 | 25 | | |
| |||
0 commit comments