libdatadog 40.0.0.2.0-x86_64-linux → 45.0.0.1.0-x86_64-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 +2 -2
- data/vendor/{libdatadog-40.0.0 → libdatadog-45.0.0}/x86_64-linux/LICENSE-3rdparty.csv +15 -12
- data/vendor/{libdatadog-40.0.0 → libdatadog-45.0.0}/x86_64-linux/bin/libdatadog-crashtracking-receiver +0 -0
- data/vendor/{libdatadog-40.0.0 → libdatadog-45.0.0}/x86_64-linux/include/datadog/common.h +176 -122
- data/vendor/{libdatadog-40.0.0/x86_64-linux-musl → libdatadog-45.0.0/x86_64-linux}/include/datadog/data-pipeline.h +79 -9
- data/vendor/{libdatadog-40.0.0 → libdatadog-45.0.0}/x86_64-linux/include/datadog/ffe.h +12 -0
- data/vendor/{libdatadog-40.0.0 → libdatadog-45.0.0}/x86_64-linux/include/datadog/library-config.h +47 -24
- data/vendor/{libdatadog-40.0.0/x86_64-linux-musl → libdatadog-45.0.0/x86_64-linux}/include/datadog/otel-thread-ctx.h +35 -5
- data/vendor/{libdatadog-40.0.0 → libdatadog-45.0.0}/x86_64-linux/lib/libdatadog_profiling.so +0 -0
- data/vendor/{libdatadog-40.0.0 → libdatadog-45.0.0}/x86_64-linux/lib/pkgconfig/datadog_profiling_with_rpath.pc +1 -1
- data/vendor/{libdatadog-40.0.0 → libdatadog-45.0.0}/x86_64-linux-musl/LICENSE-3rdparty.csv +15 -12
- data/vendor/{libdatadog-40.0.0 → libdatadog-45.0.0}/x86_64-linux-musl/bin/libdatadog-crashtracking-receiver +0 -0
- data/vendor/{libdatadog-40.0.0 → libdatadog-45.0.0}/x86_64-linux-musl/include/datadog/common.h +176 -122
- data/vendor/{libdatadog-40.0.0/x86_64-linux → libdatadog-45.0.0/x86_64-linux-musl}/include/datadog/data-pipeline.h +79 -9
- data/vendor/{libdatadog-40.0.0 → libdatadog-45.0.0}/x86_64-linux-musl/include/datadog/ffe.h +12 -0
- data/vendor/{libdatadog-40.0.0 → libdatadog-45.0.0}/x86_64-linux-musl/include/datadog/library-config.h +47 -24
- data/vendor/{libdatadog-40.0.0/x86_64-linux → libdatadog-45.0.0/x86_64-linux-musl}/include/datadog/otel-thread-ctx.h +35 -5
- data/vendor/{libdatadog-40.0.0 → libdatadog-45.0.0}/x86_64-linux-musl/lib/libdatadog_profiling.so +0 -0
- data/vendor/{libdatadog-40.0.0 → libdatadog-45.0.0}/x86_64-linux-musl/lib/pkgconfig/datadog_profiling_with_rpath.pc +1 -1
- metadata +37 -37
- /data/vendor/{libdatadog-40.0.0 → libdatadog-45.0.0}/x86_64-linux/LICENSE +0 -0
- /data/vendor/{libdatadog-40.0.0 → libdatadog-45.0.0}/x86_64-linux/NOTICE +0 -0
- /data/vendor/{libdatadog-40.0.0 → libdatadog-45.0.0}/x86_64-linux/include/datadog/blazesym.h +0 -0
- /data/vendor/{libdatadog-40.0.0 → libdatadog-45.0.0}/x86_64-linux/include/datadog/crashtracker.h +0 -0
- /data/vendor/{libdatadog-40.0.0 → libdatadog-45.0.0}/x86_64-linux/include/datadog/ddsketch.h +0 -0
- /data/vendor/{libdatadog-40.0.0 → libdatadog-45.0.0}/x86_64-linux/include/datadog/log.h +0 -0
- /data/vendor/{libdatadog-40.0.0 → libdatadog-45.0.0}/x86_64-linux/include/datadog/profiling.h +0 -0
- /data/vendor/{libdatadog-40.0.0 → libdatadog-45.0.0}/x86_64-linux/include/datadog/shared-runtime.h +0 -0
- /data/vendor/{libdatadog-40.0.0 → libdatadog-45.0.0}/x86_64-linux/include/datadog/telemetry.h +0 -0
- /data/vendor/{libdatadog-40.0.0 → libdatadog-45.0.0}/x86_64-linux-musl/LICENSE +0 -0
- /data/vendor/{libdatadog-40.0.0 → libdatadog-45.0.0}/x86_64-linux-musl/NOTICE +0 -0
- /data/vendor/{libdatadog-40.0.0 → libdatadog-45.0.0}/x86_64-linux-musl/include/datadog/blazesym.h +0 -0
- /data/vendor/{libdatadog-40.0.0 → libdatadog-45.0.0}/x86_64-linux-musl/include/datadog/crashtracker.h +0 -0
- /data/vendor/{libdatadog-40.0.0 → libdatadog-45.0.0}/x86_64-linux-musl/include/datadog/ddsketch.h +0 -0
- /data/vendor/{libdatadog-40.0.0 → libdatadog-45.0.0}/x86_64-linux-musl/include/datadog/log.h +0 -0
- /data/vendor/{libdatadog-40.0.0 → libdatadog-45.0.0}/x86_64-linux-musl/include/datadog/profiling.h +0 -0
- /data/vendor/{libdatadog-40.0.0 → libdatadog-45.0.0}/x86_64-linux-musl/include/datadog/shared-runtime.h +0 -0
- /data/vendor/{libdatadog-40.0.0 → libdatadog-45.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:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 479acb06f13a2a69f066b7618522b8c6051c3192297c53b50f0bd9b942b4b20a
|
|
4
|
+
data.tar.gz: 573a01ef9c230430634ba383be05612c2d2cb56487f0ef34d2ba5b429f28607a
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 2b862b83467b268fff711e42a29101ead98c13fff918a840aa74e3dac48d941a6cfcfc035425ab93ffa109ddd68548eee7ca25fa39e1dcee20ed39719061dd97
|
|
7
|
+
data.tar.gz: 97e5708410611db8c7f7d345d2a481ddc36fe8c911aa9d4ae3544a2a56a420b7f0687cf54b80cb5ce9c42aa4c308aa3b9046f8b64a377ed75fadaee5d6ec4c6b
|
data/lib/libdatadog/version.rb
CHANGED
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
|
|
3
3
|
module Libdatadog
|
|
4
4
|
# Current libdatadog version
|
|
5
|
-
LIB_VERSION = "
|
|
5
|
+
LIB_VERSION = "45.0.0"
|
|
6
6
|
|
|
7
|
-
GEM_MAJOR_VERSION = "
|
|
7
|
+
GEM_MAJOR_VERSION = "1"
|
|
8
8
|
GEM_MINOR_VERSION = "0"
|
|
9
9
|
GEM_PRERELEASE_VERSION = "" # remember to include dot prefix, if needed!
|
|
10
10
|
private_constant :GEM_MAJOR_VERSION, :GEM_MINOR_VERSION, :GEM_PRERELEASE_VERSION
|
|
@@ -15,7 +15,6 @@ anstyle-wincon,https://github.com/rust-cli/anstyle,MIT OR Apache-2.0,The anstyle
|
|
|
15
15
|
anyhow,https://github.com/dtolnay/anyhow,MIT OR Apache-2.0,David Tolnay <dtolnay@gmail.com>
|
|
16
16
|
arbitrary,https://github.com/rust-fuzz/arbitrary,MIT OR Apache-2.0,"The Rust-Fuzz Project Developers, Nick Fitzgerald <fitzgen@gmail.com>, Manish Goregaokar <manishsmail@gmail.com>, Simonas Kazlauskas <arbitrary@kazlauskas.me>, Brian L. Troutwine <brian@troutwine.us>, Corey Farwell <coreyf@rwell.org>"
|
|
17
17
|
arc-swap,https://github.com/vorner/arc-swap,MIT OR Apache-2.0,Michal 'vorner' Vaner <vorner@vorner.cz>
|
|
18
|
-
arrayref,https://github.com/droundy/arrayref,BSD-2-Clause,David Roundy <roundyd@physics.oregonstate.edu>
|
|
19
18
|
assert-json-diff,https://github.com/davidpdrsn/assert-json-diff,MIT,David Pedersen <david.pdrsn@gmail.com>
|
|
20
19
|
async-attributes,https://github.com/async-rs/async-attributes,MIT OR Apache-2.0,Yoshua Wuyts <yoshuawuyts@gmail.com>
|
|
21
20
|
async-channel,https://github.com/smol-rs/async-channel,Apache-2.0 OR MIT,Stjepan Glavina <stjepang@gmail.com>
|
|
@@ -119,6 +118,7 @@ deranged,https://github.com/jhpratt/deranged,MIT OR Apache-2.0,Jacob Pratt <jaco
|
|
|
119
118
|
derive_arbitrary,https://github.com/rust-fuzz/arbitrary,MIT OR Apache-2.0,"The Rust-Fuzz Project Developers, Nick Fitzgerald <fitzgen@gmail.com>, Manish Goregaokar <manishsmail@gmail.com>, Andre Bogus <bogusandre@gmail.com>, Corey Farwell <coreyf@rwell.org>"
|
|
120
119
|
derive_more,https://github.com/JelteF/derive_more,MIT,Jelte Fennema <github-tech@jeltef.nl>
|
|
121
120
|
derive_more-impl,https://github.com/JelteF/derive_more,MIT,Jelte Fennema <github-tech@jeltef.nl>
|
|
121
|
+
derp,https://github.com/heartsucker/derp,ISC,heartsucker <heartsucker@autistici.org>
|
|
122
122
|
diff,https://github.com/utkarshkukreti/diff.rs,MIT OR Apache-2.0,Utkarsh Kukreti <utkarshkukreti@gmail.com>
|
|
123
123
|
digest,https://github.com/RustCrypto/traits,MIT OR Apache-2.0,RustCrypto Developers
|
|
124
124
|
dispatch2,https://github.com/madsmtm/objc2,Zlib OR Apache-2.0 OR MIT,"Mads Marquart <mads@marquart.dk>, Mary <mary@mary.zone>"
|
|
@@ -168,11 +168,11 @@ h2,https://github.com/hyperium/h2,MIT,"Carl Lerche <me@carllerche.com>, Sean McA
|
|
|
168
168
|
half,https://github.com/starkat99/half-rs,MIT OR Apache-2.0,Kathryn Long <squeeself@gmail.com>
|
|
169
169
|
halfbrown,https://github.com/Licenser/halfbrown,Apache-2.0 OR MIT,Heinz N. Gies <heinz@licenser.net>
|
|
170
170
|
hashbrown,https://github.com/rust-lang/hashbrown,MIT OR Apache-2.0,Amanieu d'Antras <amanieu@gmail.com>
|
|
171
|
+
hashbrown,https://github.com/rust-lang/hashbrown,MIT OR Apache-2.0,The hashbrown Authors
|
|
171
172
|
hdrhistogram,https://github.com/HdrHistogram/HdrHistogram_rust,MIT OR Apache-2.0,"Jon Gjengset <jon@thesquareplanet.com>, Marshall Pierce <marshall@mpierce.org>"
|
|
172
173
|
headers,https://github.com/hyperium/headers,MIT,Sean McArthur <sean@seanmonstar.com>
|
|
173
174
|
headers-core,https://github.com/hyperium/headers,MIT,Sean McArthur <sean@seanmonstar.com>
|
|
174
175
|
heck,https://github.com/withoutboats/heck,MIT OR Apache-2.0,The heck Authors
|
|
175
|
-
heck,https://github.com/withoutboats/heck,MIT OR Apache-2.0,Without Boats <woboats@gmail.com>
|
|
176
176
|
hermit-abi,https://github.com/hermit-os/hermit-rs,MIT OR Apache-2.0,Stefan Lankes
|
|
177
177
|
hex,https://github.com/KokaKiwi/rust-hex,MIT OR Apache-2.0,KokaKiwi <kokakiwi@kokakiwi.net>
|
|
178
178
|
hickory-proto,https://github.com/hickory-dns/hickory-dns,MIT OR Apache-2.0,The contributors to Hickory DNS
|
|
@@ -217,13 +217,15 @@ jni,https://github.com/jni-rs/jni-rs,MIT OR Apache-2.0,Josh Chase <josh@prevoty.
|
|
|
217
217
|
jni-sys,https://github.com/sfackler/rust-jni-sys,MIT OR Apache-2.0,Steven Fackler <sfackler@gmail.com>
|
|
218
218
|
jobserver,https://github.com/rust-lang/jobserver-rs,MIT OR Apache-2.0,Alex Crichton <alex@alexcrichton.com>
|
|
219
219
|
js-sys,https://github.com/rustwasm/wasm-bindgen/tree/master/crates/js-sys,MIT OR Apache-2.0,The wasm-bindgen Developers
|
|
220
|
-
kernel32-sys,https://github.com/retep998/winapi-rs,MIT,Peter Atashian <retep998@gmail.com>
|
|
221
220
|
kv-log-macro,https://github.com/yoshuawuyts/kv-log-macro,MIT OR Apache-2.0,Yoshua Wuyts <yoshuawuyts@gmail.com>
|
|
222
221
|
lazy_static,https://github.com/rust-lang-nursery/lazy-static.rs,MIT OR Apache-2.0,Marvin Löbel <loebel.marvin@gmail.com>
|
|
223
222
|
libc,https://github.com/rust-lang/libc,MIT OR Apache-2.0,The libc Authors
|
|
223
|
+
libc_alloc,https://github.com/daniel5151/libc_alloc,MIT,Daniel Prilik <danielprilik@gmail.com>
|
|
224
224
|
libdd-libunwind-sys,https://github.com/DataDog/libdatadog/tree/main/libdd-libunwind-sys,Apache-2.0,The libdd-libunwind-sys Authors
|
|
225
|
+
libdd-tuf,https://github.com/theupdateframework/rust-tuf,MIT OR Apache-2.0,"heartsucker <heartsucker@autistici.org>, Erick Tryzelaar <etryzelaar@google.com>"
|
|
225
226
|
libloading,https://github.com/nagisa/rust_libloading,ISC,Simonas Kazlauskas <libloading@kazlauskas.me>
|
|
226
227
|
libredox,https://gitlab.redox-os.org/redox-os/libredox,MIT,4lDO2 <4lDO2@protonmail.com>
|
|
228
|
+
libyaml-rs,https://github.com/yaml/libyaml-rs,MIT,"David Tolnay <dtolnay@gmail.com>, YAML Organization <noreply@yaml.org>"
|
|
227
229
|
libz-rs-sys,https://github.com/trifectatechfoundation/zlib-rs,Zlib,The libz-rs-sys Authors
|
|
228
230
|
link-cplusplus,https://github.com/dtolnay/link-cplusplus,MIT OR Apache-2.0,David Tolnay <dtolnay@gmail.com>
|
|
229
231
|
linux-raw-sys,https://github.com/sunfishcode/linux-raw-sys,Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT,Dan Gohman <dev@sunfishcode.online>
|
|
@@ -240,9 +242,9 @@ memfd,https://github.com/lucab/memfd-rs,MIT OR Apache-2.0,"Luca Bruno <lucab@luc
|
|
|
240
242
|
memmap2,https://github.com/RazrFalcon/memmap2-rs,MIT OR Apache-2.0,"Dan Burkert <dan@danburkert.com>, Yevhenii Reizner <razrfalcon@gmail.com>"
|
|
241
243
|
memoffset,https://github.com/Gilnaa/memoffset,MIT,Gilad Naaman <gilad.naaman@gmail.com>
|
|
242
244
|
memory-stats,https://github.com/Arc-blroth/memory-stats,MIT OR Apache-2.0,Arc-blroth <45273859+Arc-blroth@users.noreply.github.com>
|
|
243
|
-
microseh,https://github.com/sonodima/microseh,MIT,sonodima
|
|
244
245
|
mime,https://github.com/hyperium/mime,MIT OR Apache-2.0,Sean McArthur <sean@seanmonstar.com>
|
|
245
246
|
mime_guess,https://github.com/abonander/mime_guess,MIT,Austin Bonander <austin.bonander@gmail.com>
|
|
247
|
+
minicov,https://github.com/Amanieu/minicov,Apache-2.0 OR MIT,Amanieu d'Antras <amanieu@gmail.com>
|
|
246
248
|
minimal-lexical,https://github.com/Alexhuszagh/minimal-lexical,MIT OR Apache-2.0,Alex Huszagh <ahuszagh@gmail.com>
|
|
247
249
|
miniz_oxide,https://github.com/Frommi/miniz_oxide/tree/master/miniz_oxide,MIT OR Zlib OR Apache-2.0,"Frommi <daniil.liferenko@gmail.com>, oyvindln <oyvindln@users.noreply.github.com>, Rich Geldreich richgel99@gmail.com"
|
|
248
250
|
mio,https://github.com/tokio-rs/mio,MIT,"Carl Lerche <me@carllerche.com>, Thomas de Zeeuw <thomasdezeeuw@gmail.com>, Tokio Contributors <team@tokio.rs>"
|
|
@@ -253,7 +255,6 @@ multimap,https://github.com/havarnov/multimap,MIT OR Apache-2.0,Håvar Nøvik <h
|
|
|
253
255
|
nix,https://github.com/nix-rust/nix,MIT,The nix-rust Project Developers
|
|
254
256
|
nom,https://github.com/Geal/nom,MIT,contact@geoffroycouprie.com
|
|
255
257
|
ntapi,https://github.com/MSxDOS/ntapi,Apache-2.0 OR MIT,MSxDOS <melcodos@gmail.com>
|
|
256
|
-
nu-ansi-term,https://github.com/nushell/nu-ansi-term,MIT,"ogham@bsago.me, Ryan Scheel (Havvy) <ryan.havvy@gmail.com>, Josh Triplett <josh@joshtriplett.org>, The Nushell Project Developers"
|
|
257
258
|
num-conv,https://github.com/jhpratt/num-conv,MIT OR Apache-2.0,Jacob Pratt <jacob@jhpratt.dev>
|
|
258
259
|
num-derive,https://github.com/rust-num/num-derive,MIT OR Apache-2.0,The Rust Project Developers
|
|
259
260
|
num-traits,https://github.com/rust-num/num-traits,MIT OR Apache-2.0,The Rust Project Developers
|
|
@@ -275,6 +276,9 @@ object,https://github.com/gimli-rs/object,Apache-2.0 OR MIT,The object Authors
|
|
|
275
276
|
once_cell,https://github.com/matklad/once_cell,MIT OR Apache-2.0,Aleksey Kladov <aleksey.kladov@gmail.com>
|
|
276
277
|
oorandom,https://hg.sr.ht/~icefox/oorandom,MIT,Simon Heath <icefox@dreamquest.io>
|
|
277
278
|
openssl-probe,https://github.com/alexcrichton/openssl-probe,MIT OR Apache-2.0,Alex Crichton <alex@alexcrichton.com>
|
|
279
|
+
opentelemetry,https://github.com/open-telemetry/opentelemetry-rust/tree/main/opentelemetry,Apache-2.0,The opentelemetry Authors
|
|
280
|
+
opentelemetry-proto,https://github.com/open-telemetry/opentelemetry-rust/tree/main/opentelemetry-proto,Apache-2.0,The opentelemetry-proto Authors
|
|
281
|
+
opentelemetry_sdk,https://github.com/open-telemetry/opentelemetry-rust/tree/main/opentelemetry-sdk,Apache-2.0,The opentelemetry_sdk Authors
|
|
278
282
|
os_info,https://github.com/stanislav-tkach/os_info,MIT,"Jan Schulte <hello@unexpected-co.de>, Stanislav Tkach <stanislav.tkach@gmail.com>"
|
|
279
283
|
page_size,https://github.com/Elzair/page_size_rs,MIT OR Apache-2.0,Philip Woods <elzairthesorcerer@gmail.com>
|
|
280
284
|
parking,https://github.com/smol-rs/parking,Apache-2.0 OR MIT,"Stjepan Glavina <stjepang@gmail.com>, The Rust Project Developers"
|
|
@@ -318,7 +322,6 @@ protoc-bin-vendored-macos-aarch_64,https://github.com/stepancheg/rust-protoc-bin
|
|
|
318
322
|
protoc-bin-vendored-macos-x86_64,https://github.com/stepancheg/rust-protoc-bin-vendored,MIT,Stepan Koltsov <stepan.koltsov@gmail.com>
|
|
319
323
|
protoc-bin-vendored-win32,https://github.com/stepancheg/rust-protoc-bin-vendored,MIT,Stepan Koltsov <stepan.koltsov@gmail.com>
|
|
320
324
|
pyo3,https://github.com/pyo3/pyo3,MIT OR Apache-2.0,PyO3 Project and Contributors <https://github.com/PyO3>
|
|
321
|
-
pyo3-build-config,https://github.com/pyo3/pyo3,MIT OR Apache-2.0,PyO3 Project and Contributors <https://github.com/PyO3>
|
|
322
325
|
pyo3-ffi,https://github.com/pyo3/pyo3,MIT OR Apache-2.0,PyO3 Project and Contributors <https://github.com/PyO3>
|
|
323
326
|
pyo3-macros,https://github.com/pyo3/pyo3,MIT OR Apache-2.0,PyO3 Project and Contributors <https://github.com/PyO3>
|
|
324
327
|
pyo3-macros-backend,https://github.com/pyo3/pyo3,MIT OR Apache-2.0,PyO3 Project and Contributors <https://github.com/PyO3>
|
|
@@ -372,9 +375,7 @@ sdd,https://github.com/wvwwvwwv/scalable-delayed-dealloc,Apache-2.0,wvwwvwwv <wv
|
|
|
372
375
|
security-framework,https://github.com/kornelski/rust-security-framework,MIT OR Apache-2.0,"Steven Fackler <sfackler@gmail.com>, Kornel <kornel@geekhood.net>"
|
|
373
376
|
security-framework-sys,https://github.com/kornelski/rust-security-framework,MIT OR Apache-2.0,"Steven Fackler <sfackler@gmail.com>, Kornel <kornel@geekhood.net>"
|
|
374
377
|
semver,https://github.com/dtolnay/semver,MIT OR Apache-2.0,David Tolnay <dtolnay@gmail.com>
|
|
375
|
-
sendfd,https://github.com/standard-ai/sendfd,Apache-2.0 OR BSD-3-Clause,"Simonas Kazlauskas <simonas@standard.ai>, Bernardo Meurer <bernardo@standard.ai>, Léo Gaspard <leo@standard.ai>"
|
|
376
378
|
serde,https://github.com/serde-rs/serde,MIT OR Apache-2.0,"Erick Tryzelaar <erick.tryzelaar@gmail.com>, David Tolnay <dtolnay@gmail.com>"
|
|
377
|
-
serde-bool,https://github.com/x52dev/serde-utils,MIT OR Apache-2.0,Rob Ede <robjtede@icloud.com>
|
|
378
379
|
serde-transcode,https://github.com/sfackler/serde-transcode,MIT OR Apache-2.0,Steven Fackler <sfackler@palantir.com>
|
|
379
380
|
serde_bytes,https://github.com/serde-rs/bytes,MIT OR Apache-2.0,David Tolnay <dtolnay@gmail.com>
|
|
380
381
|
serde_core,https://github.com/serde-rs/serde,MIT OR Apache-2.0,"Erick Tryzelaar <erick.tryzelaar@gmail.com>, David Tolnay <dtolnay@gmail.com>"
|
|
@@ -386,7 +387,6 @@ serde_regex,https://github.com/tailhook/serde-regex,MIT OR Apache-2.0,paul@colom
|
|
|
386
387
|
serde_spanned,https://github.com/toml-rs/toml,MIT OR Apache-2.0,The serde_spanned Authors
|
|
387
388
|
serde_with,https://github.com/jonasbb/serde_with,MIT OR Apache-2.0,"Jonas Bushart, Marcin Kaźmierczak"
|
|
388
389
|
serde_with_macros,https://github.com/jonasbb/serde_with,MIT OR Apache-2.0,Jonas Bushart
|
|
389
|
-
serde_yaml,https://github.com/dtolnay/serde-yaml,MIT OR Apache-2.0,David Tolnay <dtolnay@gmail.com>
|
|
390
390
|
serial_test_derive,https://github.com/palfrey/serial_test,MIT,Tom Parker-Shemilt <palfrey@tevp.net>
|
|
391
391
|
sha1,https://github.com/RustCrypto/hashes,MIT OR Apache-2.0,RustCrypto Developers
|
|
392
392
|
sha2,https://github.com/RustCrypto/hashes,MIT OR Apache-2.0,RustCrypto Developers
|
|
@@ -473,7 +473,6 @@ unicase,https://github.com/seanmonstar/unicase,MIT OR Apache-2.0,Sean McArthur <
|
|
|
473
473
|
unicode-ident,https://github.com/dtolnay/unicode-ident,(MIT OR Apache-2.0) AND Unicode-DFS-2016,David Tolnay <dtolnay@gmail.com>
|
|
474
474
|
unicode-width,https://github.com/unicode-rs/unicode-width,MIT OR Apache-2.0,"kwantam <kwantam@gmail.com>, Manish Goregaokar <manishsmail@gmail.com>"
|
|
475
475
|
unicode-xid,https://github.com/unicode-rs/unicode-xid,MIT OR Apache-2.0,"erick.tryzelaar <erick.tryzelaar@gmail.com>, kwantam <kwantam@gmail.com>, Manish Goregaokar <manishsmail@gmail.com>"
|
|
476
|
-
unsafe-libyaml,https://github.com/dtolnay/unsafe-libyaml,MIT,David Tolnay <dtolnay@gmail.com>
|
|
477
476
|
untrusted,https://github.com/briansmith/untrusted,ISC,Brian Smith <brian@briansmith.org>
|
|
478
477
|
url,https://github.com/servo/rust-url,MIT OR Apache-2.0,The rust-url developers
|
|
479
478
|
urlencoding,https://github.com/kornelski/rust_urlencoding,MIT,"Kornel <kornel@geekhood.net>, Bertram Truong <b@bertramtruong.com>"
|
|
@@ -497,12 +496,12 @@ wasm-bindgen-futures,https://github.com/rustwasm/wasm-bindgen/tree/master/crates
|
|
|
497
496
|
wasm-bindgen-macro,https://github.com/rustwasm/wasm-bindgen/tree/master/crates/macro,MIT OR Apache-2.0,The wasm-bindgen Developers
|
|
498
497
|
wasm-bindgen-macro-support,https://github.com/rustwasm/wasm-bindgen/tree/master/crates/macro-support,MIT OR Apache-2.0,The wasm-bindgen Developers
|
|
499
498
|
wasm-bindgen-shared,https://github.com/rustwasm/wasm-bindgen/tree/master/crates/shared,MIT OR Apache-2.0,The wasm-bindgen Developers
|
|
499
|
+
wasm-bindgen-test-macro,https://github.com/rustwasm/wasm-bindgen,MIT OR Apache-2.0,The wasm-bindgen Developers
|
|
500
500
|
web-sys,https://github.com/rustwasm/wasm-bindgen/tree/master/crates/web-sys,MIT OR Apache-2.0,The wasm-bindgen Developers
|
|
501
501
|
web-time,https://github.com/daxpedda/web-time,MIT OR Apache-2.0,The web-time Authors
|
|
502
502
|
webpki-root-certs,https://github.com/rustls/webpki-roots,CDLA-Permissive-2.0,The webpki-root-certs Authors
|
|
503
503
|
webpki-roots,https://github.com/rustls/webpki-roots,CDLA-Permissive-2.0,The webpki-roots Authors
|
|
504
504
|
widestring,https://github.com/VoidStarKat/widestring-rs,MIT OR Apache-2.0,The widestring Authors
|
|
505
|
-
winapi,https://github.com/retep998/winapi-rs,MIT,Peter Atashian <retep998@gmail.com>
|
|
506
505
|
winapi,https://github.com/retep998/winapi-rs,MIT OR Apache-2.0,Peter Atashian <retep998@gmail.com>
|
|
507
506
|
winapi-i686-pc-windows-gnu,https://github.com/retep998/winapi-rs,MIT OR Apache-2.0,Peter Atashian <retep998@gmail.com>
|
|
508
507
|
winapi-util,https://github.com/BurntSushi/winapi-util,Unlicense OR MIT,Andrew Gallant <jamslam@gmail.com>
|
|
@@ -532,7 +531,7 @@ winver,https://github.com/rhysd/winver,MIT,rhysd <lin90162@yahoo.co.jp>
|
|
|
532
531
|
wit-bindgen-rt,https://github.com/bytecodealliance/wit-bindgen,Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT,The wit-bindgen-rt Authors
|
|
533
532
|
write16,https://github.com/hsivonen/write16,Apache-2.0 OR MIT,The write16 Authors
|
|
534
533
|
writeable,https://github.com/unicode-org/icu4x,Unicode-3.0,The ICU4X Project Developers
|
|
535
|
-
|
|
534
|
+
yaml_serde,https://github.com/yaml/yaml-serde,MIT OR Apache-2.0,YAML Organization <noreply@yaml.org>
|
|
536
535
|
yansi,https://github.com/SergioBenitez/yansi,MIT OR Apache-2.0,Sergio Benitez <sb@sergio.bz>
|
|
537
536
|
yoke,https://github.com/unicode-org/icu4x,Unicode-3.0,Manish Goregaokar <manishsmail@gmail.com>
|
|
538
537
|
yoke-derive,https://github.com/unicode-org/icu4x,Unicode-3.0,Manish Goregaokar <manishsmail@gmail.com>
|
|
@@ -548,6 +547,10 @@ zerovec-derive,https://github.com/unicode-org/icu4x,Unicode-3.0,Manish Goregaoka
|
|
|
548
547
|
zip,https://github.com/zip-rs/zip2,MIT,"Mathijs van de Nes <git@mathijs.vd-nes.nl>, Marli Frost <marli@frost.red>, Ryan Levick <ryan.levick@gmail.com>, Chris Hennick <hennickc@amazon.com>"
|
|
549
548
|
zlib-rs,https://github.com/trifectatechfoundation/zlib-rs,Zlib,The zlib-rs Authors
|
|
550
549
|
zopfli,https://github.com/zopfli-rs/zopfli,Apache-2.0,The zopfli Authors
|
|
550
|
+
zrip,https://github.com/paddor/zrip,MIT,The zrip Authors
|
|
551
|
+
zrip-core,https://github.com/paddor/zrip,MIT,The zrip-core Authors
|
|
552
|
+
zrip-decode,https://github.com/paddor/zrip,MIT,The zrip-decode Authors
|
|
553
|
+
zrip-encode,https://github.com/paddor/zrip,MIT,The zrip-encode Authors
|
|
551
554
|
zstd,https://github.com/gyscos/zstd-rs,MIT,Alexandre Bury <alexandre.bury@gmail.com>
|
|
552
555
|
zstd-safe,https://github.com/gyscos/zstd-rs,MIT OR Apache-2.0,Alexandre Bury <alexandre.bury@gmail.com>
|
|
553
556
|
zstd-sys,https://github.com/gyscos/zstd-rs,MIT OR Apache-2.0,Alexandre Bury <alexandre.bury@gmail.com>
|
|
Binary file
|
|
@@ -52,8 +52,22 @@
|
|
|
52
52
|
|
|
53
53
|
typedef struct ddog_Endpoint ddog_Endpoint;
|
|
54
54
|
|
|
55
|
+
/**
|
|
56
|
+
* A shared handle to a [`MutableMetadata`].
|
|
57
|
+
*
|
|
58
|
+
* This is a cheap-to-clone `Arc<ArcSwap<MutableMetadata>>`: all clones observe the same
|
|
59
|
+
* underlying value. See the
|
|
60
|
+
* [module documentation](self) for the write/read protocol.
|
|
61
|
+
*/
|
|
62
|
+
typedef struct ddog_MutableMetadataHandle ddog_MutableMetadataHandle;
|
|
63
|
+
|
|
55
64
|
typedef struct ddog_Tag ddog_Tag;
|
|
56
65
|
|
|
66
|
+
typedef struct ddog_ArrayQueue {
|
|
67
|
+
struct ddog_ArrayQueue *inner;
|
|
68
|
+
void (*item_delete_fn)(void*);
|
|
69
|
+
} ddog_ArrayQueue;
|
|
70
|
+
|
|
57
71
|
/**
|
|
58
72
|
* Holds the raw parts of a Rust Vec; it should only be created from Rust,
|
|
59
73
|
* never from C.
|
|
@@ -77,46 +91,6 @@ typedef struct ddog_Error {
|
|
|
77
91
|
struct ddog_Vec_U8 message;
|
|
78
92
|
} ddog_Error;
|
|
79
93
|
|
|
80
|
-
typedef struct ddog_Slice_CChar {
|
|
81
|
-
/**
|
|
82
|
-
* Should be non-null and suitably aligned for the underlying type. It is
|
|
83
|
-
* allowed but not recommended for the pointer to be null when the len is
|
|
84
|
-
* zero.
|
|
85
|
-
*/
|
|
86
|
-
const char *ptr;
|
|
87
|
-
/**
|
|
88
|
-
* The number of elements (not bytes) that `.ptr` points to. Must be less
|
|
89
|
-
* than or equal to [isize::MAX].
|
|
90
|
-
*/
|
|
91
|
-
uintptr_t len;
|
|
92
|
-
} ddog_Slice_CChar;
|
|
93
|
-
|
|
94
|
-
/**
|
|
95
|
-
* Use to represent strings -- should be valid UTF-8.
|
|
96
|
-
*/
|
|
97
|
-
typedef struct ddog_Slice_CChar ddog_CharSlice;
|
|
98
|
-
|
|
99
|
-
typedef enum ddog_Option_Error_Tag {
|
|
100
|
-
DDOG_OPTION_ERROR_SOME_ERROR,
|
|
101
|
-
DDOG_OPTION_ERROR_NONE_ERROR,
|
|
102
|
-
} ddog_Option_Error_Tag;
|
|
103
|
-
|
|
104
|
-
typedef struct ddog_Option_Error {
|
|
105
|
-
ddog_Option_Error_Tag tag;
|
|
106
|
-
union {
|
|
107
|
-
struct {
|
|
108
|
-
struct ddog_Error some;
|
|
109
|
-
};
|
|
110
|
-
};
|
|
111
|
-
} ddog_Option_Error;
|
|
112
|
-
|
|
113
|
-
typedef struct ddog_Option_Error ddog_MaybeError;
|
|
114
|
-
|
|
115
|
-
typedef struct ddog_ArrayQueue {
|
|
116
|
-
struct ddog_ArrayQueue *inner;
|
|
117
|
-
void (*item_delete_fn)(void*);
|
|
118
|
-
} ddog_ArrayQueue;
|
|
119
|
-
|
|
120
94
|
typedef enum ddog_ArrayQueue_NewResult_Tag {
|
|
121
95
|
DDOG_ARRAY_QUEUE_NEW_RESULT_OK,
|
|
122
96
|
DDOG_ARRAY_QUEUE_NEW_RESULT_ERR,
|
|
@@ -210,6 +184,59 @@ typedef struct ddog_ArrayQueue_UsizeResult {
|
|
|
210
184
|
};
|
|
211
185
|
} ddog_ArrayQueue_UsizeResult;
|
|
212
186
|
|
|
187
|
+
typedef struct ddog_Slice_CChar {
|
|
188
|
+
/**
|
|
189
|
+
* Should be non-null and suitably aligned for the underlying type. It is
|
|
190
|
+
* allowed but not recommended for the pointer to be null when the len is
|
|
191
|
+
* zero.
|
|
192
|
+
*/
|
|
193
|
+
const char *ptr;
|
|
194
|
+
/**
|
|
195
|
+
* The number of elements (not bytes) that `.ptr` points to. Must be less
|
|
196
|
+
* than or equal to [isize::MAX].
|
|
197
|
+
*/
|
|
198
|
+
uintptr_t len;
|
|
199
|
+
} ddog_Slice_CChar;
|
|
200
|
+
|
|
201
|
+
/**
|
|
202
|
+
* Use to represent strings -- should be valid UTF-8.
|
|
203
|
+
*/
|
|
204
|
+
typedef struct ddog_Slice_CChar ddog_CharSlice;
|
|
205
|
+
|
|
206
|
+
typedef enum ddog_Option_Error_Tag {
|
|
207
|
+
DDOG_OPTION_ERROR_SOME_ERROR,
|
|
208
|
+
DDOG_OPTION_ERROR_NONE_ERROR,
|
|
209
|
+
} ddog_Option_Error_Tag;
|
|
210
|
+
|
|
211
|
+
typedef struct ddog_Option_Error {
|
|
212
|
+
ddog_Option_Error_Tag tag;
|
|
213
|
+
union {
|
|
214
|
+
struct {
|
|
215
|
+
struct ddog_Error some;
|
|
216
|
+
};
|
|
217
|
+
};
|
|
218
|
+
} ddog_Option_Error;
|
|
219
|
+
|
|
220
|
+
typedef struct ddog_Option_Error ddog_MaybeError;
|
|
221
|
+
|
|
222
|
+
/**
|
|
223
|
+
* A generic result type for when an operation may fail,
|
|
224
|
+
* but there's nothing to return in the case of success.
|
|
225
|
+
*/
|
|
226
|
+
typedef enum ddog_VoidResult_Tag {
|
|
227
|
+
DDOG_VOID_RESULT_OK,
|
|
228
|
+
DDOG_VOID_RESULT_ERR,
|
|
229
|
+
} ddog_VoidResult_Tag;
|
|
230
|
+
|
|
231
|
+
typedef struct ddog_VoidResult {
|
|
232
|
+
ddog_VoidResult_Tag tag;
|
|
233
|
+
union {
|
|
234
|
+
struct {
|
|
235
|
+
struct ddog_Error err;
|
|
236
|
+
};
|
|
237
|
+
};
|
|
238
|
+
} ddog_VoidResult;
|
|
239
|
+
|
|
213
240
|
typedef enum ddog_Option_U32_Tag {
|
|
214
241
|
DDOG_OPTION_U32_SOME_U32,
|
|
215
242
|
DDOG_OPTION_U32_NONE_U32,
|
|
@@ -384,6 +411,14 @@ typedef enum ddog_prof_SampleType {
|
|
|
384
411
|
* serialization.
|
|
385
412
|
*/
|
|
386
413
|
DDOG_PROF_SAMPLE_TYPE_CUSTOM5,
|
|
414
|
+
/**
|
|
415
|
+
* Time spent in garbage collection.
|
|
416
|
+
*/
|
|
417
|
+
DDOG_PROF_SAMPLE_TYPE_GC_TIME,
|
|
418
|
+
/**
|
|
419
|
+
* Number of garbage-collection samples / pause events.
|
|
420
|
+
*/
|
|
421
|
+
DDOG_PROF_SAMPLE_TYPE_GC_SAMPLES,
|
|
387
422
|
} ddog_prof_SampleType;
|
|
388
423
|
|
|
389
424
|
typedef enum ddog_prof_Utf8Option {
|
|
@@ -517,24 +552,6 @@ typedef struct ddog_prof_ProfileExporter_Result {
|
|
|
517
552
|
};
|
|
518
553
|
} ddog_prof_ProfileExporter_Result;
|
|
519
554
|
|
|
520
|
-
/**
|
|
521
|
-
* A generic result type for when an operation may fail,
|
|
522
|
-
* but there's nothing to return in the case of success.
|
|
523
|
-
*/
|
|
524
|
-
typedef enum ddog_VoidResult_Tag {
|
|
525
|
-
DDOG_VOID_RESULT_OK,
|
|
526
|
-
DDOG_VOID_RESULT_ERR,
|
|
527
|
-
} ddog_VoidResult_Tag;
|
|
528
|
-
|
|
529
|
-
typedef struct ddog_VoidResult {
|
|
530
|
-
ddog_VoidResult_Tag tag;
|
|
531
|
-
union {
|
|
532
|
-
struct {
|
|
533
|
-
struct ddog_Error err;
|
|
534
|
-
};
|
|
535
|
-
};
|
|
536
|
-
} ddog_VoidResult;
|
|
537
|
-
|
|
538
555
|
typedef struct ddog_HttpStatus {
|
|
539
556
|
uint16_t code;
|
|
540
557
|
} ddog_HttpStatus;
|
|
@@ -1759,14 +1776,6 @@ typedef struct ddog_TelemetryClientConfig {
|
|
|
1759
1776
|
* How often telemetry should be sent, in milliseconds.
|
|
1760
1777
|
*/
|
|
1761
1778
|
uint64_t interval;
|
|
1762
|
-
/**
|
|
1763
|
-
* A V4 UUID that represents a tracer session. This ID should:
|
|
1764
|
-
* - Be generated when the tracer starts
|
|
1765
|
-
* - Be identical within the context of a host (i.e. multiple threads/processes that belong to
|
|
1766
|
-
* a single instrumented app should share the same runtime_id)
|
|
1767
|
-
* - Be associated with traces to allow correlation between traces and telemetry data
|
|
1768
|
-
*/
|
|
1769
|
-
ddog_CharSlice runtime_id;
|
|
1770
1779
|
/**
|
|
1771
1780
|
* Whether to enable debug mode for telemetry.
|
|
1772
1781
|
* When enabled, sets the DD-Telemetry-Debug-Enabled header to true.
|
|
@@ -1971,6 +1980,37 @@ typedef struct ddog_ProcessInfo {
|
|
|
1971
1980
|
ddog_CharSlice language;
|
|
1972
1981
|
} ddog_ProcessInfo;
|
|
1973
1982
|
|
|
1983
|
+
/**
|
|
1984
|
+
* C-compatible representation of an anonymous file handle
|
|
1985
|
+
*/
|
|
1986
|
+
typedef struct ddog_TracerMemfdHandle {
|
|
1987
|
+
/**
|
|
1988
|
+
* File descriptor (relevant only on Linux)
|
|
1989
|
+
*/
|
|
1990
|
+
int fd;
|
|
1991
|
+
} ddog_TracerMemfdHandle;
|
|
1992
|
+
|
|
1993
|
+
/**
|
|
1994
|
+
* A generic result type for when an operation may fail,
|
|
1995
|
+
* or may return <T> in case of success.
|
|
1996
|
+
*/
|
|
1997
|
+
typedef enum ddog_Result_TracerMemfdHandle_Tag {
|
|
1998
|
+
DDOG_RESULT_TRACER_MEMFD_HANDLE_OK_TRACER_MEMFD_HANDLE,
|
|
1999
|
+
DDOG_RESULT_TRACER_MEMFD_HANDLE_ERR_TRACER_MEMFD_HANDLE,
|
|
2000
|
+
} ddog_Result_TracerMemfdHandle_Tag;
|
|
2001
|
+
|
|
2002
|
+
typedef struct ddog_Result_TracerMemfdHandle {
|
|
2003
|
+
ddog_Result_TracerMemfdHandle_Tag tag;
|
|
2004
|
+
union {
|
|
2005
|
+
struct {
|
|
2006
|
+
struct ddog_TracerMemfdHandle ok;
|
|
2007
|
+
};
|
|
2008
|
+
struct {
|
|
2009
|
+
struct ddog_Error err;
|
|
2010
|
+
};
|
|
2011
|
+
};
|
|
2012
|
+
} ddog_Result_TracerMemfdHandle;
|
|
2013
|
+
|
|
1974
2014
|
/**
|
|
1975
2015
|
* Ffi safe type representing an owned null-terminated C array
|
|
1976
2016
|
* Equivalent to a std::ffi::CString
|
|
@@ -2028,37 +2068,6 @@ typedef struct ddog_LibraryConfigLoggedResult {
|
|
|
2028
2068
|
};
|
|
2029
2069
|
} ddog_LibraryConfigLoggedResult;
|
|
2030
2070
|
|
|
2031
|
-
/**
|
|
2032
|
-
* C-compatible representation of an anonymous file handle
|
|
2033
|
-
*/
|
|
2034
|
-
typedef struct ddog_TracerMemfdHandle {
|
|
2035
|
-
/**
|
|
2036
|
-
* File descriptor (relevant only on Linux)
|
|
2037
|
-
*/
|
|
2038
|
-
int fd;
|
|
2039
|
-
} ddog_TracerMemfdHandle;
|
|
2040
|
-
|
|
2041
|
-
/**
|
|
2042
|
-
* A generic result type for when an operation may fail,
|
|
2043
|
-
* or may return <T> in case of success.
|
|
2044
|
-
*/
|
|
2045
|
-
typedef enum ddog_Result_TracerMemfdHandle_Tag {
|
|
2046
|
-
DDOG_RESULT_TRACER_MEMFD_HANDLE_OK_TRACER_MEMFD_HANDLE,
|
|
2047
|
-
DDOG_RESULT_TRACER_MEMFD_HANDLE_ERR_TRACER_MEMFD_HANDLE,
|
|
2048
|
-
} ddog_Result_TracerMemfdHandle_Tag;
|
|
2049
|
-
|
|
2050
|
-
typedef struct ddog_Result_TracerMemfdHandle {
|
|
2051
|
-
ddog_Result_TracerMemfdHandle_Tag tag;
|
|
2052
|
-
union {
|
|
2053
|
-
struct {
|
|
2054
|
-
struct ddog_TracerMemfdHandle ok;
|
|
2055
|
-
};
|
|
2056
|
-
struct {
|
|
2057
|
-
struct ddog_Error err;
|
|
2058
|
-
};
|
|
2059
|
-
};
|
|
2060
|
-
} ddog_Result_TracerMemfdHandle;
|
|
2061
|
-
|
|
2062
2071
|
/**
|
|
2063
2072
|
* Log level for filtering log events.
|
|
2064
2073
|
*/
|
|
@@ -2438,10 +2447,9 @@ typedef struct ddog_SharedRuntimeFFIError {
|
|
|
2438
2447
|
#define ddog_MAX_ATTRS_DATA_SIZE 612
|
|
2439
2448
|
|
|
2440
2449
|
/**
|
|
2441
|
-
* Opaque handle to a thread context record. Used to
|
|
2442
|
-
*
|
|
2443
|
-
*
|
|
2444
|
-
* [ThreadContextRecord::valid], etc.)
|
|
2450
|
+
* Opaque handle to a thread context record. Used to pass an owned thread context to and from C
|
|
2451
|
+
* without exposing `ThreadContext`, as the underlying record needs extra care to be
|
|
2452
|
+
* manipulated (async-signal-safety, seq-lock-like modification protocol, etc.)
|
|
2445
2453
|
*/
|
|
2446
2454
|
typedef struct ddog_ThreadContextHandle {
|
|
2447
2455
|
|
|
@@ -2942,27 +2950,6 @@ typedef void (*ddog_crasht_RuntimeStacktraceStringCallback)(void (*emit_stacktra
|
|
|
2942
2950
|
extern "C" {
|
|
2943
2951
|
#endif // __cplusplus
|
|
2944
2952
|
|
|
2945
|
-
/**
|
|
2946
|
-
* Drops the error. It should not be used after this, though the
|
|
2947
|
-
* implementation tries to limit the damage in the case of use-after-free and
|
|
2948
|
-
* double-free scenarios.
|
|
2949
|
-
*
|
|
2950
|
-
* # Safety
|
|
2951
|
-
*
|
|
2952
|
-
* Only pass null or a pointer to a valid, mutable `ddog_Error`.
|
|
2953
|
-
*/
|
|
2954
|
-
void ddog_Error_drop(struct ddog_Error *error);
|
|
2955
|
-
|
|
2956
|
-
/**
|
|
2957
|
-
* Returns a CharSlice of the error's message that is valid until the error
|
|
2958
|
-
* is dropped.
|
|
2959
|
-
* # Safety
|
|
2960
|
-
* Only pass null or a valid reference to a `ddog_Error`.
|
|
2961
|
-
*/
|
|
2962
|
-
ddog_CharSlice ddog_Error_message(const struct ddog_Error *error);
|
|
2963
|
-
|
|
2964
|
-
void ddog_MaybeError_drop(ddog_MaybeError);
|
|
2965
|
-
|
|
2966
2953
|
/**
|
|
2967
2954
|
* Creates a new ArrayQueue with the given capacity and item_delete_fn.
|
|
2968
2955
|
* The item_delete_fn is called when an item is dropped from the queue.
|
|
@@ -3057,6 +3044,73 @@ void ddog_endpoint_set_use_system_resolver(struct ddog_Endpoint *endpoint,
|
|
|
3057
3044
|
|
|
3058
3045
|
void ddog_endpoint_drop(struct ddog_Endpoint*);
|
|
3059
3046
|
|
|
3047
|
+
/**
|
|
3048
|
+
* Drops the error. It should not be used after this, though the
|
|
3049
|
+
* implementation tries to limit the damage in the case of use-after-free and
|
|
3050
|
+
* double-free scenarios.
|
|
3051
|
+
*
|
|
3052
|
+
* # Safety
|
|
3053
|
+
*
|
|
3054
|
+
* Only pass null or a pointer to a valid, mutable `ddog_Error`.
|
|
3055
|
+
*/
|
|
3056
|
+
void ddog_Error_drop(struct ddog_Error *error);
|
|
3057
|
+
|
|
3058
|
+
/**
|
|
3059
|
+
* Returns a CharSlice of the error's message that is valid until the error
|
|
3060
|
+
* is dropped.
|
|
3061
|
+
* # Safety
|
|
3062
|
+
* Only pass null or a valid reference to a `ddog_Error`.
|
|
3063
|
+
*/
|
|
3064
|
+
ddog_CharSlice ddog_Error_message(const struct ddog_Error *error);
|
|
3065
|
+
|
|
3066
|
+
void ddog_MaybeError_drop(ddog_MaybeError);
|
|
3067
|
+
|
|
3068
|
+
/**
|
|
3069
|
+
* Creates a shared, updatable metadata handle initialized with default values.
|
|
3070
|
+
*
|
|
3071
|
+
* Use the metadata setters to configure or update its values.
|
|
3072
|
+
*
|
|
3073
|
+
* # Safety
|
|
3074
|
+
*
|
|
3075
|
+
* `out_handle` must point to valid, writable (uninitialized) memory for a
|
|
3076
|
+
* `ddog_MutableMetadataHandle *`.
|
|
3077
|
+
*/
|
|
3078
|
+
void ddog_mutable_metadata_new(struct ddog_MutableMetadataHandle **out_handle);
|
|
3079
|
+
|
|
3080
|
+
/**
|
|
3081
|
+
* Frees a `ddog_MutableMetadataHandle` handle.
|
|
3082
|
+
*
|
|
3083
|
+
* Call once this handle is no longer needed. It must not be used concurrently
|
|
3084
|
+
* with this call or accessed afterward. Other cloned handles remain valid.
|
|
3085
|
+
*
|
|
3086
|
+
* # Safety
|
|
3087
|
+
*
|
|
3088
|
+
* `handle` must be a valid mutable metadata handle obtained through [`ddog_mutable_metadata_new`]
|
|
3089
|
+
*/
|
|
3090
|
+
void ddog_mutable_metadata_free(struct ddog_MutableMetadataHandle *handle);
|
|
3091
|
+
|
|
3092
|
+
/**
|
|
3093
|
+
* Replaces the `runtime_id` held by the shared mutable metadata handle.
|
|
3094
|
+
*
|
|
3095
|
+
* # Safety
|
|
3096
|
+
*
|
|
3097
|
+
* `handle` must be a valid mutable metadata handle obtained through [`ddog_mutable_metadata_new`]
|
|
3098
|
+
*/
|
|
3099
|
+
DDOG_CHECK_RETURN
|
|
3100
|
+
struct ddog_VoidResult ddog_mutable_metadata_set_runtime_id(const struct ddog_MutableMetadataHandle *handle,
|
|
3101
|
+
ddog_CharSlice runtime_id);
|
|
3102
|
+
|
|
3103
|
+
/**
|
|
3104
|
+
* Replaces the `process_tags` held by the shared mutable metadata handle.
|
|
3105
|
+
*
|
|
3106
|
+
* # Safety
|
|
3107
|
+
*
|
|
3108
|
+
* `handle` must be a valid mutable metadata handle obtained through [`ddog_mutable_metadata_new`]
|
|
3109
|
+
*/
|
|
3110
|
+
DDOG_CHECK_RETURN
|
|
3111
|
+
struct ddog_VoidResult ddog_mutable_metadata_set_process_tags(const struct ddog_MutableMetadataHandle *handle,
|
|
3112
|
+
ddog_CharSlice process_tags);
|
|
3113
|
+
|
|
3060
3114
|
struct ddog_Option_U32 ddog_Option_U32_some(uint32_t v);
|
|
3061
3115
|
|
|
3062
3116
|
struct ddog_Option_U32 ddog_Option_U32_none(void);
|