libdatadog 45.0.0.1.0 → 46.0.0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (99) hide show
  1. checksums.yaml +4 -4
  2. data/lib/libdatadog/version.rb +1 -1
  3. data/vendor/{libdatadog-45.0.0 → libdatadog-46.0.0}/aarch64-linux/bin/libdatadog-crashtracking-receiver +0 -0
  4. data/vendor/{libdatadog-45.0.0 → libdatadog-46.0.0}/aarch64-linux/include/datadog/common.h +68 -22
  5. data/vendor/{libdatadog-45.0.0/arm64-darwin → libdatadog-46.0.0/aarch64-linux}/include/datadog/crashtracker.h +4 -4
  6. data/vendor/{libdatadog-45.0.0/arm64-darwin → libdatadog-46.0.0/aarch64-linux}/include/datadog/data-pipeline.h +52 -2
  7. data/vendor/{libdatadog-45.0.0/arm64-darwin → libdatadog-46.0.0/aarch64-linux}/include/datadog/ddsketch.h +2 -2
  8. data/vendor/{libdatadog-45.0.0/x86_64-linux-musl → libdatadog-46.0.0/aarch64-linux}/include/datadog/profiling.h +1 -1
  9. data/vendor/{libdatadog-45.0.0 → libdatadog-46.0.0}/aarch64-linux/lib/libdatadog_profiling.so +0 -0
  10. data/vendor/{libdatadog-45.0.0/arm64-darwin → libdatadog-46.0.0/aarch64-linux}/lib/pkgconfig/datadog_profiling_with_rpath.pc +1 -1
  11. data/vendor/{libdatadog-45.0.0 → libdatadog-46.0.0}/aarch64-linux-musl/bin/libdatadog-crashtracking-receiver +0 -0
  12. data/vendor/{libdatadog-45.0.0 → libdatadog-46.0.0}/aarch64-linux-musl/include/datadog/common.h +68 -22
  13. data/vendor/{libdatadog-45.0.0/aarch64-linux → libdatadog-46.0.0/aarch64-linux-musl}/include/datadog/crashtracker.h +4 -4
  14. data/vendor/{libdatadog-45.0.0/aarch64-linux → libdatadog-46.0.0/aarch64-linux-musl}/include/datadog/data-pipeline.h +52 -2
  15. data/vendor/{libdatadog-45.0.0 → libdatadog-46.0.0}/aarch64-linux-musl/include/datadog/ddsketch.h +2 -2
  16. data/vendor/{libdatadog-45.0.0/arm64-darwin → libdatadog-46.0.0/aarch64-linux-musl}/include/datadog/profiling.h +1 -1
  17. data/vendor/{libdatadog-45.0.0 → libdatadog-46.0.0}/aarch64-linux-musl/lib/libdatadog_profiling.so +0 -0
  18. data/vendor/{libdatadog-45.0.0 → libdatadog-46.0.0}/aarch64-linux-musl/lib/pkgconfig/datadog_profiling_with_rpath.pc +1 -1
  19. data/vendor/{libdatadog-45.0.0 → libdatadog-46.0.0}/arm64-darwin/include/datadog/common.h +68 -22
  20. data/vendor/{libdatadog-45.0.0/aarch64-linux-musl → libdatadog-46.0.0/arm64-darwin}/include/datadog/crashtracker.h +4 -4
  21. data/vendor/{libdatadog-45.0.0/x86_64-linux-musl → libdatadog-46.0.0/arm64-darwin}/include/datadog/data-pipeline.h +52 -2
  22. data/vendor/{libdatadog-45.0.0/aarch64-linux → libdatadog-46.0.0/arm64-darwin}/include/datadog/ddsketch.h +2 -2
  23. data/vendor/{libdatadog-45.0.0/aarch64-linux-musl → libdatadog-46.0.0/arm64-darwin}/include/datadog/profiling.h +1 -1
  24. data/vendor/{libdatadog-45.0.0 → libdatadog-46.0.0}/arm64-darwin/lib/libdatadog_profiling.dylib +0 -0
  25. data/vendor/{libdatadog-45.0.0/x86_64-linux-musl → libdatadog-46.0.0/arm64-darwin}/lib/pkgconfig/datadog_profiling_with_rpath.pc +1 -1
  26. data/vendor/{libdatadog-45.0.0 → libdatadog-46.0.0}/x86_64-linux/bin/libdatadog-crashtracking-receiver +0 -0
  27. data/vendor/libdatadog-46.0.0/x86_64-linux/include/datadog/common.h +3215 -0
  28. data/vendor/libdatadog-46.0.0/x86_64-linux/include/datadog/crashtracker.h +1026 -0
  29. data/vendor/libdatadog-46.0.0/x86_64-linux/include/datadog/data-pipeline.h +732 -0
  30. data/vendor/libdatadog-46.0.0/x86_64-linux/include/datadog/ddsketch.h +89 -0
  31. data/vendor/libdatadog-46.0.0/x86_64-linux/include/datadog/profiling.h +1167 -0
  32. data/vendor/{libdatadog-45.0.0 → libdatadog-46.0.0}/x86_64-linux/lib/libdatadog_profiling.so +0 -0
  33. data/vendor/libdatadog-46.0.0/x86_64-linux/lib/pkgconfig/datadog_profiling_with_rpath.pc +15 -0
  34. data/vendor/{libdatadog-45.0.0 → libdatadog-46.0.0}/x86_64-linux-musl/bin/libdatadog-crashtracking-receiver +0 -0
  35. data/vendor/{libdatadog-45.0.0 → libdatadog-46.0.0}/x86_64-linux-musl/include/datadog/common.h +68 -22
  36. data/vendor/{libdatadog-45.0.0 → libdatadog-46.0.0}/x86_64-linux-musl/include/datadog/crashtracker.h +4 -4
  37. data/vendor/{libdatadog-45.0.0/aarch64-linux-musl → libdatadog-46.0.0/x86_64-linux-musl}/include/datadog/data-pipeline.h +52 -2
  38. data/vendor/{libdatadog-45.0.0 → libdatadog-46.0.0}/x86_64-linux-musl/include/datadog/ddsketch.h +2 -2
  39. data/vendor/{libdatadog-45.0.0/aarch64-linux → libdatadog-46.0.0/x86_64-linux-musl}/include/datadog/profiling.h +1 -1
  40. data/vendor/{libdatadog-45.0.0 → libdatadog-46.0.0}/x86_64-linux-musl/lib/libdatadog_profiling.so +0 -0
  41. data/vendor/{libdatadog-45.0.0/aarch64-linux → libdatadog-46.0.0/x86_64-linux-musl}/lib/pkgconfig/datadog_profiling_with_rpath.pc +1 -1
  42. metadata +91 -91
  43. data/vendor/libdatadog-45.0.0/x86_64-linux/include/datadog/common.h +0 -3169
  44. data/vendor/libdatadog-45.0.0/x86_64-linux/include/datadog/crashtracker.h +0 -1026
  45. data/vendor/libdatadog-45.0.0/x86_64-linux/include/datadog/data-pipeline.h +0 -682
  46. data/vendor/libdatadog-45.0.0/x86_64-linux/include/datadog/ddsketch.h +0 -89
  47. data/vendor/libdatadog-45.0.0/x86_64-linux/include/datadog/profiling.h +0 -1167
  48. data/vendor/libdatadog-45.0.0/x86_64-linux/lib/pkgconfig/datadog_profiling_with_rpath.pc +0 -15
  49. /data/vendor/{libdatadog-45.0.0 → libdatadog-46.0.0}/aarch64-linux/LICENSE +0 -0
  50. /data/vendor/{libdatadog-45.0.0 → libdatadog-46.0.0}/aarch64-linux/LICENSE-3rdparty.csv +0 -0
  51. /data/vendor/{libdatadog-45.0.0 → libdatadog-46.0.0}/aarch64-linux/NOTICE +0 -0
  52. /data/vendor/{libdatadog-45.0.0 → libdatadog-46.0.0}/aarch64-linux/include/datadog/blazesym.h +0 -0
  53. /data/vendor/{libdatadog-45.0.0 → libdatadog-46.0.0}/aarch64-linux/include/datadog/ffe.h +0 -0
  54. /data/vendor/{libdatadog-45.0.0 → libdatadog-46.0.0}/aarch64-linux/include/datadog/library-config.h +0 -0
  55. /data/vendor/{libdatadog-45.0.0 → libdatadog-46.0.0}/aarch64-linux/include/datadog/log.h +0 -0
  56. /data/vendor/{libdatadog-45.0.0 → libdatadog-46.0.0}/aarch64-linux/include/datadog/otel-thread-ctx.h +0 -0
  57. /data/vendor/{libdatadog-45.0.0 → libdatadog-46.0.0}/aarch64-linux/include/datadog/shared-runtime.h +0 -0
  58. /data/vendor/{libdatadog-45.0.0 → libdatadog-46.0.0}/aarch64-linux/include/datadog/telemetry.h +0 -0
  59. /data/vendor/{libdatadog-45.0.0 → libdatadog-46.0.0}/aarch64-linux-musl/LICENSE +0 -0
  60. /data/vendor/{libdatadog-45.0.0 → libdatadog-46.0.0}/aarch64-linux-musl/LICENSE-3rdparty.csv +0 -0
  61. /data/vendor/{libdatadog-45.0.0 → libdatadog-46.0.0}/aarch64-linux-musl/NOTICE +0 -0
  62. /data/vendor/{libdatadog-45.0.0 → libdatadog-46.0.0}/aarch64-linux-musl/include/datadog/blazesym.h +0 -0
  63. /data/vendor/{libdatadog-45.0.0 → libdatadog-46.0.0}/aarch64-linux-musl/include/datadog/ffe.h +0 -0
  64. /data/vendor/{libdatadog-45.0.0 → libdatadog-46.0.0}/aarch64-linux-musl/include/datadog/library-config.h +0 -0
  65. /data/vendor/{libdatadog-45.0.0 → libdatadog-46.0.0}/aarch64-linux-musl/include/datadog/log.h +0 -0
  66. /data/vendor/{libdatadog-45.0.0 → libdatadog-46.0.0}/aarch64-linux-musl/include/datadog/otel-thread-ctx.h +0 -0
  67. /data/vendor/{libdatadog-45.0.0 → libdatadog-46.0.0}/aarch64-linux-musl/include/datadog/shared-runtime.h +0 -0
  68. /data/vendor/{libdatadog-45.0.0 → libdatadog-46.0.0}/aarch64-linux-musl/include/datadog/telemetry.h +0 -0
  69. /data/vendor/{libdatadog-45.0.0 → libdatadog-46.0.0}/arm64-darwin/LICENSE +0 -0
  70. /data/vendor/{libdatadog-45.0.0 → libdatadog-46.0.0}/arm64-darwin/LICENSE-3rdparty.csv +0 -0
  71. /data/vendor/{libdatadog-45.0.0 → libdatadog-46.0.0}/arm64-darwin/NOTICE +0 -0
  72. /data/vendor/{libdatadog-45.0.0 → libdatadog-46.0.0}/arm64-darwin/bin/libdatadog-crashtracking-receiver +0 -0
  73. /data/vendor/{libdatadog-45.0.0 → libdatadog-46.0.0}/arm64-darwin/include/datadog/blazesym.h +0 -0
  74. /data/vendor/{libdatadog-45.0.0 → libdatadog-46.0.0}/arm64-darwin/include/datadog/ffe.h +0 -0
  75. /data/vendor/{libdatadog-45.0.0 → libdatadog-46.0.0}/arm64-darwin/include/datadog/library-config.h +0 -0
  76. /data/vendor/{libdatadog-45.0.0 → libdatadog-46.0.0}/arm64-darwin/include/datadog/log.h +0 -0
  77. /data/vendor/{libdatadog-45.0.0 → libdatadog-46.0.0}/arm64-darwin/include/datadog/otel-thread-ctx.h +0 -0
  78. /data/vendor/{libdatadog-45.0.0 → libdatadog-46.0.0}/arm64-darwin/include/datadog/shared-runtime.h +0 -0
  79. /data/vendor/{libdatadog-45.0.0 → libdatadog-46.0.0}/arm64-darwin/include/datadog/telemetry.h +0 -0
  80. /data/vendor/{libdatadog-45.0.0 → libdatadog-46.0.0}/x86_64-linux/LICENSE +0 -0
  81. /data/vendor/{libdatadog-45.0.0 → libdatadog-46.0.0}/x86_64-linux/LICENSE-3rdparty.csv +0 -0
  82. /data/vendor/{libdatadog-45.0.0 → libdatadog-46.0.0}/x86_64-linux/NOTICE +0 -0
  83. /data/vendor/{libdatadog-45.0.0 → libdatadog-46.0.0}/x86_64-linux/include/datadog/blazesym.h +0 -0
  84. /data/vendor/{libdatadog-45.0.0 → libdatadog-46.0.0}/x86_64-linux/include/datadog/ffe.h +0 -0
  85. /data/vendor/{libdatadog-45.0.0 → libdatadog-46.0.0}/x86_64-linux/include/datadog/library-config.h +0 -0
  86. /data/vendor/{libdatadog-45.0.0 → libdatadog-46.0.0}/x86_64-linux/include/datadog/log.h +0 -0
  87. /data/vendor/{libdatadog-45.0.0 → libdatadog-46.0.0}/x86_64-linux/include/datadog/otel-thread-ctx.h +0 -0
  88. /data/vendor/{libdatadog-45.0.0 → libdatadog-46.0.0}/x86_64-linux/include/datadog/shared-runtime.h +0 -0
  89. /data/vendor/{libdatadog-45.0.0 → libdatadog-46.0.0}/x86_64-linux/include/datadog/telemetry.h +0 -0
  90. /data/vendor/{libdatadog-45.0.0 → libdatadog-46.0.0}/x86_64-linux-musl/LICENSE +0 -0
  91. /data/vendor/{libdatadog-45.0.0 → libdatadog-46.0.0}/x86_64-linux-musl/LICENSE-3rdparty.csv +0 -0
  92. /data/vendor/{libdatadog-45.0.0 → libdatadog-46.0.0}/x86_64-linux-musl/NOTICE +0 -0
  93. /data/vendor/{libdatadog-45.0.0 → libdatadog-46.0.0}/x86_64-linux-musl/include/datadog/blazesym.h +0 -0
  94. /data/vendor/{libdatadog-45.0.0 → libdatadog-46.0.0}/x86_64-linux-musl/include/datadog/ffe.h +0 -0
  95. /data/vendor/{libdatadog-45.0.0 → libdatadog-46.0.0}/x86_64-linux-musl/include/datadog/library-config.h +0 -0
  96. /data/vendor/{libdatadog-45.0.0 → libdatadog-46.0.0}/x86_64-linux-musl/include/datadog/log.h +0 -0
  97. /data/vendor/{libdatadog-45.0.0 → libdatadog-46.0.0}/x86_64-linux-musl/include/datadog/otel-thread-ctx.h +0 -0
  98. /data/vendor/{libdatadog-45.0.0 → libdatadog-46.0.0}/x86_64-linux-musl/include/datadog/shared-runtime.h +0 -0
  99. /data/vendor/{libdatadog-45.0.0 → libdatadog-46.0.0}/x86_64-linux-musl/include/datadog/telemetry.h +0 -0
@@ -0,0 +1,732 @@
1
+ // Copyright 2021-Present Datadog, Inc. https://www.datadoghq.com/
2
+ // SPDX-License-Identifier: Apache-2.0
3
+
4
+
5
+ #ifndef DDOG_DATA_PIPELINE_H
6
+ #define DDOG_DATA_PIPELINE_H
7
+
8
+ #include <stdarg.h>
9
+ #include <stdbool.h>
10
+ #include <stdint.h>
11
+ #include <stdlib.h>
12
+ #include "common.h"
13
+ #ifdef __cplusplus
14
+ extern "C" {
15
+ #endif // __cplusplus
16
+
17
+ /**
18
+ * Frees `error` and all its contents. After being called error will not point to a valid memory
19
+ * address so any further actions on it could lead to undefined behavior.
20
+ */
21
+ void ddog_trace_exporter_error_free(struct ddog_TraceExporterError *error);
22
+
23
+ /**
24
+ * Select external observation delivery and disable native telemetry delivery.
25
+ *
26
+ * # Safety
27
+ * `config`, when non-null, must be a live, exclusively borrowed configuration.
28
+ */
29
+ struct ddog_TraceExporterError *ddog_trace_exporter_config_enable_observations(struct ddog_TraceExporterConfig *config);
30
+
31
+ /**
32
+ * Send chunks with caller-owned observations on success, failure, or cancellation.
33
+ * Native telemetry is not submitted for this operation. Both outputs are initialised
34
+ * before validation; invalid input and contained panics leave zero observations.
35
+ * `chunks` is consumed on every return, including invalid arguments and panics.
36
+ *
37
+ * # Safety
38
+ * Non-null pointers must be valid for their types. Output slots must be writable,
39
+ * unaliased, and contain no live owned response. Free a returned response with
40
+ * `ddog_trace_exporter_response_free`; observations require no cleanup.
41
+ */
42
+ struct ddog_TraceExporterError *ddog_trace_exporter_send_trace_chunks_observed(const ddog_TraceExporter *exporter,
43
+ ddog_TracerTraceChunks *chunks,
44
+ struct ddog_TraceExporterResponse **response_out,
45
+ struct ddog_TraceExporterObservations *observations_out,
46
+ const ddog_TraceExporterCancelToken *cancel);
47
+
48
+ /**
49
+ * Return a borrowed view of the response body. The returned slice is
50
+ * only valid as long as `response` is alive. Returns an empty slice
51
+ * when `response` is null or the body is absent.
52
+ */
53
+ ddog_ByteSlice ddog_trace_exporter_response_get_body(const struct ddog_TraceExporterResponse *response);
54
+
55
+ /**
56
+ * Free `response` and all its contents. After being called response will not point to a valid
57
+ * memory address so any further actions on it could lead to undefined behavior.
58
+ */
59
+ void ddog_trace_exporter_response_free(struct ddog_TraceExporterResponse *response);
60
+
61
+ /**
62
+ * Encode one flat preorder structured value as an owned MessagePack blob.
63
+ *
64
+ * On success, `out_handle` receives an owned blob that must be freed with
65
+ * [`ddog_tracer_encoded_value_free`]. The input is fully validated and must
66
+ * contain exactly one value. Token byte slices are borrowed only for this
67
+ * synchronous call; the returned blob does not retain them.
68
+ *
69
+ * # Safety
70
+ *
71
+ * `tokens` and every byte slice referenced by its tokens must remain valid for
72
+ * this call. `out_handle` must point to writable memory for a
73
+ * `Box<TracerEncodedValue>`.
74
+ */
75
+ struct ddog_TraceExporterError *ddog_tracer_encode_value(struct ddog_Slice_TracerValueToken tokens,
76
+ struct ddog_TracerEncodedValue **out_handle);
77
+
78
+ /**
79
+ * Borrow the bytes in an encoded value. The slice is valid until the blob is
80
+ * freed.
81
+ */
82
+ ddog_ByteSlice ddog_tracer_encoded_value_as_slice(const struct ddog_TracerEncodedValue *value);
83
+
84
+ /**
85
+ * Free an encoded structured value and its bytes.
86
+ */
87
+ void ddog_tracer_encoded_value_free(struct ddog_TracerEncodedValue *value);
88
+
89
+ void ddog_trace_exporter_config_new(struct ddog_TraceExporterConfig **out_handle);
90
+
91
+ /**
92
+ * Frees TraceExporterConfig handle internal resources.
93
+ */
94
+ void ddog_trace_exporter_config_free(struct ddog_TraceExporterConfig *handle);
95
+
96
+ /**
97
+ * Sets traces destination.
98
+ */
99
+ struct ddog_TraceExporterError *ddog_trace_exporter_config_set_url(struct ddog_TraceExporterConfig *config,
100
+ ddog_CharSlice url);
101
+
102
+ /**
103
+ * Sets tracer's version to be included in the headers request.
104
+ */
105
+ struct ddog_TraceExporterError *ddog_trace_exporter_config_set_tracer_version(struct ddog_TraceExporterConfig *config,
106
+ ddog_CharSlice version);
107
+
108
+ /**
109
+ * Sets tracer's language to be included in the headers request.
110
+ */
111
+ struct ddog_TraceExporterError *ddog_trace_exporter_config_set_language(struct ddog_TraceExporterConfig *config,
112
+ ddog_CharSlice lang);
113
+
114
+ /**
115
+ * Sets tracer's language version to be included in the headers request.
116
+ */
117
+ struct ddog_TraceExporterError *ddog_trace_exporter_config_set_lang_version(struct ddog_TraceExporterConfig *config,
118
+ ddog_CharSlice version);
119
+
120
+ /**
121
+ * Sets tracer's language interpreter to be included in the headers request.
122
+ */
123
+ struct ddog_TraceExporterError *ddog_trace_exporter_config_set_lang_interpreter(struct ddog_TraceExporterConfig *config,
124
+ ddog_CharSlice interpreter);
125
+
126
+ /**
127
+ * Sets hostname information to be included in the headers request.
128
+ */
129
+ struct ddog_TraceExporterError *ddog_trace_exporter_config_set_hostname(struct ddog_TraceExporterConfig *config,
130
+ ddog_CharSlice hostname);
131
+
132
+ /**
133
+ * Sets environment information to be included in the headers request.
134
+ */
135
+ struct ddog_TraceExporterError *ddog_trace_exporter_config_set_env(struct ddog_TraceExporterConfig *config,
136
+ ddog_CharSlice env);
137
+
138
+ struct ddog_TraceExporterError *ddog_trace_exporter_config_set_version(struct ddog_TraceExporterConfig *config,
139
+ ddog_CharSlice version);
140
+
141
+ /**
142
+ * Sets service name to be included in the headers request.
143
+ */
144
+ struct ddog_TraceExporterError *ddog_trace_exporter_config_set_service(struct ddog_TraceExporterConfig *config,
145
+ ddog_CharSlice service);
146
+
147
+ /**
148
+ * Enables health metrics emission.
149
+ */
150
+ struct ddog_TraceExporterError *ddog_trace_exporter_config_enable_health_metrics(struct ddog_TraceExporterConfig *config,
151
+ bool is_enabled);
152
+
153
+ /**
154
+ * Enables telemetry metrics.
155
+ */
156
+ struct ddog_TraceExporterError *ddog_trace_exporter_config_enable_telemetry(struct ddog_TraceExporterConfig *config,
157
+ const struct ddog_TelemetryClientConfig *telemetry_cfg);
158
+
159
+ /**
160
+ * Set client-side stats computation status.
161
+ */
162
+ struct ddog_TraceExporterError *ddog_trace_exporter_config_set_compute_stats(struct ddog_TraceExporterConfig *config,
163
+ bool is_enabled);
164
+
165
+ /**
166
+ * Indicates that the tracer has already marked top-level spans with `_dd.top_level`.
167
+ * Sets the `Datadog-Client-Computed-Top-Level` header without enabling stats computation.
168
+ */
169
+ struct ddog_TraceExporterError *ddog_trace_exporter_config_set_client_computed_top_level(struct ddog_TraceExporterConfig *config,
170
+ bool client_computed_top_level);
171
+
172
+ /**
173
+ * Sets `Datadog-Client-Computed-Stats` header to `true`.
174
+ * This indicates that the upstream system has already computed the stats,
175
+ * and no further stats computation should be performed.
176
+ *
177
+ * <div class="warning">
178
+ * This method must not be used when `compute_stats` is enabled, as it could
179
+ * result in duplicate stats computation.
180
+ * </div>
181
+ *
182
+ * A common use case is in Application Security Monitoring (ASM) scenarios:
183
+ * when APM is disabled but ASM is enabled, setting this header to `true`
184
+ * ensures that no stats are computed at any level (exporter or agent).
185
+ */
186
+ struct ddog_TraceExporterError *ddog_trace_exporter_config_set_client_computed_stats(struct ddog_TraceExporterConfig *config,
187
+ bool client_computed_stats);
188
+
189
+ /**
190
+ * Shares a mutable metadata handle with the exporter config.
191
+ *
192
+ * When set, this supersedes `ddog_trace_exporter_config_set_process_tags` and
193
+ * `ddog_trace_exporter_config_set_runtime_id`.
194
+ */
195
+ struct ddog_TraceExporterError *ddog_trace_exporter_config_set_mutable_metadata(struct ddog_TraceExporterConfig *config,
196
+ const ddog_MutableMetadataHandle *metadata);
197
+
198
+ /**
199
+ * Sets the process tags to be included in the stats payload.
200
+ *
201
+ * This should not be used when `ddog_trace_exporter_config_set_mutable_metadata` is used.
202
+ */
203
+ struct ddog_TraceExporterError *ddog_trace_exporter_config_set_process_tags(struct ddog_TraceExporterConfig *config,
204
+ ddog_CharSlice process_tags);
205
+
206
+ /**
207
+ * Sets the runtime id used in payloads.
208
+ *
209
+ * This should not be used when `ddog_trace_exporter_config_set_mutable_metadata` is used.
210
+ */
211
+ struct ddog_TraceExporterError *ddog_trace_exporter_config_set_runtime_id(struct ddog_TraceExporterConfig *config,
212
+ ddog_CharSlice runtime_id);
213
+
214
+ /**
215
+ * Sets the `X-Datadog-Test-Session-Token` header. Only used for testing with the test agent.
216
+ */
217
+ struct ddog_TraceExporterError *ddog_trace_exporter_config_set_test_session_token(struct ddog_TraceExporterConfig *config,
218
+ ddog_CharSlice token);
219
+
220
+ /**
221
+ * Sets the timeout in ms for all agent's connections.
222
+ */
223
+ struct ddog_TraceExporterError *ddog_trace_exporter_config_set_connection_timeout(struct ddog_TraceExporterConfig *config,
224
+ uint64_t timeout_ms);
225
+
226
+ /**
227
+ * Sets a shared runtime for the TraceExporter to use for background workers.
228
+ *
229
+ * `handle` must have been initialized with `ddog_shared_runtime_new`.
230
+ *
231
+ * When set, the exporter will use the provided runtime instead of creating its own.
232
+ * This allows multiple exporters (or other components) to share a single runtime.
233
+ * The config holds a clone of the `Arc` (increments the strong count), so the
234
+ * original handle remains valid and must still be freed with
235
+ * `ddog_shared_runtime_free`.
236
+ */
237
+ struct ddog_TraceExporterError *ddog_trace_exporter_config_set_shared_runtime(struct ddog_TraceExporterConfig *config,
238
+ struct ddog_ForkSafeRuntime *handle);
239
+
240
+ /**
241
+ * Enables OTLP trace export and sets the endpoint URL.
242
+ *
243
+ * When set, traces are sent to this URL using the protocol selected by
244
+ * `ddog_trace_exporter_config_set_otlp_protocol` instead of the Datadog agent. The host language
245
+ * is responsible for resolving the endpoint from its configuration (e.g.
246
+ * `OTEL_EXPORTER_OTLP_TRACES_ENDPOINT`) before calling this function.
247
+ */
248
+ struct ddog_TraceExporterError *ddog_trace_exporter_config_set_otlp_endpoint(struct ddog_TraceExporterConfig *config,
249
+ ddog_CharSlice url);
250
+
251
+ /**
252
+ * Sets the OTLP export protocol. Accepts the OTel-standard values `http/json` (default),
253
+ * `http/protobuf`, or `grpc`; unknown values are rejected. The host language resolves the value
254
+ * (e.g. from `OTEL_EXPORTER_OTLP_TRACES_PROTOCOL`).
255
+ * The `grpc` protocol currently supports plaintext `http://` endpoints only.
256
+ *
257
+ * Has no effect unless an OTLP endpoint is also configured via
258
+ * `ddog_trace_exporter_config_set_otlp_endpoint`; without one, traces are sent to the
259
+ * Datadog agent and this protocol selection is ignored.
260
+ *
261
+ * Returns `None` on success, `ErrorCode::InvalidArgument` for a null config or an unaccepted
262
+ * value, and `ErrorCode::InvalidInput` for a non-UTF-8 string.
263
+ */
264
+ struct ddog_TraceExporterError *ddog_trace_exporter_config_set_otlp_protocol(struct ddog_TraceExporterConfig *config,
265
+ ddog_CharSlice protocol);
266
+
267
+ /**
268
+ * Sets OTLP trace instrumentation scope metadata.
269
+ *
270
+ * Has no effect unless an OTLP endpoint is also configured via
271
+ * `ddog_trace_exporter_config_set_otlp_endpoint`; without one, traces are sent to the
272
+ * Datadog agent and this scope metadata is ignored.
273
+ */
274
+ struct ddog_TraceExporterError *ddog_trace_exporter_config_set_otlp_instrumentation_scope(struct ddog_TraceExporterConfig *config,
275
+ ddog_CharSlice name,
276
+ ddog_CharSlice version);
277
+
278
+ /**
279
+ * Sets the cardinality limit for client-side stats computation.
280
+ *
281
+ * When the number of distinct stats groups exceeds `limit`, additional groups are
282
+ * aggregated into a sentinel key instead of being tracked individually.
283
+ * This bounds memory usage when the trace population has very high cardinality.
284
+ *
285
+ * Has no effect unless stats computation is enabled via
286
+ * `ddog_trace_exporter_config_set_compute_stats`.
287
+ */
288
+ struct ddog_TraceExporterError *ddog_trace_exporter_config_set_stats_cardinality_limit(struct ddog_TraceExporterConfig *config,
289
+ struct ddog_CardinalityLimitConfig limits);
290
+
291
+ /**
292
+ * Returns a `CardinalityLimitConfig` with default values
293
+ */
294
+ struct ddog_CardinalityLimitConfig ddog_trace_exporter_config_default_stats_cardinality_limit(void);
295
+
296
+ /**
297
+ * Enables agentless APM trace export and sets the intake URL and API key.
298
+ *
299
+ * When set, APM trace spans are sent directly to the Datadog HTTP intake in JSON format
300
+ * (`POST /v1/input`) instead of through the Datadog Agent. Agentless trace export is mutually
301
+ * exclusive with both an agent URL ([`ddog_trace_exporter_config_set_url`]) and an OTLP endpoint
302
+ * ([`ddog_trace_exporter_config_set_otlp_endpoint`]); combining either with this setter causes
303
+ * [`ddog_trace_exporter_new`] to return an error.
304
+ */
305
+ struct ddog_TraceExporterError *ddog_trace_exporter_config_set_agentless_endpoint(struct ddog_TraceExporterConfig *config,
306
+ ddog_CharSlice url,
307
+ ddog_CharSlice api_key);
308
+
309
+ /**
310
+ * Sets the request timeout (in milliseconds) used by the agentless intake transport.
311
+ *
312
+ * Defaults to 15 seconds when unset. Calling this without also setting an agentless endpoint
313
+ * causes [`ddog_trace_exporter_new`] to return an error.
314
+ */
315
+ struct ddog_TraceExporterError *ddog_trace_exporter_config_set_agentless_timeout(struct ddog_TraceExporterConfig *config,
316
+ uint64_t timeout_ms);
317
+
318
+ /**
319
+ * Sets the span obfuscation configuration from a JSON string.
320
+ *
321
+ * `json` is deserialized into `ObfuscationConfig` (the same struct the Datadog Agent uses),
322
+ * which controls obfuscation of HTTP URLs, SQL resources, Redis/Valkey commands, memcached
323
+ * commands, credit-card numbers, elasticsearch/opensearch/mongodb bodies, and tag-replace
324
+ * rules. Obfuscation is applied to every span on the agentless export path (see
325
+ * [`ddog_trace_exporter_config_set_agentless_endpoint`]); it has no effect on the agent path.
326
+ *
327
+ * Returns an error if `json` is not valid UTF-8 or fails to deserialize. Example:
328
+ * ```c
329
+ * ddog_trace_exporter_config_set_obfuscation_config(
330
+ * cfg, DDOG_CHARSLICE_C(
331
+ * "{\"http\":{\"remove_query_string\":true},"
332
+ * "\"credit_cards\":{\"enabled\":true}}"));
333
+ * ```
334
+ */
335
+ struct ddog_TraceExporterError *ddog_trace_exporter_config_set_obfuscation_config(struct ddog_TraceExporterConfig *config,
336
+ ddog_CharSlice json);
337
+
338
+ /**
339
+ * Configure the exporter to write traces as newline-delimited JSON to stdout (the Datadog
340
+ * Forwarder "log exporter" path) instead of sending them to a Datadog agent. Used in serverless
341
+ * environments (e.g. AWS Lambda) when no agent is reachable.
342
+ *
343
+ * `max_line_size` overrides the per-line byte cap; pass `0` to use the default (256 KiB, the AWS
344
+ * CloudWatch Logs limit). When enabled, agent-specific behavior (agent-info polling, client-side
345
+ * stats, V1 negotiation) is bypassed.
346
+ *
347
+ * In this mode each span's `meta` is serialized to process stdout (and thus captured by CloudWatch
348
+ * Logs in Lambda); `meta_struct` is excluded because it holds raw msgpack the log intake cannot
349
+ * interpret.
350
+ *
351
+ * Writes are synchronous/blocking on stdout, so this mode targets single-threaded / current-thread
352
+ * serverless runtimes (e.g. AWS Lambda) where a blocking write won't stall a shared async reactor.
353
+ */
354
+ struct ddog_TraceExporterError *ddog_trace_exporter_config_set_output_to_log(struct ddog_TraceExporterConfig *config,
355
+ uintptr_t max_line_size);
356
+
357
+ /**
358
+ * Create a new TraceExporter instance.
359
+ *
360
+ * When an OTLP endpoint is configured via `TraceExporterConfig`, the exporter sends traces using
361
+ * the configured `http/json`, `http/protobuf`, or `grpc` protocol instead of the Datadog agent.
362
+ * The same payload (e.g. MessagePack) is passed to
363
+ * `ddog_trace_exporter_send`; the library decodes and converts it to OTLP when OTLP is enabled.
364
+ *
365
+ * # Arguments
366
+ *
367
+ * * `out_handle` - The handle to write the TraceExporter instance in.
368
+ * * `config` - The configuration used to set up the TraceExporter handle.
369
+ */
370
+ struct ddog_TraceExporterError *ddog_trace_exporter_new(ddog_TraceExporter **out_handle,
371
+ const struct ddog_TraceExporterConfig *config);
372
+
373
+ /**
374
+ * Free the TraceExporter instance.
375
+ *
376
+ * # Arguments
377
+ *
378
+ * * handle - The handle to the TraceExporter instance.
379
+ */
380
+ void ddog_trace_exporter_free(ddog_TraceExporter *handle);
381
+
382
+ /**
383
+ * Consumes the exporter and waits at most `timeout_ms` for its workers to flush.
384
+ * The handle is consumed on success and error. Other workers on a shared runtime
385
+ * are unaffected. The deadline bounds worker flushing, not runtime destruction:
386
+ * dropping the last runtime owner can additionally wait for blocking tasks such
387
+ * as system DNS resolution. Hosts must account for that separately.
388
+ *
389
+ * # Safety
390
+ *
391
+ * `handle` must be valid and must not be used concurrently or after this call.
392
+ */
393
+ struct ddog_TraceExporterError *ddog_trace_exporter_shutdown(ddog_TraceExporter *handle,
394
+ uint64_t timeout_ms);
395
+
396
+ /**
397
+ * Releases the exporter without flushing or stopping its workers.
398
+ * The caller must also dispose of the runtime that owns those workers. This is
399
+ * intended for finalisation and failed fork recovery with an exclusively owned runtime.
400
+ *
401
+ * # Safety
402
+ *
403
+ * `handle` must be valid and must not be used concurrently or after this call.
404
+ */
405
+ void ddog_trace_exporter_discard(ddog_TraceExporter *handle);
406
+
407
+ /**
408
+ * Send traces to the Datadog Agent.
409
+ *
410
+ * # Arguments
411
+ *
412
+ * * `handle` - The handle to the TraceExporter instance.
413
+ * * `trace` - The traces to send to the Datadog Agent in the input format used to create the
414
+ * TraceExporter. The memory for the trace must be valid for the life of the call to this
415
+ * function.
416
+ * * `trace_count` - The number of traces to send to the Datadog Agent.
417
+ * * `response_out` - Optional handle to store a pointer to the agent response information.
418
+ */
419
+ struct ddog_TraceExporterError *ddog_trace_exporter_send(const ddog_TraceExporter *handle,
420
+ ddog_ByteSlice trace,
421
+ struct ddog_TraceExporterResponse **response_out);
422
+
423
+ /**
424
+ * Create a new span with all scalar fields set.
425
+ *
426
+ * String fields are copied from the provided slices. The `meta`, `metrics` and `meta_struct`
427
+ * maps start empty; use [`ddog_tracer_span_set_meta`], [`ddog_tracer_span_set_metric`] and
428
+ * [`ddog_tracer_span_set_meta_struct_blob`] to populate them.
429
+ *
430
+ * Returns an error if `fields` is null, if any string field is not valid UTF-8, or if any of
431
+ * its slices is malformed.
432
+ *
433
+ * # Safety
434
+ *
435
+ * `out_handle` must point to valid, writable memory for a `Box<TracerSpan>`.
436
+ * All `CharSlice` fields in `fields` must point to valid memory for their
437
+ * stated length.
438
+ */
439
+ struct ddog_TraceExporterError *ddog_tracer_span_new(ddog_TracerSpan **out_handle,
440
+ const struct ddog_TracerSpanFields *fields);
441
+
442
+ /**
443
+ * Free a `TracerSpan` and all its contents.
444
+ *
445
+ * After this call the handle is invalid and must not be reused.
446
+ *
447
+ * # Safety
448
+ *
449
+ * `handle` must have been created by [`ddog_tracer_span_new`] and must not
450
+ * be used after this call.
451
+ */
452
+ void ddog_tracer_span_free(ddog_TracerSpan *handle);
453
+
454
+ /**
455
+ * Add or overwrite a string tag (`meta`) on the span.
456
+ *
457
+ * Both `key` and `value` are copied into the span.
458
+ *
459
+ * Returns an error if `handle` is null, if `key` or `value` is not valid UTF-8, or if either
460
+ * slice is malformed.
461
+ *
462
+ * # Safety
463
+ *
464
+ * `handle` must be a valid pointer to a `TracerSpan`. `key` and `value` must point to valid
465
+ * memory for their stated lengths.
466
+ */
467
+ struct ddog_TraceExporterError *ddog_tracer_span_set_meta(ddog_TracerSpan *handle,
468
+ ddog_CharSlice key,
469
+ ddog_CharSlice value);
470
+
471
+ /**
472
+ * Add or overwrite a numeric tag (`metric`) on the span.
473
+ *
474
+ * The `key` is copied into the span.
475
+ *
476
+ * Returns an error if `handle` is null, if `key` is not valid UTF-8, or if the slice is
477
+ * malformed.
478
+ *
479
+ * # Safety
480
+ *
481
+ * `handle` must be a valid pointer to a `TracerSpan`. `key` must point to valid memory for its
482
+ * stated length.
483
+ */
484
+ struct ddog_TraceExporterError *ddog_tracer_span_set_metric(ddog_TracerSpan *handle,
485
+ ddog_CharSlice key,
486
+ double value);
487
+
488
+ /**
489
+ * Add or overwrite a structured metadata entry (`meta_struct`) on the span.
490
+ *
491
+ * The `key` and opaque binary `value` are copied into the span. The value is
492
+ * not interpreted or validated as MessagePack.
493
+ *
494
+ * Returns an error if `handle` is null, if `key` is not valid UTF-8, or if either slice is
495
+ * malformed.
496
+ *
497
+ * # Safety
498
+ *
499
+ * `handle` must be a valid pointer to a `TracerSpan`. `key` and `value` must point to valid
500
+ * memory for their stated lengths.
501
+ */
502
+ struct ddog_TraceExporterError *ddog_tracer_span_set_meta_struct_blob(ddog_TracerSpan *handle,
503
+ ddog_CharSlice key,
504
+ ddog_ByteSlice value);
505
+
506
+ /**
507
+ * Encode and add or overwrite a structured metadata entry (`meta_struct`) on
508
+ * the span.
509
+ *
510
+ * The `key` is copied into the span. The structured-value tokens are fully
511
+ * validated and encoded directly into the span without exposing an
512
+ * intermediate blob to the caller. The span is unchanged on failure.
513
+ *
514
+ * # Safety
515
+ *
516
+ * `handle` must be a valid pointer to a `TracerSpan`. `key` must point to
517
+ * valid UTF-8 memory. `tokens` and every byte slice referenced by its tokens
518
+ * must remain valid for this call.
519
+ */
520
+ struct ddog_TraceExporterError *ddog_tracer_span_set_meta_struct(ddog_TracerSpan *handle,
521
+ ddog_CharSlice key,
522
+ struct ddog_Slice_TracerValueToken tokens);
523
+
524
+ /**
525
+ * Replace all span links in one atomic operation.
526
+ *
527
+ * The links, attributes, and strings are copied before this function returns.
528
+ * If any slice or string is invalid, the span's existing links are unchanged.
529
+ * Link order is preserved.
530
+ *
531
+ * # Safety
532
+ *
533
+ * `handle` must be a valid pointer to a `TracerSpan`. All slices must point to
534
+ * valid memory for their stated lengths.
535
+ */
536
+ struct ddog_TraceExporterError *ddog_tracer_span_set_links(ddog_TracerSpan *handle,
537
+ struct ddog_Slice_TracerSpanLink links);
538
+
539
+ /**
540
+ * Create an owned span event.
541
+ *
542
+ * The name is copied before this function returns. The event remains detached
543
+ * until consumed by [`ddog_tracer_span_add_event`].
544
+ */
545
+ struct ddog_TraceExporterError *ddog_tracer_span_event_new(ddog_TracerSpanEvent **out_handle,
546
+ ddog_CharSlice name,
547
+ uint64_t time_unix_nano);
548
+
549
+ /**
550
+ * Free a detached span event.
551
+ */
552
+ void ddog_tracer_span_event_free(ddog_TracerSpanEvent *handle);
553
+
554
+ /**
555
+ * Add or overwrite a string event attribute. The key and value are copied.
556
+ */
557
+ struct ddog_TraceExporterError *ddog_tracer_span_event_set_string(ddog_TracerSpanEvent *event,
558
+ ddog_CharSlice key,
559
+ ddog_CharSlice value);
560
+
561
+ /**
562
+ * Add or overwrite a boolean event attribute.
563
+ */
564
+ struct ddog_TraceExporterError *ddog_tracer_span_event_set_bool(ddog_TracerSpanEvent *event,
565
+ ddog_CharSlice key,
566
+ bool value);
567
+
568
+ /**
569
+ * Add or overwrite a signed integer event attribute.
570
+ */
571
+ struct ddog_TraceExporterError *ddog_tracer_span_event_set_int(ddog_TracerSpanEvent *event,
572
+ ddog_CharSlice key,
573
+ int64_t value);
574
+
575
+ /**
576
+ * Add or overwrite a double event attribute.
577
+ */
578
+ struct ddog_TraceExporterError *ddog_tracer_span_event_set_double(ddog_TracerSpanEvent *event,
579
+ ddog_CharSlice key,
580
+ double value);
581
+
582
+ /**
583
+ * Add or overwrite a homogeneous string array event attribute.
584
+ */
585
+ struct ddog_TraceExporterError *ddog_tracer_span_event_set_string_array(ddog_TracerSpanEvent *event,
586
+ ddog_CharSlice key,
587
+ struct ddog_Slice_CharSlice values);
588
+
589
+ /**
590
+ * Add or overwrite a homogeneous boolean array event attribute.
591
+ */
592
+ struct ddog_TraceExporterError *ddog_tracer_span_event_set_bool_array(ddog_TracerSpanEvent *event,
593
+ ddog_CharSlice key,
594
+ struct ddog_Slice_Bool values);
595
+
596
+ /**
597
+ * Add or overwrite a homogeneous signed integer array event attribute.
598
+ */
599
+ struct ddog_TraceExporterError *ddog_tracer_span_event_set_int_array(ddog_TracerSpanEvent *event,
600
+ ddog_CharSlice key,
601
+ struct ddog_Slice_I64 values);
602
+
603
+ /**
604
+ * Add or overwrite a homogeneous double array event attribute.
605
+ */
606
+ struct ddog_TraceExporterError *ddog_tracer_span_event_set_double_array(ddog_TracerSpanEvent *event,
607
+ ddog_CharSlice key,
608
+ struct ddog_Slice_F64 values);
609
+
610
+ /**
611
+ * Atomically attach a completed event to a span, consuming the event.
612
+ *
613
+ * A non-null `event` is always consumed — moved into the span on success, or
614
+ * dropped on any error (a null `span`, or an internal panic). Callers must not
615
+ * use or free the event after this call. On error the span is unchanged.
616
+ */
617
+ struct ddog_TraceExporterError *ddog_tracer_span_add_event(ddog_TracerSpan *span,
618
+ ddog_TracerSpanEvent *event);
619
+
620
+ /**
621
+ * Create a new empty trace chunks container.
622
+ *
623
+ * `capacity` is a hint for the expected number of chunks; pass 0 if
624
+ * unknown.
625
+ *
626
+ * # Safety
627
+ *
628
+ * `out_handle` must point to valid, writable memory for a
629
+ * `Box<TracerTraceChunks>`.
630
+ */
631
+ struct ddog_TraceExporterError *ddog_tracer_trace_chunks_new(uintptr_t capacity,
632
+ ddog_TracerTraceChunks **out_handle);
633
+
634
+ /**
635
+ * Free a trace chunks container and all its contents.
636
+ *
637
+ * After this call the handle is invalid and must not be reused.
638
+ *
639
+ * # Safety
640
+ *
641
+ * `handle` must have been created by [`ddog_tracer_trace_chunks_new`].
642
+ */
643
+ void ddog_tracer_trace_chunks_free(ddog_TracerTraceChunks *handle);
644
+
645
+ /**
646
+ * Start a new chunk (trace) inside the container.
647
+ *
648
+ * Subsequent [`ddog_tracer_trace_chunks_push_span`] calls will append
649
+ * spans to this chunk until the next `begin_chunk` call.
650
+ *
651
+ * `capacity` is a hint for the expected number of spans in this chunk;
652
+ * pass 0 if unknown.
653
+ *
654
+ * # Safety
655
+ *
656
+ * `handle` must be a valid pointer to a `TracerTraceChunks`.
657
+ */
658
+ struct ddog_TraceExporterError *ddog_tracer_trace_chunks_begin_chunk(ddog_TracerTraceChunks *handle,
659
+ uintptr_t capacity);
660
+
661
+ /**
662
+ * Move a span into the current (last) chunk, consuming the span handle.
663
+ *
664
+ * A chunk must have been started with
665
+ * [`ddog_tracer_trace_chunks_begin_chunk`] before calling this function.
666
+ *
667
+ * # Safety
668
+ *
669
+ * * `handle` must be a valid pointer to a `TracerTraceChunks`.
670
+ * * `span` is consumed and must not be used after this call.
671
+ */
672
+ struct ddog_TraceExporterError *ddog_tracer_trace_chunks_push_span(ddog_TracerTraceChunks *handle,
673
+ ddog_TracerSpan *span);
674
+
675
+ /**
676
+ * Create a new cancellation token.
677
+ *
678
+ * The returned token must be freed with
679
+ * [`ddog_trace_exporter_cancel_token_drop`].
680
+ */
681
+ ddog_TraceExporterCancelToken *ddog_trace_exporter_cancel_token_new(void);
682
+
683
+ /**
684
+ * Cancel a cancellation token.
685
+ *
686
+ * All clones of the same token observe the cancellation. Cancellation is cooperative and only
687
+ * affects a [`ddog_trace_exporter_send_trace_chunks`] call that is in flight: that send stops
688
+ * waiting for the agent at its next await point and fails with
689
+ * [`ExporterErrorCode::IoError`], and the chunks it was sending may be lost.
690
+ *
691
+ * Cancelling while no send is using the token has no immediate effect. A send started later with
692
+ * an already-cancelled token fails the same way without contacting the agent, and cancelling
693
+ * after a send has finished does nothing.
694
+ */
695
+ void ddog_trace_exporter_cancel_token_cancel(const ddog_TraceExporterCancelToken *token);
696
+
697
+ /**
698
+ * Free a cancellation token.
699
+ *
700
+ * After this call the token is invalid and must not be reused.
701
+ */
702
+ void ddog_trace_exporter_cancel_token_drop(ddog_TraceExporterCancelToken *token);
703
+
704
+ /**
705
+ * Send trace chunks through a [`TraceExporter`], consuming the chunks.
706
+ *
707
+ * Computes stats, serializes in the configured output format, and sends to the agent with
708
+ * retries.
709
+ *
710
+ * When `cancel` is non-null, cancelling that token aborts the in-flight request; see
711
+ * [`ddog_trace_exporter_cancel_token_cancel`].
712
+ *
713
+ * On success, if `response_out` is non-null, a heap-allocated
714
+ * [`ExporterResponse`] is written there. The caller owns it and must
715
+ * free it with `ddog_trace_exporter_response_free`.
716
+ *
717
+ * # Safety
718
+ *
719
+ * * `chunks` is consumed and must not be used after this call.
720
+ * * If `response_out` is non-null it must point to valid writable memory for a
721
+ * `Box<ExporterResponse>`.
722
+ */
723
+ struct ddog_TraceExporterError *ddog_trace_exporter_send_trace_chunks(const ddog_TraceExporter *exporter,
724
+ ddog_TracerTraceChunks *chunks,
725
+ struct ddog_TraceExporterResponse **response_out,
726
+ const ddog_TraceExporterCancelToken *cancel);
727
+
728
+ #ifdef __cplusplus
729
+ } // extern "C"
730
+ #endif // __cplusplus
731
+
732
+ #endif /* DDOG_DATA_PIPELINE_H */