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
@@ -298,7 +298,7 @@ DDOG_CHECK_RETURN struct ddog_VoidResult ddog_crasht_clear_trace_ids(void);
298
298
  * Err() on failure. The most likely cause of failure is that the underlying set is full.
299
299
  *
300
300
  * Note: 128 bit ints in FFI were not stabilized until Rust 1.77
301
- * https://blog.rust-lang.org/2024/03/30/i128-layout-update.html
301
+ * <https://blog.rust-lang.org/2024/03/30/i128-layout-update.html>
302
302
  * We're currently locked into 1.76.0, have to do an ugly workaround involving 2 64 bit ints
303
303
  * until we can upgrade.
304
304
  *
@@ -323,7 +323,7 @@ struct ddog_crasht_Result_Usize ddog_crasht_insert_trace_id(uint64_t id_high,
323
323
  * Err() on failure. The most likely cause of failure is that the underlying set is full.
324
324
  *
325
325
  * Note: 128 bit ints in FFI were not stabilized until Rust 1.77
326
- * https://blog.rust-lang.org/2024/03/30/i128-layout-update.html
326
+ * <https://blog.rust-lang.org/2024/03/30/i128-layout-update.html>
327
327
  * We're currently locked into 1.76.0, have to do an ugly workaround involving 2 64 bit ints
328
328
  * until we can upgrade.
329
329
  *
@@ -349,7 +349,7 @@ struct ddog_crasht_Result_Usize ddog_crasht_insert_span_id(uint64_t id_high,
349
349
  * be modified.
350
350
  *
351
351
  * Note: 128 bit ints in FFI were not stabilized until Rust 1.77
352
- * https://blog.rust-lang.org/2024/03/30/i128-layout-update.html
352
+ * <https://blog.rust-lang.org/2024/03/30/i128-layout-update.html>
353
353
  * We're currently locked into 1.76.0, have to do an ugly workaround involving 2 64 bit ints
354
354
  * until we can upgrade.
355
355
  *
@@ -376,7 +376,7 @@ struct ddog_VoidResult ddog_crasht_remove_span_id(uint64_t id_high,
376
376
  * be modified.
377
377
  *
378
378
  * Note: 128 bit ints in FFI were not stabilized until Rust 1.77
379
- * https://blog.rust-lang.org/2024/03/30/i128-layout-update.html
379
+ * <https://blog.rust-lang.org/2024/03/30/i128-layout-update.html>
380
380
  * We're currently locked into 1.76.0, have to do an ugly workaround involving 2 64 bit ints
381
381
  * until we can upgrade.
382
382
  *
@@ -20,6 +20,31 @@ extern "C" {
20
20
  */
21
21
  void ddog_trace_exporter_error_free(struct ddog_TraceExporterError *error);
22
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
+
23
48
  /**
24
49
  * Return a borrowed view of the response body. The returned slice is
25
50
  * only valid as long as `response` is alive. Returns an empty slice
@@ -201,13 +226,13 @@ struct ddog_TraceExporterError *ddog_trace_exporter_config_set_connection_timeou
201
226
  /**
202
227
  * Sets a shared runtime for the TraceExporter to use for background workers.
203
228
  *
204
- * `handle` must have been initialized with [`ddog_shared_runtime_new`].
229
+ * `handle` must have been initialized with `ddog_shared_runtime_new`.
205
230
  *
206
231
  * When set, the exporter will use the provided runtime instead of creating its own.
207
232
  * This allows multiple exporters (or other components) to share a single runtime.
208
233
  * The config holds a clone of the `Arc` (increments the strong count), so the
209
234
  * original handle remains valid and must still be freed with
210
- * [`ddog_shared_runtime_free`].
235
+ * `ddog_shared_runtime_free`.
211
236
  */
212
237
  struct ddog_TraceExporterError *ddog_trace_exporter_config_set_shared_runtime(struct ddog_TraceExporterConfig *config,
213
238
  struct ddog_ForkSafeRuntime *handle);
@@ -354,6 +379,31 @@ struct ddog_TraceExporterError *ddog_trace_exporter_new(ddog_TraceExporter **out
354
379
  */
355
380
  void ddog_trace_exporter_free(ddog_TraceExporter *handle);
356
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
+
357
407
  /**
358
408
  * Send traces to the Datadog Agent.
359
409
  *
@@ -73,11 +73,11 @@ struct ddog_VoidResult ddog_ddsketch_count(struct ddsketch_Handle_DDSketch *sket
73
73
  struct ddog_Vec_U8 ddog_ddsketch_encode(struct ddsketch_Handle_DDSketch *sketch);
74
74
 
75
75
  /**
76
- * Frees the memory allocated for a Vec<u8> returned by ddsketch functions.
76
+ * Frees the memory allocated for a `Vec<u8>` returned by ddsketch functions.
77
77
  *
78
78
  * # Safety
79
79
  *
80
- * The vec parameter must be a valid Vec<u8> returned by this library.
80
+ * The vec parameter must be a valid `Vec<u8>` returned by this library.
81
81
  * After being called, the vec will not point to valid memory.
82
82
  */
83
83
  void ddog_Vec_U8_drop(struct ddog_Vec_U8 _vec);
@@ -112,7 +112,7 @@ struct ddog_prof_Endpoint ddog_Endpoint_file(ddog_CharSlice filename);
112
112
  * # Arguments
113
113
  * * `profiling_library_name` - Profiling library name, usually dd-trace-something, e.g.
114
114
  * "dd-trace-rb". See
115
- * https://datadoghq.atlassian.net/wiki/spaces/PROF/pages/1538884229/Client#Header-values
115
+ * <https://datadoghq.atlassian.net/wiki/spaces/PROF/pages/1538884229/Client#Header-values>
116
116
  * (Datadog internal link)
117
117
  * for a list of common values.
118
118
  * * `profliling_library_version` - Version used when publishing the profiling library to a package
@@ -8,7 +8,7 @@ includedir=${prefix}/include
8
8
 
9
9
  Name: datadog_profiling
10
10
  Description: Contains common code used to implement Datadog's Continuous Profilers. (Dynamic linking variant, sets rpath)
11
- Version: 45.0.0
11
+ Version: 46.0.0
12
12
  Requires:
13
13
  Libs: -L${libdir} -ldatadog_profiling -Wl,-rpath,${libdir}
14
14
  Libs.private: