File tree 4 files changed +491
-2
lines changed 4 files changed +491
-2
lines changed Original file line number Diff line number Diff line change @@ -24,9 +24,9 @@ build_common = { path = "../build-common" }
24
24
[dev-dependencies ]
25
25
httpmock = " 0.7.0"
26
26
rmp-serde = " 1.1.1"
27
- datadog-trace-utils = { path = " ../trace-utils" }
28
27
29
28
[dependencies ]
30
29
data-pipeline = { path = " ../data-pipeline" }
31
30
ddcommon-ffi = { path = " ../ddcommon-ffi" , default-features = false }
32
31
tinybytes = { path = " ../tinybytes" }
32
+ datadog-trace-utils = { path = " ../trace-utils" }
Original file line number Diff line number Diff line change 4
4
language = " C"
5
5
cpp_compat = true
6
6
tab_width = 2
7
- header = """ // Copyright 2021 -Present Datadog, Inc. https://www.datadoghq.com/
7
+ header = """ // Copyright 2024 -Present Datadog, Inc. https://www.datadoghq.com/
8
8
// SPDX-License-Identifier: Apache-2.0
9
+
10
+ typedef struct ddog_SpanBytes ddog_SpanBytes;
11
+ typedef struct ddog_SpanLinkBytes ddog_SpanLinkBytes;
12
+ typedef struct ddog_SpanEventBytes ddog_SpanEventBytes;
13
+ typedef struct ddog_AttributeAnyValueBytes ddog_AttributeAnyValueBytes;
14
+ typedef struct ddog_AttributeArrayValueBytes ddog_AttributeArrayValueBytes;
9
15
"""
10
16
include_guard = " DDOG_DATA_PIPELINE_H"
11
17
includes = [" common.h" ]
@@ -23,6 +29,9 @@ renaming_overrides_prefixing = true
23
29
"ExporterResponse" = " ddog_TraceExporterResponse"
24
30
"ExporterErrorCode" = " ddog_TraceExporterErrorCode"
25
31
"ExporterError" = " ddog_TraceExporterError"
32
+ "Span" = " ddog_Span"
33
+ "SpanBytes" = " ddog_SpanBytes"
34
+ "SpanText" = " ddog_SpanText"
26
35
27
36
[export .mangle ]
28
37
rename_types = " PascalCase"
@@ -37,3 +46,6 @@ must_use = "DDOG_CHECK_RETURN"
37
46
[parse ]
38
47
parse_deps = true
39
48
include = [" ddcommon" , " ddcommon-ffi" , " data-pipeline" ]
49
+
50
+ [parse .expand ]
51
+ crates = [" data-pipeline-ffi" ]
Original file line number Diff line number Diff line change 8
8
9
9
mod error;
10
10
mod response;
11
+ mod span;
11
12
mod trace_exporter;
You can’t perform that action at this time.
0 commit comments