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.
Files changed (24) hide show
  1. checksums.yaml +4 -4
  2. data/lib/libdatadog/version.rb +2 -2
  3. data/lib/libdatadog.rb +1 -1
  4. data/vendor/{libdatadog-0.7.0 → libdatadog-0.9.0}/x86_64-linux/libdatadog-x86_64-unknown-linux-gnu/LICENSE +0 -0
  5. 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
  6. data/vendor/{libdatadog-0.7.0 → libdatadog-0.9.0}/x86_64-linux/libdatadog-x86_64-unknown-linux-gnu/NOTICE +0 -0
  7. data/vendor/libdatadog-0.9.0/x86_64-linux/libdatadog-x86_64-unknown-linux-gnu/include/datadog/common.h +481 -0
  8. data/vendor/libdatadog-0.9.0/x86_64-linux/libdatadog-x86_64-unknown-linux-gnu/include/datadog/profiling.h +214 -0
  9. data/vendor/libdatadog-0.9.0/x86_64-linux/libdatadog-x86_64-unknown-linux-gnu/include/datadog/telemetry.h +78 -0
  10. data/vendor/libdatadog-0.9.0/x86_64-linux/libdatadog-x86_64-unknown-linux-gnu/lib/libdatadog_profiling.so +0 -0
  11. 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
  12. data/vendor/{libdatadog-0.7.0 → libdatadog-0.9.0}/x86_64-linux-musl/libdatadog-x86_64-alpine-linux-musl/LICENSE +0 -0
  13. 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
  14. data/vendor/{libdatadog-0.7.0 → libdatadog-0.9.0}/x86_64-linux-musl/libdatadog-x86_64-alpine-linux-musl/NOTICE +0 -0
  15. data/vendor/libdatadog-0.9.0/x86_64-linux-musl/libdatadog-x86_64-alpine-linux-musl/include/datadog/common.h +481 -0
  16. data/vendor/libdatadog-0.9.0/x86_64-linux-musl/libdatadog-x86_64-alpine-linux-musl/include/datadog/profiling.h +214 -0
  17. data/vendor/libdatadog-0.9.0/x86_64-linux-musl/libdatadog-x86_64-alpine-linux-musl/include/datadog/telemetry.h +78 -0
  18. data/vendor/libdatadog-0.9.0/x86_64-linux-musl/libdatadog-x86_64-alpine-linux-musl/lib/libdatadog_profiling.so +0 -0
  19. 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
  20. metadata +18 -14
  21. data/vendor/libdatadog-0.7.0/x86_64-linux/libdatadog-x86_64-unknown-linux-gnu/include/ddprof/ffi.h +0 -591
  22. data/vendor/libdatadog-0.7.0/x86_64-linux/libdatadog-x86_64-unknown-linux-gnu/lib/libddprof_ffi.so +0 -0
  23. data/vendor/libdatadog-0.7.0/x86_64-linux-musl/libdatadog-x86_64-alpine-linux-musl/include/ddprof/ffi.h +0 -591
  24. 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 */
@@ -8,10 +8,10 @@ exec_prefix=${prefix}
8
8
  libdir=${exec_prefix}/lib
9
9
  includedir=${prefix}/include
10
10
 
11
- Name: ddprof_ffi
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.7.0
13
+ Version: 0.9.0
14
14
  Requires:
15
- Libs: -L${libdir} -lddprof_ffi -Wl,-rpath,${libdir}
15
+ Libs: -L${libdir} -ldatadog_profiling -Wl,-rpath,${libdir}
16
16
  Libs.private:
17
17
  Cflags: -I${includedir}