libdatadog 47.0.0.1.1 → 48.0.0.1.1

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 (96) hide show
  1. checksums.yaml +4 -4
  2. data/lib/libdatadog/version.rb +1 -1
  3. data/vendor/{libdatadog-47.0.0 → libdatadog-48.0.0}/aarch64-linux/bin/libdatadog-crashtracking-receiver +0 -0
  4. data/vendor/{libdatadog-47.0.0 → libdatadog-48.0.0}/aarch64-linux/include/datadog/common.h +52 -0
  5. data/vendor/{libdatadog-47.0.0/aarch64-linux-musl → libdatadog-48.0.0/aarch64-linux}/include/datadog/ffe.h +17 -0
  6. data/vendor/{libdatadog-47.0.0 → libdatadog-48.0.0}/aarch64-linux/lib/libdatadog_profiling.so +0 -0
  7. data/vendor/{libdatadog-47.0.0/arm64-darwin → libdatadog-48.0.0/aarch64-linux}/lib/pkgconfig/datadog_profiling_with_rpath.pc +1 -1
  8. data/vendor/{libdatadog-47.0.0 → libdatadog-48.0.0}/aarch64-linux-musl/bin/libdatadog-crashtracking-receiver +0 -0
  9. data/vendor/{libdatadog-47.0.0 → libdatadog-48.0.0}/aarch64-linux-musl/include/datadog/common.h +52 -0
  10. data/vendor/{libdatadog-47.0.0/arm64-darwin → libdatadog-48.0.0/aarch64-linux-musl}/include/datadog/ffe.h +17 -0
  11. data/vendor/{libdatadog-47.0.0 → libdatadog-48.0.0}/aarch64-linux-musl/lib/libdatadog_profiling.so +0 -0
  12. data/vendor/{libdatadog-47.0.0 → libdatadog-48.0.0}/aarch64-linux-musl/lib/pkgconfig/datadog_profiling_with_rpath.pc +1 -1
  13. data/vendor/{libdatadog-47.0.0 → libdatadog-48.0.0}/arm64-darwin/include/datadog/common.h +52 -0
  14. data/vendor/{libdatadog-47.0.0/aarch64-linux → libdatadog-48.0.0/arm64-darwin}/include/datadog/ffe.h +17 -0
  15. data/vendor/{libdatadog-47.0.0 → libdatadog-48.0.0}/arm64-darwin/lib/libdatadog_profiling.dylib +0 -0
  16. data/vendor/{libdatadog-47.0.0/x86_64-linux-musl → libdatadog-48.0.0/arm64-darwin}/lib/pkgconfig/datadog_profiling_with_rpath.pc +1 -1
  17. data/vendor/{libdatadog-47.0.0 → libdatadog-48.0.0}/x86_64-linux/bin/libdatadog-crashtracking-receiver +0 -0
  18. data/vendor/libdatadog-48.0.0/x86_64-linux/include/datadog/common.h +3292 -0
  19. data/vendor/libdatadog-48.0.0/x86_64-linux/include/datadog/ffe.h +242 -0
  20. data/vendor/{libdatadog-47.0.0 → libdatadog-48.0.0}/x86_64-linux/lib/libdatadog_profiling.so +0 -0
  21. data/vendor/libdatadog-48.0.0/x86_64-linux/lib/pkgconfig/datadog_profiling_with_rpath.pc +15 -0
  22. data/vendor/{libdatadog-47.0.0 → libdatadog-48.0.0}/x86_64-linux-musl/bin/libdatadog-crashtracking-receiver +0 -0
  23. data/vendor/{libdatadog-47.0.0 → libdatadog-48.0.0}/x86_64-linux-musl/include/datadog/common.h +52 -0
  24. data/vendor/{libdatadog-47.0.0 → libdatadog-48.0.0}/x86_64-linux-musl/include/datadog/ffe.h +17 -0
  25. data/vendor/{libdatadog-47.0.0 → libdatadog-48.0.0}/x86_64-linux-musl/lib/libdatadog_profiling.so +0 -0
  26. data/vendor/{libdatadog-47.0.0/aarch64-linux → libdatadog-48.0.0/x86_64-linux-musl}/lib/pkgconfig/datadog_profiling_with_rpath.pc +1 -1
  27. metadata +91 -91
  28. data/vendor/libdatadog-47.0.0/x86_64-linux/include/datadog/common.h +0 -3240
  29. data/vendor/libdatadog-47.0.0/x86_64-linux/include/datadog/ffe.h +0 -225
  30. data/vendor/libdatadog-47.0.0/x86_64-linux/lib/pkgconfig/datadog_profiling_with_rpath.pc +0 -15
  31. /data/vendor/{libdatadog-47.0.0 → libdatadog-48.0.0}/aarch64-linux/LICENSE +0 -0
  32. /data/vendor/{libdatadog-47.0.0 → libdatadog-48.0.0}/aarch64-linux/LICENSE-3rdparty.csv +0 -0
  33. /data/vendor/{libdatadog-47.0.0 → libdatadog-48.0.0}/aarch64-linux/NOTICE +0 -0
  34. /data/vendor/{libdatadog-47.0.0 → libdatadog-48.0.0}/aarch64-linux/include/datadog/blazesym.h +0 -0
  35. /data/vendor/{libdatadog-47.0.0 → libdatadog-48.0.0}/aarch64-linux/include/datadog/crashtracker.h +0 -0
  36. /data/vendor/{libdatadog-47.0.0 → libdatadog-48.0.0}/aarch64-linux/include/datadog/data-pipeline.h +0 -0
  37. /data/vendor/{libdatadog-47.0.0 → libdatadog-48.0.0}/aarch64-linux/include/datadog/ddsketch.h +0 -0
  38. /data/vendor/{libdatadog-47.0.0 → libdatadog-48.0.0}/aarch64-linux/include/datadog/library-config.h +0 -0
  39. /data/vendor/{libdatadog-47.0.0 → libdatadog-48.0.0}/aarch64-linux/include/datadog/log.h +0 -0
  40. /data/vendor/{libdatadog-47.0.0 → libdatadog-48.0.0}/aarch64-linux/include/datadog/otel-thread-ctx.h +0 -0
  41. /data/vendor/{libdatadog-47.0.0 → libdatadog-48.0.0}/aarch64-linux/include/datadog/profiling.h +0 -0
  42. /data/vendor/{libdatadog-47.0.0 → libdatadog-48.0.0}/aarch64-linux/include/datadog/shared-runtime.h +0 -0
  43. /data/vendor/{libdatadog-47.0.0 → libdatadog-48.0.0}/aarch64-linux/include/datadog/telemetry.h +0 -0
  44. /data/vendor/{libdatadog-47.0.0 → libdatadog-48.0.0}/aarch64-linux-musl/LICENSE +0 -0
  45. /data/vendor/{libdatadog-47.0.0 → libdatadog-48.0.0}/aarch64-linux-musl/LICENSE-3rdparty.csv +0 -0
  46. /data/vendor/{libdatadog-47.0.0 → libdatadog-48.0.0}/aarch64-linux-musl/NOTICE +0 -0
  47. /data/vendor/{libdatadog-47.0.0 → libdatadog-48.0.0}/aarch64-linux-musl/include/datadog/blazesym.h +0 -0
  48. /data/vendor/{libdatadog-47.0.0 → libdatadog-48.0.0}/aarch64-linux-musl/include/datadog/crashtracker.h +0 -0
  49. /data/vendor/{libdatadog-47.0.0 → libdatadog-48.0.0}/aarch64-linux-musl/include/datadog/data-pipeline.h +0 -0
  50. /data/vendor/{libdatadog-47.0.0 → libdatadog-48.0.0}/aarch64-linux-musl/include/datadog/ddsketch.h +0 -0
  51. /data/vendor/{libdatadog-47.0.0 → libdatadog-48.0.0}/aarch64-linux-musl/include/datadog/library-config.h +0 -0
  52. /data/vendor/{libdatadog-47.0.0 → libdatadog-48.0.0}/aarch64-linux-musl/include/datadog/log.h +0 -0
  53. /data/vendor/{libdatadog-47.0.0 → libdatadog-48.0.0}/aarch64-linux-musl/include/datadog/otel-thread-ctx.h +0 -0
  54. /data/vendor/{libdatadog-47.0.0 → libdatadog-48.0.0}/aarch64-linux-musl/include/datadog/profiling.h +0 -0
  55. /data/vendor/{libdatadog-47.0.0 → libdatadog-48.0.0}/aarch64-linux-musl/include/datadog/shared-runtime.h +0 -0
  56. /data/vendor/{libdatadog-47.0.0 → libdatadog-48.0.0}/aarch64-linux-musl/include/datadog/telemetry.h +0 -0
  57. /data/vendor/{libdatadog-47.0.0 → libdatadog-48.0.0}/arm64-darwin/LICENSE +0 -0
  58. /data/vendor/{libdatadog-47.0.0 → libdatadog-48.0.0}/arm64-darwin/LICENSE-3rdparty.csv +0 -0
  59. /data/vendor/{libdatadog-47.0.0 → libdatadog-48.0.0}/arm64-darwin/NOTICE +0 -0
  60. /data/vendor/{libdatadog-47.0.0 → libdatadog-48.0.0}/arm64-darwin/bin/libdatadog-crashtracking-receiver +0 -0
  61. /data/vendor/{libdatadog-47.0.0 → libdatadog-48.0.0}/arm64-darwin/include/datadog/blazesym.h +0 -0
  62. /data/vendor/{libdatadog-47.0.0 → libdatadog-48.0.0}/arm64-darwin/include/datadog/crashtracker.h +0 -0
  63. /data/vendor/{libdatadog-47.0.0 → libdatadog-48.0.0}/arm64-darwin/include/datadog/data-pipeline.h +0 -0
  64. /data/vendor/{libdatadog-47.0.0 → libdatadog-48.0.0}/arm64-darwin/include/datadog/ddsketch.h +0 -0
  65. /data/vendor/{libdatadog-47.0.0 → libdatadog-48.0.0}/arm64-darwin/include/datadog/library-config.h +0 -0
  66. /data/vendor/{libdatadog-47.0.0 → libdatadog-48.0.0}/arm64-darwin/include/datadog/log.h +0 -0
  67. /data/vendor/{libdatadog-47.0.0 → libdatadog-48.0.0}/arm64-darwin/include/datadog/otel-thread-ctx.h +0 -0
  68. /data/vendor/{libdatadog-47.0.0 → libdatadog-48.0.0}/arm64-darwin/include/datadog/profiling.h +0 -0
  69. /data/vendor/{libdatadog-47.0.0 → libdatadog-48.0.0}/arm64-darwin/include/datadog/shared-runtime.h +0 -0
  70. /data/vendor/{libdatadog-47.0.0 → libdatadog-48.0.0}/arm64-darwin/include/datadog/telemetry.h +0 -0
  71. /data/vendor/{libdatadog-47.0.0 → libdatadog-48.0.0}/x86_64-linux/LICENSE +0 -0
  72. /data/vendor/{libdatadog-47.0.0 → libdatadog-48.0.0}/x86_64-linux/LICENSE-3rdparty.csv +0 -0
  73. /data/vendor/{libdatadog-47.0.0 → libdatadog-48.0.0}/x86_64-linux/NOTICE +0 -0
  74. /data/vendor/{libdatadog-47.0.0 → libdatadog-48.0.0}/x86_64-linux/include/datadog/blazesym.h +0 -0
  75. /data/vendor/{libdatadog-47.0.0 → libdatadog-48.0.0}/x86_64-linux/include/datadog/crashtracker.h +0 -0
  76. /data/vendor/{libdatadog-47.0.0 → libdatadog-48.0.0}/x86_64-linux/include/datadog/data-pipeline.h +0 -0
  77. /data/vendor/{libdatadog-47.0.0 → libdatadog-48.0.0}/x86_64-linux/include/datadog/ddsketch.h +0 -0
  78. /data/vendor/{libdatadog-47.0.0 → libdatadog-48.0.0}/x86_64-linux/include/datadog/library-config.h +0 -0
  79. /data/vendor/{libdatadog-47.0.0 → libdatadog-48.0.0}/x86_64-linux/include/datadog/log.h +0 -0
  80. /data/vendor/{libdatadog-47.0.0 → libdatadog-48.0.0}/x86_64-linux/include/datadog/otel-thread-ctx.h +0 -0
  81. /data/vendor/{libdatadog-47.0.0 → libdatadog-48.0.0}/x86_64-linux/include/datadog/profiling.h +0 -0
  82. /data/vendor/{libdatadog-47.0.0 → libdatadog-48.0.0}/x86_64-linux/include/datadog/shared-runtime.h +0 -0
  83. /data/vendor/{libdatadog-47.0.0 → libdatadog-48.0.0}/x86_64-linux/include/datadog/telemetry.h +0 -0
  84. /data/vendor/{libdatadog-47.0.0 → libdatadog-48.0.0}/x86_64-linux-musl/LICENSE +0 -0
  85. /data/vendor/{libdatadog-47.0.0 → libdatadog-48.0.0}/x86_64-linux-musl/LICENSE-3rdparty.csv +0 -0
  86. /data/vendor/{libdatadog-47.0.0 → libdatadog-48.0.0}/x86_64-linux-musl/NOTICE +0 -0
  87. /data/vendor/{libdatadog-47.0.0 → libdatadog-48.0.0}/x86_64-linux-musl/include/datadog/blazesym.h +0 -0
  88. /data/vendor/{libdatadog-47.0.0 → libdatadog-48.0.0}/x86_64-linux-musl/include/datadog/crashtracker.h +0 -0
  89. /data/vendor/{libdatadog-47.0.0 → libdatadog-48.0.0}/x86_64-linux-musl/include/datadog/data-pipeline.h +0 -0
  90. /data/vendor/{libdatadog-47.0.0 → libdatadog-48.0.0}/x86_64-linux-musl/include/datadog/ddsketch.h +0 -0
  91. /data/vendor/{libdatadog-47.0.0 → libdatadog-48.0.0}/x86_64-linux-musl/include/datadog/library-config.h +0 -0
  92. /data/vendor/{libdatadog-47.0.0 → libdatadog-48.0.0}/x86_64-linux-musl/include/datadog/log.h +0 -0
  93. /data/vendor/{libdatadog-47.0.0 → libdatadog-48.0.0}/x86_64-linux-musl/include/datadog/otel-thread-ctx.h +0 -0
  94. /data/vendor/{libdatadog-47.0.0 → libdatadog-48.0.0}/x86_64-linux-musl/include/datadog/profiling.h +0 -0
  95. /data/vendor/{libdatadog-47.0.0 → libdatadog-48.0.0}/x86_64-linux-musl/include/datadog/shared-runtime.h +0 -0
  96. /data/vendor/{libdatadog-47.0.0 → libdatadog-48.0.0}/x86_64-linux-musl/include/datadog/telemetry.h +0 -0
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ea0d5deb35a1a06f352f9942d05e0155cea8963a98c25b8ad5bd152c36c415c2
4
- data.tar.gz: 43860d0a09ce38187339fc3b95657a5e792722c675475957c5c0bfb987798854
3
+ metadata.gz: f8e7b7192476e25418fa8e56643ced593c131c7b2058d32bc6c37380adaab29e
4
+ data.tar.gz: 8557e16f0f995275e68c56eb07ecea3c8cd72781ff135b7d05cff58654000c80
5
5
  SHA512:
6
- metadata.gz: e7431e2e59710c0b14e2f197e057a1566a7d24e86ee7041ae4e4d24649e3b7ba3f142d19c630e47034f61e5c3f7b5859582d9d1573ff4c794cbfa73eaa28cd38
7
- data.tar.gz: ed8045342d105a965267b9f15dd7f9c61e33335cefd5cc2caf3051294a4507cc51690b4289906b2ebdd442a8b65963ad53834e155e1f5d0b01c5acd200f80e64
6
+ metadata.gz: 69ce0145f0ed82459090a1d9e8bb7e03156c76cea4e059311e5519c807f86fbc5e725a5811ebae372a30c08ad5e04d2ab43ea7009cc6937b09f8de3fe553f4a5
7
+ data.tar.gz: c075acded8f981f35c8513cbc5ca7418d0eaaa7744a280f2e278003d1d1af7c73e2582102a9506e6b5ea76807fdf6e4d9925441cfbbed380cbd0fa5ec3b55f9b
@@ -2,7 +2,7 @@
2
2
 
3
3
  module Libdatadog
4
4
  # Current libdatadog version
5
- LIB_VERSION = "47.0.0"
5
+ LIB_VERSION = "48.0.0"
6
6
 
7
7
  GEM_MAJOR_VERSION = "1"
8
8
  GEM_MINOR_VERSION = "1"
@@ -2390,6 +2390,58 @@ typedef struct ddog_ffe_ArrayMap_BorrowedStr {
2390
2390
  uintptr_t count;
2391
2391
  } ddog_ffe_ArrayMap_BorrowedStr;
2392
2392
 
2393
+ /**
2394
+ * Value of a feature attached to the selected split.
2395
+ */
2396
+ typedef enum ddog_ffe_FeatureValue_Tag {
2397
+ /**
2398
+ * The string is not NUL-terminated; see `BorrowedStr`.
2399
+ */
2400
+ DDOG_FFE_FEATURE_VALUE_STRING,
2401
+ DDOG_FFE_FEATURE_VALUE_FLOAT,
2402
+ DDOG_FFE_FEATURE_VALUE_BOOLEAN,
2403
+ } ddog_ffe_FeatureValue_Tag;
2404
+
2405
+ typedef struct ddog_ffe_FeatureValue {
2406
+ ddog_ffe_FeatureValue_Tag tag;
2407
+ union {
2408
+ struct {
2409
+ struct ddog_ffe_BorrowedStr string;
2410
+ };
2411
+ struct {
2412
+ double float_;
2413
+ };
2414
+ struct {
2415
+ bool boolean;
2416
+ };
2417
+ };
2418
+ } ddog_ffe_FeatureValue;
2419
+
2420
+ /**
2421
+ * A borrowed array of `BorrowedStr`. `elements` is NULL when `count` is `0`.
2422
+ */
2423
+ typedef struct ddog_ffe_BorrowedStrArray {
2424
+ const struct ddog_ffe_BorrowedStr *elements;
2425
+ uintptr_t count;
2426
+ } ddog_ffe_BorrowedStrArray;
2427
+
2428
+ /**
2429
+ * A feature attached to the selected split.
2430
+ */
2431
+ typedef struct ddog_ffe_Feature {
2432
+ struct ddog_ffe_BorrowedStr key;
2433
+ struct ddog_ffe_FeatureValue value;
2434
+ struct ddog_ffe_BorrowedStrArray destinations;
2435
+ } ddog_ffe_Feature;
2436
+
2437
+ /**
2438
+ * A borrowed array of `Feature`. `elements` is NULL when `count` is `0`.
2439
+ */
2440
+ typedef struct ddog_ffe_FeatureArray {
2441
+ const struct ddog_ffe_Feature *elements;
2442
+ uintptr_t count;
2443
+ } ddog_ffe_FeatureArray;
2444
+
2393
2445
  /**
2394
2446
  * A generic result type for when an operation may fail,
2395
2447
  * or may return `<T>` in case of success.
@@ -149,6 +149,23 @@ bool ddog_ffe_assignment_get_do_log(ddog_ffe_Handle_ResolutionDetails assignment
149
149
  */
150
150
  struct ddog_ffe_ArrayMap_BorrowedStr ddog_ffe_assignnment_get_flag_metadata(ddog_ffe_Handle_ResolutionDetails assignment);
151
151
 
152
+ /**
153
+ * Get the features attached to the selected split.
154
+ *
155
+ * Entries with unsupported value types, empty keys or no non-empty destinations are absent
156
+ * from the array. On a repeated key only the first valid feature is present. Destinations pass
157
+ * through unfiltered; the caller decides what to do with unknown values.
158
+ *
159
+ * # Ownership
160
+ *
161
+ * The returned array borrows from `assignment`. It must not be used after `assignment` is
162
+ * freed.
163
+ *
164
+ * # Safety
165
+ * `assignment` must be a valid handle.
166
+ */
167
+ struct ddog_ffe_FeatureArray ddog_ffe_assignment_get_features(ddog_ffe_Handle_ResolutionDetails assignment);
168
+
152
169
  /**
153
170
  * Frees an Assignment handle.
154
171
  *
@@ -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: 47.0.0
11
+ Version: 48.0.0
12
12
  Requires:
13
13
  Libs: -L${libdir} -ldatadog_profiling -Wl,-rpath,${libdir}
14
14
  Libs.private:
@@ -2390,6 +2390,58 @@ typedef struct ddog_ffe_ArrayMap_BorrowedStr {
2390
2390
  uintptr_t count;
2391
2391
  } ddog_ffe_ArrayMap_BorrowedStr;
2392
2392
 
2393
+ /**
2394
+ * Value of a feature attached to the selected split.
2395
+ */
2396
+ typedef enum ddog_ffe_FeatureValue_Tag {
2397
+ /**
2398
+ * The string is not NUL-terminated; see `BorrowedStr`.
2399
+ */
2400
+ DDOG_FFE_FEATURE_VALUE_STRING,
2401
+ DDOG_FFE_FEATURE_VALUE_FLOAT,
2402
+ DDOG_FFE_FEATURE_VALUE_BOOLEAN,
2403
+ } ddog_ffe_FeatureValue_Tag;
2404
+
2405
+ typedef struct ddog_ffe_FeatureValue {
2406
+ ddog_ffe_FeatureValue_Tag tag;
2407
+ union {
2408
+ struct {
2409
+ struct ddog_ffe_BorrowedStr string;
2410
+ };
2411
+ struct {
2412
+ double float_;
2413
+ };
2414
+ struct {
2415
+ bool boolean;
2416
+ };
2417
+ };
2418
+ } ddog_ffe_FeatureValue;
2419
+
2420
+ /**
2421
+ * A borrowed array of `BorrowedStr`. `elements` is NULL when `count` is `0`.
2422
+ */
2423
+ typedef struct ddog_ffe_BorrowedStrArray {
2424
+ const struct ddog_ffe_BorrowedStr *elements;
2425
+ uintptr_t count;
2426
+ } ddog_ffe_BorrowedStrArray;
2427
+
2428
+ /**
2429
+ * A feature attached to the selected split.
2430
+ */
2431
+ typedef struct ddog_ffe_Feature {
2432
+ struct ddog_ffe_BorrowedStr key;
2433
+ struct ddog_ffe_FeatureValue value;
2434
+ struct ddog_ffe_BorrowedStrArray destinations;
2435
+ } ddog_ffe_Feature;
2436
+
2437
+ /**
2438
+ * A borrowed array of `Feature`. `elements` is NULL when `count` is `0`.
2439
+ */
2440
+ typedef struct ddog_ffe_FeatureArray {
2441
+ const struct ddog_ffe_Feature *elements;
2442
+ uintptr_t count;
2443
+ } ddog_ffe_FeatureArray;
2444
+
2393
2445
  /**
2394
2446
  * A generic result type for when an operation may fail,
2395
2447
  * or may return `<T>` in case of success.
@@ -149,6 +149,23 @@ bool ddog_ffe_assignment_get_do_log(ddog_ffe_Handle_ResolutionDetails assignment
149
149
  */
150
150
  struct ddog_ffe_ArrayMap_BorrowedStr ddog_ffe_assignnment_get_flag_metadata(ddog_ffe_Handle_ResolutionDetails assignment);
151
151
 
152
+ /**
153
+ * Get the features attached to the selected split.
154
+ *
155
+ * Entries with unsupported value types, empty keys or no non-empty destinations are absent
156
+ * from the array. On a repeated key only the first valid feature is present. Destinations pass
157
+ * through unfiltered; the caller decides what to do with unknown values.
158
+ *
159
+ * # Ownership
160
+ *
161
+ * The returned array borrows from `assignment`. It must not be used after `assignment` is
162
+ * freed.
163
+ *
164
+ * # Safety
165
+ * `assignment` must be a valid handle.
166
+ */
167
+ struct ddog_ffe_FeatureArray ddog_ffe_assignment_get_features(ddog_ffe_Handle_ResolutionDetails assignment);
168
+
152
169
  /**
153
170
  * Frees an Assignment handle.
154
171
  *
@@ -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: 47.0.0
11
+ Version: 48.0.0
12
12
  Requires:
13
13
  Libs: -L${libdir} -ldatadog_profiling -Wl,-rpath,${libdir}
14
14
  Libs.private:
@@ -2390,6 +2390,58 @@ typedef struct ddog_ffe_ArrayMap_BorrowedStr {
2390
2390
  uintptr_t count;
2391
2391
  } ddog_ffe_ArrayMap_BorrowedStr;
2392
2392
 
2393
+ /**
2394
+ * Value of a feature attached to the selected split.
2395
+ */
2396
+ typedef enum ddog_ffe_FeatureValue_Tag {
2397
+ /**
2398
+ * The string is not NUL-terminated; see `BorrowedStr`.
2399
+ */
2400
+ DDOG_FFE_FEATURE_VALUE_STRING,
2401
+ DDOG_FFE_FEATURE_VALUE_FLOAT,
2402
+ DDOG_FFE_FEATURE_VALUE_BOOLEAN,
2403
+ } ddog_ffe_FeatureValue_Tag;
2404
+
2405
+ typedef struct ddog_ffe_FeatureValue {
2406
+ ddog_ffe_FeatureValue_Tag tag;
2407
+ union {
2408
+ struct {
2409
+ struct ddog_ffe_BorrowedStr string;
2410
+ };
2411
+ struct {
2412
+ double float_;
2413
+ };
2414
+ struct {
2415
+ bool boolean;
2416
+ };
2417
+ };
2418
+ } ddog_ffe_FeatureValue;
2419
+
2420
+ /**
2421
+ * A borrowed array of `BorrowedStr`. `elements` is NULL when `count` is `0`.
2422
+ */
2423
+ typedef struct ddog_ffe_BorrowedStrArray {
2424
+ const struct ddog_ffe_BorrowedStr *elements;
2425
+ uintptr_t count;
2426
+ } ddog_ffe_BorrowedStrArray;
2427
+
2428
+ /**
2429
+ * A feature attached to the selected split.
2430
+ */
2431
+ typedef struct ddog_ffe_Feature {
2432
+ struct ddog_ffe_BorrowedStr key;
2433
+ struct ddog_ffe_FeatureValue value;
2434
+ struct ddog_ffe_BorrowedStrArray destinations;
2435
+ } ddog_ffe_Feature;
2436
+
2437
+ /**
2438
+ * A borrowed array of `Feature`. `elements` is NULL when `count` is `0`.
2439
+ */
2440
+ typedef struct ddog_ffe_FeatureArray {
2441
+ const struct ddog_ffe_Feature *elements;
2442
+ uintptr_t count;
2443
+ } ddog_ffe_FeatureArray;
2444
+
2393
2445
  /**
2394
2446
  * A generic result type for when an operation may fail,
2395
2447
  * or may return `<T>` in case of success.
@@ -149,6 +149,23 @@ bool ddog_ffe_assignment_get_do_log(ddog_ffe_Handle_ResolutionDetails assignment
149
149
  */
150
150
  struct ddog_ffe_ArrayMap_BorrowedStr ddog_ffe_assignnment_get_flag_metadata(ddog_ffe_Handle_ResolutionDetails assignment);
151
151
 
152
+ /**
153
+ * Get the features attached to the selected split.
154
+ *
155
+ * Entries with unsupported value types, empty keys or no non-empty destinations are absent
156
+ * from the array. On a repeated key only the first valid feature is present. Destinations pass
157
+ * through unfiltered; the caller decides what to do with unknown values.
158
+ *
159
+ * # Ownership
160
+ *
161
+ * The returned array borrows from `assignment`. It must not be used after `assignment` is
162
+ * freed.
163
+ *
164
+ * # Safety
165
+ * `assignment` must be a valid handle.
166
+ */
167
+ struct ddog_ffe_FeatureArray ddog_ffe_assignment_get_features(ddog_ffe_Handle_ResolutionDetails assignment);
168
+
152
169
  /**
153
170
  * Frees an Assignment handle.
154
171
  *
@@ -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: 47.0.0
11
+ Version: 48.0.0
12
12
  Requires:
13
13
  Libs: -L${libdir} -ldatadog_profiling -Wl,-rpath,${libdir}
14
14
  Libs.private: