libdatadog 0.7.0.1.1-x86_64-linux → 0.9.0.1.0-x86_64-linux
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/libdatadog/version.rb +2 -2
- data/lib/libdatadog.rb +1 -1
- data/vendor/{libdatadog-0.7.0 → libdatadog-0.9.0}/x86_64-linux/libdatadog-x86_64-unknown-linux-gnu/LICENSE +0 -0
- data/vendor/{libdatadog-0.7.0/x86_64-linux-musl/libdatadog-x86_64-alpine-linux-musl → libdatadog-0.9.0/x86_64-linux/libdatadog-x86_64-unknown-linux-gnu}/LICENSE-3rdparty.yml +32 -140
- data/vendor/{libdatadog-0.7.0 → libdatadog-0.9.0}/x86_64-linux/libdatadog-x86_64-unknown-linux-gnu/NOTICE +0 -0
- data/vendor/libdatadog-0.9.0/x86_64-linux/libdatadog-x86_64-unknown-linux-gnu/include/datadog/common.h +481 -0
- data/vendor/libdatadog-0.9.0/x86_64-linux/libdatadog-x86_64-unknown-linux-gnu/include/datadog/profiling.h +214 -0
- data/vendor/libdatadog-0.9.0/x86_64-linux/libdatadog-x86_64-unknown-linux-gnu/include/datadog/telemetry.h +78 -0
- data/vendor/libdatadog-0.9.0/x86_64-linux/libdatadog-x86_64-unknown-linux-gnu/lib/libdatadog_profiling.so +0 -0
- data/vendor/{libdatadog-0.7.0/x86_64-linux/libdatadog-x86_64-unknown-linux-gnu/lib/pkgconfig/ddprof_ffi_with_rpath.pc → libdatadog-0.9.0/x86_64-linux/libdatadog-x86_64-unknown-linux-gnu/lib/pkgconfig/datadog_profiling_with_rpath.pc} +3 -3
- data/vendor/{libdatadog-0.7.0 → libdatadog-0.9.0}/x86_64-linux-musl/libdatadog-x86_64-alpine-linux-musl/LICENSE +0 -0
- data/vendor/{libdatadog-0.7.0/x86_64-linux/libdatadog-x86_64-unknown-linux-gnu → libdatadog-0.9.0/x86_64-linux-musl/libdatadog-x86_64-alpine-linux-musl}/LICENSE-3rdparty.yml +32 -140
- data/vendor/{libdatadog-0.7.0 → libdatadog-0.9.0}/x86_64-linux-musl/libdatadog-x86_64-alpine-linux-musl/NOTICE +0 -0
- data/vendor/libdatadog-0.9.0/x86_64-linux-musl/libdatadog-x86_64-alpine-linux-musl/include/datadog/common.h +481 -0
- data/vendor/libdatadog-0.9.0/x86_64-linux-musl/libdatadog-x86_64-alpine-linux-musl/include/datadog/profiling.h +214 -0
- data/vendor/libdatadog-0.9.0/x86_64-linux-musl/libdatadog-x86_64-alpine-linux-musl/include/datadog/telemetry.h +78 -0
- data/vendor/libdatadog-0.9.0/x86_64-linux-musl/libdatadog-x86_64-alpine-linux-musl/lib/libdatadog_profiling.so +0 -0
- data/vendor/{libdatadog-0.7.0/x86_64-linux-musl/libdatadog-x86_64-alpine-linux-musl/lib/pkgconfig/ddprof_ffi_with_rpath.pc → libdatadog-0.9.0/x86_64-linux-musl/libdatadog-x86_64-alpine-linux-musl/lib/pkgconfig/datadog_profiling_with_rpath.pc} +3 -3
- metadata +18 -14
- data/vendor/libdatadog-0.7.0/x86_64-linux/libdatadog-x86_64-unknown-linux-gnu/include/ddprof/ffi.h +0 -591
- data/vendor/libdatadog-0.7.0/x86_64-linux/libdatadog-x86_64-unknown-linux-gnu/lib/libddprof_ffi.so +0 -0
- data/vendor/libdatadog-0.7.0/x86_64-linux-musl/libdatadog-x86_64-alpine-linux-musl/include/ddprof/ffi.h +0 -591
- data/vendor/libdatadog-0.7.0/x86_64-linux-musl/libdatadog-x86_64-alpine-linux-musl/lib/libddprof_ffi.so +0 -0
@@ -0,0 +1,78 @@
|
|
1
|
+
// Unless explicitly stated otherwise all files in this repository are licensed under the Apache License Version 2.0.
|
2
|
+
// This product includes software developed at Datadog (https://www.datadoghq.com/). Copyright 2021-Present Datadog, Inc.
|
3
|
+
|
4
|
+
|
5
|
+
#ifndef DDOG_TELEMETRY_H
|
6
|
+
#define DDOG_TELEMETRY_H
|
7
|
+
|
8
|
+
#include <stdbool.h>
|
9
|
+
#include <stddef.h>
|
10
|
+
#include <stdint.h>
|
11
|
+
#include "datadog/common.h"
|
12
|
+
|
13
|
+
/**
|
14
|
+
* # Safety
|
15
|
+
* * builder should be a non null pointer to a null pointer to a builder
|
16
|
+
*/
|
17
|
+
ddog_MaybeError ddog_builder_instantiate(struct ddog_TelemetryWorkerBuilder **builder,
|
18
|
+
ddog_CharSlice service_name,
|
19
|
+
ddog_CharSlice language_name,
|
20
|
+
ddog_CharSlice language_version,
|
21
|
+
ddog_CharSlice tracer_version);
|
22
|
+
|
23
|
+
/**
|
24
|
+
* # Safety
|
25
|
+
* * builder should be a non null pointer to a null pointer to a builder
|
26
|
+
*/
|
27
|
+
ddog_MaybeError ddog_builder_instantiate_with_hostname(struct ddog_TelemetryWorkerBuilder **builder,
|
28
|
+
ddog_CharSlice hostname,
|
29
|
+
ddog_CharSlice service_name,
|
30
|
+
ddog_CharSlice language_name,
|
31
|
+
ddog_CharSlice language_version,
|
32
|
+
ddog_CharSlice tracer_version);
|
33
|
+
|
34
|
+
ddog_MaybeError ddog_builder_with_native_deps(struct ddog_TelemetryWorkerBuilder *builder,
|
35
|
+
bool include_native_deps);
|
36
|
+
|
37
|
+
ddog_MaybeError ddog_builder_with_rust_shared_lib_deps(struct ddog_TelemetryWorkerBuilder *builder,
|
38
|
+
bool include_rust_shared_lib_deps);
|
39
|
+
|
40
|
+
ddog_MaybeError ddog_builder_with_config(struct ddog_TelemetryWorkerBuilder *builder,
|
41
|
+
ddog_CharSlice name,
|
42
|
+
ddog_CharSlice value);
|
43
|
+
|
44
|
+
/**
|
45
|
+
* # Safety
|
46
|
+
* * handle should be a non null pointer to a null pointer
|
47
|
+
*/
|
48
|
+
ddog_MaybeError ddog_builder_run(struct ddog_TelemetryWorkerBuilder *builder,
|
49
|
+
struct ddog_TelemetryWorkerHandle **handle);
|
50
|
+
|
51
|
+
ddog_MaybeError ddog_handle_add_dependency(const struct ddog_TelemetryWorkerHandle *handle,
|
52
|
+
ddog_CharSlice dependency_name,
|
53
|
+
ddog_CharSlice dependency_version);
|
54
|
+
|
55
|
+
ddog_MaybeError ddog_handle_add_integration(const struct ddog_TelemetryWorkerHandle *handle,
|
56
|
+
ddog_CharSlice dependency_name,
|
57
|
+
ddog_CharSlice dependency_version,
|
58
|
+
struct ddog_Option_bool compatible,
|
59
|
+
struct ddog_Option_bool enabled,
|
60
|
+
struct ddog_Option_bool auto_enabled);
|
61
|
+
|
62
|
+
ddog_MaybeError ddog_handle_add_log(const struct ddog_TelemetryWorkerHandle *handle,
|
63
|
+
ddog_CharSlice indentifier,
|
64
|
+
ddog_CharSlice message,
|
65
|
+
enum ddog_LogLevel level,
|
66
|
+
ddog_CharSlice stack_trace);
|
67
|
+
|
68
|
+
ddog_MaybeError ddog_handle_start(const struct ddog_TelemetryWorkerHandle *handle);
|
69
|
+
|
70
|
+
struct ddog_TelemetryWorkerHandle *ddog_handle_clone(const struct ddog_TelemetryWorkerHandle *handle);
|
71
|
+
|
72
|
+
ddog_MaybeError ddog_handle_stop(const struct ddog_TelemetryWorkerHandle *handle);
|
73
|
+
|
74
|
+
void ddog_handle_wait_for_shutdown(struct ddog_TelemetryWorkerHandle *handle);
|
75
|
+
|
76
|
+
void ddog_handle_drop(struct ddog_TelemetryWorkerHandle *handle);
|
77
|
+
|
78
|
+
#endif /* DDOG_TELEMETRY_H */
|
Binary file
|
@@ -8,10 +8,10 @@ exec_prefix=${prefix}
|
|
8
8
|
libdir=${exec_prefix}/lib
|
9
9
|
includedir=${prefix}/include
|
10
10
|
|
11
|
-
Name:
|
11
|
+
Name: datadog_profiling
|
12
12
|
Description: Contains common code used to implement Datadog's Continuous Profilers. (Dynamic linking variant, sets rpath)
|
13
|
-
Version: 0.
|
13
|
+
Version: 0.9.0
|
14
14
|
Requires:
|
15
|
-
Libs: -L${libdir} -
|
15
|
+
Libs: -L${libdir} -ldatadog_profiling -Wl,-rpath,${libdir}
|
16
16
|
Libs.private:
|
17
17
|
Cflags: -I${includedir}
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: libdatadog
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.9.0.1.0
|
5
5
|
platform: x86_64-linux
|
6
6
|
authors:
|
7
7
|
- Datadog, Inc.
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-10-06 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: libdatadog is a Rust-based utility library for Datadog's ddtrace gem.
|
14
14
|
email:
|
@@ -19,18 +19,22 @@ extra_rdoc_files: []
|
|
19
19
|
files:
|
20
20
|
- lib/libdatadog.rb
|
21
21
|
- lib/libdatadog/version.rb
|
22
|
-
- vendor/libdatadog-0.
|
23
|
-
- vendor/libdatadog-0.
|
24
|
-
- vendor/libdatadog-0.
|
25
|
-
- vendor/libdatadog-0.
|
26
|
-
- vendor/libdatadog-0.
|
27
|
-
- vendor/libdatadog-0.
|
28
|
-
- vendor/libdatadog-0.
|
29
|
-
- vendor/libdatadog-0.
|
30
|
-
- vendor/libdatadog-0.
|
31
|
-
- vendor/libdatadog-0.
|
32
|
-
- vendor/libdatadog-0.
|
33
|
-
- vendor/libdatadog-0.
|
22
|
+
- vendor/libdatadog-0.9.0/x86_64-linux-musl/libdatadog-x86_64-alpine-linux-musl/LICENSE
|
23
|
+
- vendor/libdatadog-0.9.0/x86_64-linux-musl/libdatadog-x86_64-alpine-linux-musl/LICENSE-3rdparty.yml
|
24
|
+
- vendor/libdatadog-0.9.0/x86_64-linux-musl/libdatadog-x86_64-alpine-linux-musl/NOTICE
|
25
|
+
- vendor/libdatadog-0.9.0/x86_64-linux-musl/libdatadog-x86_64-alpine-linux-musl/include/datadog/common.h
|
26
|
+
- vendor/libdatadog-0.9.0/x86_64-linux-musl/libdatadog-x86_64-alpine-linux-musl/include/datadog/profiling.h
|
27
|
+
- vendor/libdatadog-0.9.0/x86_64-linux-musl/libdatadog-x86_64-alpine-linux-musl/include/datadog/telemetry.h
|
28
|
+
- vendor/libdatadog-0.9.0/x86_64-linux-musl/libdatadog-x86_64-alpine-linux-musl/lib/libdatadog_profiling.so
|
29
|
+
- vendor/libdatadog-0.9.0/x86_64-linux-musl/libdatadog-x86_64-alpine-linux-musl/lib/pkgconfig/datadog_profiling_with_rpath.pc
|
30
|
+
- vendor/libdatadog-0.9.0/x86_64-linux/libdatadog-x86_64-unknown-linux-gnu/LICENSE
|
31
|
+
- vendor/libdatadog-0.9.0/x86_64-linux/libdatadog-x86_64-unknown-linux-gnu/LICENSE-3rdparty.yml
|
32
|
+
- vendor/libdatadog-0.9.0/x86_64-linux/libdatadog-x86_64-unknown-linux-gnu/NOTICE
|
33
|
+
- vendor/libdatadog-0.9.0/x86_64-linux/libdatadog-x86_64-unknown-linux-gnu/include/datadog/common.h
|
34
|
+
- vendor/libdatadog-0.9.0/x86_64-linux/libdatadog-x86_64-unknown-linux-gnu/include/datadog/profiling.h
|
35
|
+
- vendor/libdatadog-0.9.0/x86_64-linux/libdatadog-x86_64-unknown-linux-gnu/include/datadog/telemetry.h
|
36
|
+
- vendor/libdatadog-0.9.0/x86_64-linux/libdatadog-x86_64-unknown-linux-gnu/lib/libdatadog_profiling.so
|
37
|
+
- vendor/libdatadog-0.9.0/x86_64-linux/libdatadog-x86_64-unknown-linux-gnu/lib/pkgconfig/datadog_profiling_with_rpath.pc
|
34
38
|
homepage: https://docs.datadoghq.com/tracing/
|
35
39
|
licenses:
|
36
40
|
- Apache-2.0
|