libdatadog 29.0.0.1.0-aarch64-linux → 30.0.0.1.0-aarch64-linux
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.
- checksums.yaml +4 -4
- data/lib/libdatadog/version.rb +1 -1
- data/vendor/{libdatadog-29.0.0 → libdatadog-30.0.0}/aarch64-linux/libdatadog-aarch64-unknown-linux-gnu/LICENSE-3rdparty.yml +2062 -4194
- data/vendor/{libdatadog-29.0.0 → libdatadog-30.0.0}/aarch64-linux/libdatadog-aarch64-unknown-linux-gnu/include/datadog/common.h +29 -1
- data/vendor/{libdatadog-29.0.0/aarch64-linux-musl/libdatadog-aarch64-alpine-linux-musl → libdatadog-30.0.0/aarch64-linux/libdatadog-aarch64-unknown-linux-gnu}/include/datadog/data-pipeline.h +15 -0
- data/vendor/{libdatadog-29.0.0/aarch64-linux-musl/libdatadog-aarch64-alpine-linux-musl → libdatadog-30.0.0/aarch64-linux/libdatadog-aarch64-unknown-linux-gnu}/include/datadog/profiling.h +43 -6
- data/vendor/{libdatadog-29.0.0 → libdatadog-30.0.0}/aarch64-linux/libdatadog-aarch64-unknown-linux-gnu/lib/libdatadog_profiling.so +0 -0
- data/vendor/{libdatadog-29.0.0 → libdatadog-30.0.0}/aarch64-linux/libdatadog-aarch64-unknown-linux-gnu/lib/pkgconfig/datadog_profiling_with_rpath.pc +1 -1
- data/vendor/{libdatadog-29.0.0 → libdatadog-30.0.0}/aarch64-linux-musl/libdatadog-aarch64-alpine-linux-musl/LICENSE-3rdparty.yml +2062 -4194
- data/vendor/{libdatadog-29.0.0 → libdatadog-30.0.0}/aarch64-linux-musl/libdatadog-aarch64-alpine-linux-musl/include/datadog/common.h +29 -1
- data/vendor/{libdatadog-29.0.0/aarch64-linux/libdatadog-aarch64-unknown-linux-gnu → libdatadog-30.0.0/aarch64-linux-musl/libdatadog-aarch64-alpine-linux-musl}/include/datadog/data-pipeline.h +15 -0
- data/vendor/{libdatadog-29.0.0/aarch64-linux/libdatadog-aarch64-unknown-linux-gnu → libdatadog-30.0.0/aarch64-linux-musl/libdatadog-aarch64-alpine-linux-musl}/include/datadog/profiling.h +43 -6
- data/vendor/{libdatadog-29.0.0 → libdatadog-30.0.0}/aarch64-linux-musl/libdatadog-aarch64-alpine-linux-musl/lib/libdatadog_profiling.so +0 -0
- data/vendor/{libdatadog-29.0.0 → libdatadog-30.0.0}/aarch64-linux-musl/libdatadog-aarch64-alpine-linux-musl/lib/pkgconfig/datadog_profiling_with_rpath.pc +1 -1
- metadata +34 -34
- /data/vendor/{libdatadog-29.0.0 → libdatadog-30.0.0}/aarch64-linux/libdatadog-aarch64-unknown-linux-gnu/LICENSE +0 -0
- /data/vendor/{libdatadog-29.0.0 → libdatadog-30.0.0}/aarch64-linux/libdatadog-aarch64-unknown-linux-gnu/NOTICE +0 -0
- /data/vendor/{libdatadog-29.0.0 → libdatadog-30.0.0}/aarch64-linux/libdatadog-aarch64-unknown-linux-gnu/bin/libdatadog-crashtracking-receiver +0 -0
- /data/vendor/{libdatadog-29.0.0 → libdatadog-30.0.0}/aarch64-linux/libdatadog-aarch64-unknown-linux-gnu/include/datadog/blazesym.h +0 -0
- /data/vendor/{libdatadog-29.0.0 → libdatadog-30.0.0}/aarch64-linux/libdatadog-aarch64-unknown-linux-gnu/include/datadog/crashtracker.h +0 -0
- /data/vendor/{libdatadog-29.0.0 → libdatadog-30.0.0}/aarch64-linux/libdatadog-aarch64-unknown-linux-gnu/include/datadog/ddsketch.h +0 -0
- /data/vendor/{libdatadog-29.0.0 → libdatadog-30.0.0}/aarch64-linux/libdatadog-aarch64-unknown-linux-gnu/include/datadog/ffe.h +0 -0
- /data/vendor/{libdatadog-29.0.0 → libdatadog-30.0.0}/aarch64-linux/libdatadog-aarch64-unknown-linux-gnu/include/datadog/library-config.h +0 -0
- /data/vendor/{libdatadog-29.0.0 → libdatadog-30.0.0}/aarch64-linux/libdatadog-aarch64-unknown-linux-gnu/include/datadog/log.h +0 -0
- /data/vendor/{libdatadog-29.0.0 → libdatadog-30.0.0}/aarch64-linux/libdatadog-aarch64-unknown-linux-gnu/include/datadog/telemetry.h +0 -0
- /data/vendor/{libdatadog-29.0.0 → libdatadog-30.0.0}/aarch64-linux-musl/libdatadog-aarch64-alpine-linux-musl/LICENSE +0 -0
- /data/vendor/{libdatadog-29.0.0 → libdatadog-30.0.0}/aarch64-linux-musl/libdatadog-aarch64-alpine-linux-musl/NOTICE +0 -0
- /data/vendor/{libdatadog-29.0.0 → libdatadog-30.0.0}/aarch64-linux-musl/libdatadog-aarch64-alpine-linux-musl/bin/libdatadog-crashtracking-receiver +0 -0
- /data/vendor/{libdatadog-29.0.0 → libdatadog-30.0.0}/aarch64-linux-musl/libdatadog-aarch64-alpine-linux-musl/include/datadog/blazesym.h +0 -0
- /data/vendor/{libdatadog-29.0.0 → libdatadog-30.0.0}/aarch64-linux-musl/libdatadog-aarch64-alpine-linux-musl/include/datadog/crashtracker.h +0 -0
- /data/vendor/{libdatadog-29.0.0 → libdatadog-30.0.0}/aarch64-linux-musl/libdatadog-aarch64-alpine-linux-musl/include/datadog/ddsketch.h +0 -0
- /data/vendor/{libdatadog-29.0.0 → libdatadog-30.0.0}/aarch64-linux-musl/libdatadog-aarch64-alpine-linux-musl/include/datadog/ffe.h +0 -0
- /data/vendor/{libdatadog-29.0.0 → libdatadog-30.0.0}/aarch64-linux-musl/libdatadog-aarch64-alpine-linux-musl/include/datadog/library-config.h +0 -0
- /data/vendor/{libdatadog-29.0.0 → libdatadog-30.0.0}/aarch64-linux-musl/libdatadog-aarch64-alpine-linux-musl/include/datadog/log.h +0 -0
- /data/vendor/{libdatadog-29.0.0 → libdatadog-30.0.0}/aarch64-linux-musl/libdatadog-aarch64-alpine-linux-musl/include/datadog/telemetry.h +0 -0
|
@@ -39,6 +39,12 @@
|
|
|
39
39
|
# define DDOG_CHECK_RETURN
|
|
40
40
|
#endif
|
|
41
41
|
|
|
42
|
+
#ifdef _WIN32
|
|
43
|
+
#define LIBDD_DLLIMPORT __declspec(dllimport)
|
|
44
|
+
#else
|
|
45
|
+
#define LIBDD_DLLIMPORT
|
|
46
|
+
#endif
|
|
47
|
+
|
|
42
48
|
/**
|
|
43
49
|
* Default value for the timeout field in milliseconds.
|
|
44
50
|
*/
|
|
@@ -1418,6 +1424,20 @@ typedef struct ddog_prof_Result_Generation {
|
|
|
1418
1424
|
};
|
|
1419
1425
|
} ddog_prof_Result_Generation;
|
|
1420
1426
|
|
|
1427
|
+
typedef struct ddog_prof_MutSlice_StringId2 {
|
|
1428
|
+
/**
|
|
1429
|
+
* Should be non-null and suitably aligned for the underlying type. It is
|
|
1430
|
+
* allowed but not recommended for the pointer to be null when the len is
|
|
1431
|
+
* zero.
|
|
1432
|
+
*/
|
|
1433
|
+
ddog_prof_StringId2 *ptr;
|
|
1434
|
+
/**
|
|
1435
|
+
* The number of elements (not bytes) that `.ptr` points to. Must be less
|
|
1436
|
+
* than or equal to [isize::MAX].
|
|
1437
|
+
*/
|
|
1438
|
+
uintptr_t len;
|
|
1439
|
+
} ddog_prof_MutSlice_StringId2;
|
|
1440
|
+
|
|
1421
1441
|
typedef enum ddog_prof_ManagedStringStorageNewResult_Tag {
|
|
1422
1442
|
DDOG_PROF_MANAGED_STRING_STORAGE_NEW_RESULT_OK,
|
|
1423
1443
|
DDOG_PROF_MANAGED_STRING_STORAGE_NEW_RESULT_ERR,
|
|
@@ -2305,6 +2325,14 @@ typedef struct ddog_crasht_Slice_CharSlice {
|
|
|
2305
2325
|
uintptr_t len;
|
|
2306
2326
|
} ddog_crasht_Slice_CharSlice;
|
|
2307
2327
|
|
|
2328
|
+
typedef struct ddog_crasht_EndpointConfig {
|
|
2329
|
+
ddog_CharSlice url;
|
|
2330
|
+
ddog_CharSlice api_key;
|
|
2331
|
+
ddog_CharSlice test_token;
|
|
2332
|
+
uint64_t timeout;
|
|
2333
|
+
bool use_system_resolver;
|
|
2334
|
+
} ddog_crasht_EndpointConfig;
|
|
2335
|
+
|
|
2308
2336
|
typedef struct ddog_crasht_Slice_I32 {
|
|
2309
2337
|
/**
|
|
2310
2338
|
* Should be non-null and suitably aligned for the underlying type. It is
|
|
@@ -2327,7 +2355,7 @@ typedef struct ddog_crasht_Config {
|
|
|
2327
2355
|
* The endpoint to send the crash report to (can be a file://).
|
|
2328
2356
|
* If None, the crashtracker will infer the agent host from env variables.
|
|
2329
2357
|
*/
|
|
2330
|
-
|
|
2358
|
+
struct ddog_crasht_EndpointConfig endpoint;
|
|
2331
2359
|
/**
|
|
2332
2360
|
* Optional filename for a unix domain socket if the receiver is used asynchonously
|
|
2333
2361
|
*/
|
|
@@ -145,9 +145,24 @@ struct ddog_TraceExporterError *ddog_trace_exporter_config_set_test_session_toke
|
|
|
145
145
|
struct ddog_TraceExporterError *ddog_trace_exporter_config_set_connection_timeout(struct ddog_TraceExporterConfig *config,
|
|
146
146
|
uint64_t timeout_ms);
|
|
147
147
|
|
|
148
|
+
/**
|
|
149
|
+
* Enables OTLP HTTP/JSON export and sets the endpoint URL.
|
|
150
|
+
*
|
|
151
|
+
* When set, traces are sent to this URL in OTLP HTTP/JSON format instead of the Datadog
|
|
152
|
+
* agent. The host language is responsible for resolving the endpoint from its configuration
|
|
153
|
+
* (e.g. `OTEL_EXPORTER_OTLP_TRACES_ENDPOINT`) before calling this function.
|
|
154
|
+
*/
|
|
155
|
+
struct ddog_TraceExporterError *ddog_trace_exporter_config_set_otlp_endpoint(struct ddog_TraceExporterConfig *config,
|
|
156
|
+
ddog_CharSlice url);
|
|
157
|
+
|
|
148
158
|
/**
|
|
149
159
|
* Create a new TraceExporter instance.
|
|
150
160
|
*
|
|
161
|
+
* When an OTLP endpoint is configured via `TraceExporterConfig`, the exporter sends traces in
|
|
162
|
+
* OTLP HTTP/JSON to that endpoint instead of the Datadog agent. The same payload (e.g.
|
|
163
|
+
* MessagePack) is passed to `ddog_trace_exporter_send`; the library decodes and converts to
|
|
164
|
+
* OTLP when OTLP is enabled.
|
|
165
|
+
*
|
|
151
166
|
* # Arguments
|
|
152
167
|
*
|
|
153
168
|
* * `out_handle` - The handle to write the TraceExporter instance in.
|
|
@@ -19,42 +19,56 @@ struct TokioCancellationToken;
|
|
|
19
19
|
extern "C" {
|
|
20
20
|
#endif // __cplusplus
|
|
21
21
|
|
|
22
|
-
extern const ddog_prof_StringId ddog_INTERNED_EMPTY_STRING;
|
|
22
|
+
extern LIBDD_DLLIMPORT const ddog_prof_StringId ddog_INTERNED_EMPTY_STRING;
|
|
23
23
|
|
|
24
24
|
/**
|
|
25
25
|
* A StringId that represents the empty string.
|
|
26
26
|
* This is always available in every string set and can be used without
|
|
27
27
|
* needing to insert it into a string set.
|
|
28
28
|
*/
|
|
29
|
-
extern const ddog_prof_StringId2 DDOG_PROF_STRINGID2_EMPTY;
|
|
29
|
+
extern LIBDD_DLLIMPORT const ddog_prof_StringId2 DDOG_PROF_STRINGID2_EMPTY;
|
|
30
30
|
|
|
31
31
|
/**
|
|
32
32
|
* A StringId that represents the string "end_timestamp_ns".
|
|
33
33
|
* This is always available in every string set and can be used without
|
|
34
34
|
* needing to insert it into a string set.
|
|
35
35
|
*/
|
|
36
|
-
extern const ddog_prof_StringId2 DDOG_PROF_STRINGID2_END_TIMESTAMP_NS;
|
|
36
|
+
extern LIBDD_DLLIMPORT const ddog_prof_StringId2 DDOG_PROF_STRINGID2_END_TIMESTAMP_NS;
|
|
37
37
|
|
|
38
38
|
/**
|
|
39
39
|
* A StringId that represents the string "local root span id".
|
|
40
40
|
* This is always available in every string set and can be used without
|
|
41
41
|
* needing to insert it into a string set.
|
|
42
42
|
*/
|
|
43
|
-
extern const ddog_prof_StringId2 DDOG_PROF_STRINGID2_LOCAL_ROOT_SPAN_ID;
|
|
43
|
+
extern LIBDD_DLLIMPORT const ddog_prof_StringId2 DDOG_PROF_STRINGID2_LOCAL_ROOT_SPAN_ID;
|
|
44
44
|
|
|
45
45
|
/**
|
|
46
46
|
* A StringId that represents the string "trace endpoint".
|
|
47
47
|
* This is always available in every string set and can be used without
|
|
48
48
|
* needing to insert it into a string set.
|
|
49
49
|
*/
|
|
50
|
-
extern const ddog_prof_StringId2 DDOG_PROF_STRINGID2_TRACE_ENDPOINT;
|
|
50
|
+
extern LIBDD_DLLIMPORT const ddog_prof_StringId2 DDOG_PROF_STRINGID2_TRACE_ENDPOINT;
|
|
51
51
|
|
|
52
52
|
/**
|
|
53
53
|
* A StringId that represents the string "span id".
|
|
54
54
|
* This is always available in every string set and can be used without
|
|
55
55
|
* needing to insert it into a string set.
|
|
56
56
|
*/
|
|
57
|
-
extern const ddog_prof_StringId2 DDOG_PROF_STRINGID2_SPAN_ID;
|
|
57
|
+
extern LIBDD_DLLIMPORT const ddog_prof_StringId2 DDOG_PROF_STRINGID2_SPAN_ID;
|
|
58
|
+
|
|
59
|
+
/**
|
|
60
|
+
* A StringId that represents the string "thread id".
|
|
61
|
+
* This is always available in every string set and can be used without
|
|
62
|
+
* needing to insert it into a string set.
|
|
63
|
+
*/
|
|
64
|
+
extern LIBDD_DLLIMPORT const ddog_prof_StringId2 DDOG_PROF_STRINGID2_THREAD_ID;
|
|
65
|
+
|
|
66
|
+
/**
|
|
67
|
+
* A StringId that represents the string "thread name".
|
|
68
|
+
* This is always available in every string set and can be used without
|
|
69
|
+
* needing to insert it into a string set.
|
|
70
|
+
*/
|
|
71
|
+
extern LIBDD_DLLIMPORT const ddog_prof_StringId2 DDOG_PROF_STRINGID2_THREAD_NAME;
|
|
58
72
|
|
|
59
73
|
DDOG_CHECK_RETURN struct ddog_prof_Exporter_Slice_File ddog_prof_Exporter_Slice_File_empty(void);
|
|
60
74
|
|
|
@@ -954,6 +968,29 @@ struct ddog_prof_Status ddog_prof_ProfilesDictionary_insert_str(ddog_prof_String
|
|
|
954
968
|
ddog_CharSlice byte_slice,
|
|
955
969
|
enum ddog_prof_Utf8Option utf8_option);
|
|
956
970
|
|
|
971
|
+
/**
|
|
972
|
+
* Inserts a batch of UTF-8 strings into the dictionary string table.
|
|
973
|
+
*
|
|
974
|
+
* On success, each element of `string_ids` corresponds to the same-index element of
|
|
975
|
+
* `strings`. The length of `string_ids` must equal the length of `strings`; a
|
|
976
|
+
* mismatch is an error.
|
|
977
|
+
*
|
|
978
|
+
* On failure the number of entries written to `string_ids` is unspecified; callers
|
|
979
|
+
* must not read any element of `string_ids`.
|
|
980
|
+
*
|
|
981
|
+
* # Safety
|
|
982
|
+
*
|
|
983
|
+
* - `dict` must refer to a live dictionary.
|
|
984
|
+
* - `strings` must be a valid slice for the duration of the call.
|
|
985
|
+
* - `string_ids` must be a valid writable slice of `StringId2` with the same length as `strings`.
|
|
986
|
+
* - The UTF-8 policy indicated by `utf8_option` must be respected by the caller for every string
|
|
987
|
+
* in `strings`.
|
|
988
|
+
*/
|
|
989
|
+
struct ddog_prof_Status ddog_prof_ProfilesDictionary_insert_strs(struct ddog_prof_MutSlice_StringId2 string_ids,
|
|
990
|
+
const struct ddog_prof_ProfilesDictionary *dict,
|
|
991
|
+
struct ddog_prof_Slice_CharSlice strings,
|
|
992
|
+
enum ddog_prof_Utf8Option utf8_option);
|
|
993
|
+
|
|
957
994
|
/**
|
|
958
995
|
* Tries to get the string value associated with the string id. Fails if the
|
|
959
996
|
* handle has been taken from, or the result param is null.
|
|
Binary file
|
|
@@ -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:
|
|
11
|
+
Version: 30.0.0
|
|
12
12
|
Requires:
|
|
13
13
|
Libs: -L${libdir} -ldatadog_profiling -Wl,-rpath,${libdir}
|
|
14
14
|
Libs.private:
|