libdatadog 21.0.0.1.0-x86_64-linux → 22.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 +1 -1
- data/vendor/libdatadog-22.0.0/x86_64-linux/libdatadog-x86_64-unknown-linux-gnu/LICENSE +202 -0
- data/vendor/libdatadog-22.0.0/x86_64-linux/libdatadog-x86_64-unknown-linux-gnu/LICENSE-3rdparty.yml +46454 -0
- data/vendor/libdatadog-22.0.0/x86_64-linux/libdatadog-x86_64-unknown-linux-gnu/NOTICE +4 -0
- data/vendor/{libdatadog-21.0.0 → libdatadog-22.0.0}/x86_64-linux/libdatadog-x86_64-unknown-linux-gnu/include/datadog/common.h +20 -0
- data/vendor/libdatadog-22.0.0/x86_64-linux/libdatadog-x86_64-unknown-linux-gnu/include/datadog/library-config.h +113 -0
- data/vendor/{libdatadog-21.0.0 → libdatadog-22.0.0}/x86_64-linux/libdatadog-x86_64-unknown-linux-gnu/lib/libdatadog_profiling.so +0 -0
- data/vendor/{libdatadog-21.0.0 → libdatadog-22.0.0}/x86_64-linux/libdatadog-x86_64-unknown-linux-gnu/lib/pkgconfig/datadog_profiling_with_rpath.pc +1 -1
- data/vendor/libdatadog-22.0.0/x86_64-linux-musl/libdatadog-x86_64-alpine-linux-musl/LICENSE +202 -0
- data/vendor/libdatadog-22.0.0/x86_64-linux-musl/libdatadog-x86_64-alpine-linux-musl/LICENSE-3rdparty.yml +46454 -0
- data/vendor/libdatadog-22.0.0/x86_64-linux-musl/libdatadog-x86_64-alpine-linux-musl/NOTICE +4 -0
- data/vendor/{libdatadog-21.0.0 → libdatadog-22.0.0}/x86_64-linux-musl/libdatadog-x86_64-alpine-linux-musl/include/datadog/common.h +20 -0
- data/vendor/libdatadog-22.0.0/x86_64-linux-musl/libdatadog-x86_64-alpine-linux-musl/include/datadog/library-config.h +113 -0
- data/vendor/{libdatadog-21.0.0 → libdatadog-22.0.0}/x86_64-linux-musl/libdatadog-x86_64-alpine-linux-musl/lib/libdatadog_profiling.so +0 -0
- data/vendor/{libdatadog-21.0.0 → libdatadog-22.0.0}/x86_64-linux-musl/libdatadog-x86_64-alpine-linux-musl/lib/pkgconfig/datadog_profiling_with_rpath.pc +1 -1
- metadata +31 -29
- data/vendor/libdatadog-21.0.0/x86_64-linux/libdatadog-x86_64-unknown-linux-gnu/include/datadog/library-config.h +0 -73
- data/vendor/libdatadog-21.0.0/x86_64-linux/libdatadog-x86_64-unknown-linux-gnu/lib/libdatadog_profiling.debug +0 -0
- data/vendor/libdatadog-21.0.0/x86_64-linux/libdatadog-x86_64-unknown-linux-gnu/libdatadog_v21.0.0.tar +0 -0
- data/vendor/libdatadog-21.0.0/x86_64-linux-musl/libdatadog-x86_64-alpine-linux-musl/include/datadog/library-config.h +0 -73
- data/vendor/libdatadog-21.0.0/x86_64-linux-musl/libdatadog-x86_64-alpine-linux-musl/lib/libdatadog_profiling.debug +0 -0
- data/vendor/libdatadog-21.0.0/x86_64-linux-musl/libdatadog-x86_64-alpine-linux-musl/libdatadog_v21.0.0.tar +0 -0
- /data/vendor/{libdatadog-21.0.0 → libdatadog-22.0.0}/x86_64-linux/libdatadog-x86_64-unknown-linux-gnu/bin/libdatadog-crashtracking-receiver +0 -0
- /data/vendor/{libdatadog-21.0.0 → libdatadog-22.0.0}/x86_64-linux/libdatadog-x86_64-unknown-linux-gnu/include/datadog/blazesym.h +0 -0
- /data/vendor/{libdatadog-21.0.0 → libdatadog-22.0.0}/x86_64-linux/libdatadog-x86_64-unknown-linux-gnu/include/datadog/crashtracker.h +0 -0
- /data/vendor/{libdatadog-21.0.0 → libdatadog-22.0.0}/x86_64-linux/libdatadog-x86_64-unknown-linux-gnu/include/datadog/data-pipeline.h +0 -0
- /data/vendor/{libdatadog-21.0.0 → libdatadog-22.0.0}/x86_64-linux/libdatadog-x86_64-unknown-linux-gnu/include/datadog/ddsketch.h +0 -0
- /data/vendor/{libdatadog-21.0.0 → libdatadog-22.0.0}/x86_64-linux/libdatadog-x86_64-unknown-linux-gnu/include/datadog/log.h +0 -0
- /data/vendor/{libdatadog-21.0.0 → libdatadog-22.0.0}/x86_64-linux/libdatadog-x86_64-unknown-linux-gnu/include/datadog/profiling.h +0 -0
- /data/vendor/{libdatadog-21.0.0 → libdatadog-22.0.0}/x86_64-linux/libdatadog-x86_64-unknown-linux-gnu/include/datadog/telemetry.h +0 -0
- /data/vendor/{libdatadog-21.0.0 → libdatadog-22.0.0}/x86_64-linux-musl/libdatadog-x86_64-alpine-linux-musl/bin/libdatadog-crashtracking-receiver +0 -0
- /data/vendor/{libdatadog-21.0.0 → libdatadog-22.0.0}/x86_64-linux-musl/libdatadog-x86_64-alpine-linux-musl/include/datadog/blazesym.h +0 -0
- /data/vendor/{libdatadog-21.0.0 → libdatadog-22.0.0}/x86_64-linux-musl/libdatadog-x86_64-alpine-linux-musl/include/datadog/crashtracker.h +0 -0
- /data/vendor/{libdatadog-21.0.0 → libdatadog-22.0.0}/x86_64-linux-musl/libdatadog-x86_64-alpine-linux-musl/include/datadog/data-pipeline.h +0 -0
- /data/vendor/{libdatadog-21.0.0 → libdatadog-22.0.0}/x86_64-linux-musl/libdatadog-x86_64-alpine-linux-musl/include/datadog/ddsketch.h +0 -0
- /data/vendor/{libdatadog-21.0.0 → libdatadog-22.0.0}/x86_64-linux-musl/libdatadog-x86_64-alpine-linux-musl/include/datadog/log.h +0 -0
- /data/vendor/{libdatadog-21.0.0 → libdatadog-22.0.0}/x86_64-linux-musl/libdatadog-x86_64-alpine-linux-musl/include/datadog/profiling.h +0 -0
- /data/vendor/{libdatadog-21.0.0 → libdatadog-22.0.0}/x86_64-linux-musl/libdatadog-x86_64-alpine-linux-musl/include/datadog/telemetry.h +0 -0
@@ -1310,8 +1310,28 @@ typedef enum ddog_LibraryConfigSource {
|
|
1310
1310
|
DDOG_LIBRARY_CONFIG_SOURCE_FLEET_STABLE_CONFIG = 1,
|
1311
1311
|
} ddog_LibraryConfigSource;
|
1312
1312
|
|
1313
|
+
/**
|
1314
|
+
* Represents the types of metadata that can be set on a `TracerMetadata` object.
|
1315
|
+
*/
|
1316
|
+
typedef enum ddog_MetadataKind {
|
1317
|
+
DDOG_METADATA_KIND_RUNTIME_ID = 0,
|
1318
|
+
DDOG_METADATA_KIND_TRACER_LANGUAGE = 1,
|
1319
|
+
DDOG_METADATA_KIND_TRACER_VERSION = 2,
|
1320
|
+
DDOG_METADATA_KIND_HOSTNAME = 3,
|
1321
|
+
DDOG_METADATA_KIND_SERVICE_NAME = 4,
|
1322
|
+
DDOG_METADATA_KIND_SERVICE_ENV = 5,
|
1323
|
+
DDOG_METADATA_KIND_SERVICE_VERSION = 6,
|
1324
|
+
DDOG_METADATA_KIND_PROCESS_TAGS = 7,
|
1325
|
+
DDOG_METADATA_KIND_CONTAINER_ID = 8,
|
1326
|
+
} ddog_MetadataKind;
|
1327
|
+
|
1313
1328
|
typedef struct ddog_Configurator ddog_Configurator;
|
1314
1329
|
|
1330
|
+
/**
|
1331
|
+
* This struct MUST be backward compatible.
|
1332
|
+
*/
|
1333
|
+
typedef struct ddog_TracerMetadata ddog_TracerMetadata;
|
1334
|
+
|
1315
1335
|
/**
|
1316
1336
|
* Ffi safe type representing a borrowed null-terminated C array
|
1317
1337
|
* Equivalent to a std::ffi::CStr
|
@@ -0,0 +1,113 @@
|
|
1
|
+
// Copyright 2021-Present Datadog, Inc. https://www.datadoghq.com/
|
2
|
+
// SPDX-License-Identifier: Apache-2.0
|
3
|
+
|
4
|
+
|
5
|
+
#ifndef DDOG_LIBRARY_CONFIG_H
|
6
|
+
#define DDOG_LIBRARY_CONFIG_H
|
7
|
+
|
8
|
+
#pragma once
|
9
|
+
|
10
|
+
#include "common.h"
|
11
|
+
|
12
|
+
#ifdef __cplusplus
|
13
|
+
extern "C" {
|
14
|
+
#endif // __cplusplus
|
15
|
+
|
16
|
+
struct ddog_Configurator *ddog_library_configurator_new(bool debug_logs, ddog_CharSlice language);
|
17
|
+
|
18
|
+
void ddog_library_configurator_with_local_path(struct ddog_Configurator *c,
|
19
|
+
struct ddog_CStr local_path);
|
20
|
+
|
21
|
+
void ddog_library_configurator_with_fleet_path(struct ddog_Configurator *c,
|
22
|
+
struct ddog_CStr local_path);
|
23
|
+
|
24
|
+
void ddog_library_configurator_with_process_info(struct ddog_Configurator *c,
|
25
|
+
struct ddog_ProcessInfo p);
|
26
|
+
|
27
|
+
void ddog_library_configurator_with_detect_process_info(struct ddog_Configurator *c);
|
28
|
+
|
29
|
+
void ddog_library_configurator_drop(struct ddog_Configurator*);
|
30
|
+
|
31
|
+
struct ddog_LibraryConfigLoggedResult ddog_library_configurator_get(const struct ddog_Configurator *configurator);
|
32
|
+
|
33
|
+
/**
|
34
|
+
* Returns a static null-terminated string, containing the name of the environment variable
|
35
|
+
* associated with the library configuration
|
36
|
+
*/
|
37
|
+
struct ddog_CStr ddog_library_config_source_to_string(enum ddog_LibraryConfigSource name);
|
38
|
+
|
39
|
+
/**
|
40
|
+
* Returns a static null-terminated string with the path to the managed stable config yaml config
|
41
|
+
* file
|
42
|
+
*/
|
43
|
+
struct ddog_CStr ddog_library_config_fleet_stable_config_path(void);
|
44
|
+
|
45
|
+
/**
|
46
|
+
* Returns a static null-terminated string with the path to the local stable config yaml config
|
47
|
+
* file
|
48
|
+
*/
|
49
|
+
struct ddog_CStr ddog_library_config_local_stable_config_path(void);
|
50
|
+
|
51
|
+
void ddog_library_config_drop(struct ddog_LibraryConfigLoggedResult config_result);
|
52
|
+
|
53
|
+
/**
|
54
|
+
* Allocates and returns a pointer to a new `TracerMetadata` object on the heap.
|
55
|
+
*
|
56
|
+
* # Safety
|
57
|
+
* This function returns a raw pointer. The caller is responsible for calling
|
58
|
+
* `ddog_tracer_metadata_free` to deallocate the memory.
|
59
|
+
*
|
60
|
+
* # Returns
|
61
|
+
* A non-null pointer to a newly allocated `TracerMetadata` instance.
|
62
|
+
*/
|
63
|
+
struct ddog_TracerMetadata *ddog_tracer_metadata_new(void);
|
64
|
+
|
65
|
+
/**
|
66
|
+
* Frees a `TracerMetadata` instance previously allocated with `ddog_tracer_metadata_new`.
|
67
|
+
*
|
68
|
+
* # Safety
|
69
|
+
* - `ptr` must be a pointer previously returned by `ddog_tracer_metadata_new`.
|
70
|
+
* - Double-freeing or passing an invalid pointer results in undefined behavior.
|
71
|
+
* - Passing a null pointer is safe and does nothing.
|
72
|
+
*/
|
73
|
+
void ddog_tracer_metadata_free(struct ddog_TracerMetadata *ptr);
|
74
|
+
|
75
|
+
/**
|
76
|
+
* Sets a field of the `TracerMetadata` object pointed to by `ptr`.
|
77
|
+
*
|
78
|
+
* # Arguments
|
79
|
+
* - `ptr`: Pointer to a `TracerMetadata` instance.
|
80
|
+
* - `kind`: The metadata field to set (as defined in `MetadataKind`).
|
81
|
+
* - `value`: A null-terminated C string representing the value to set.
|
82
|
+
*
|
83
|
+
* # Safety
|
84
|
+
* - Both `ptr` and `value` must be non-null.
|
85
|
+
* - `value` must point to a valid UTF-8 null-terminated string.
|
86
|
+
* - If the string is not valid UTF-8, the function does nothing.
|
87
|
+
*/
|
88
|
+
void ddog_tracer_metadata_set(struct ddog_TracerMetadata *ptr,
|
89
|
+
enum ddog_MetadataKind kind,
|
90
|
+
const char *value);
|
91
|
+
|
92
|
+
/**
|
93
|
+
* Serializes the `TracerMetadata` into a platform-specific memory handle (e.g., memfd on Linux).
|
94
|
+
*
|
95
|
+
* # Safety
|
96
|
+
* - `ptr` must be a valid, non-null pointer to a `TracerMetadata`.
|
97
|
+
*
|
98
|
+
* # Returns
|
99
|
+
* - On Linux: a `TracerMemfdHandle` containing a raw file descriptor to a memory file.
|
100
|
+
* - On unsupported platforms: an error.
|
101
|
+
* - On failure: propagates any internal errors from the metadata storage process.
|
102
|
+
*
|
103
|
+
* # Platform Support
|
104
|
+
* This function currently only supports Linux via `memfd`. On other platforms,
|
105
|
+
* it will return an error.
|
106
|
+
*/
|
107
|
+
struct ddog_Result_TracerMemfdHandle ddog_tracer_metadata_store(struct ddog_TracerMetadata *ptr);
|
108
|
+
|
109
|
+
#ifdef __cplusplus
|
110
|
+
} // extern "C"
|
111
|
+
#endif // __cplusplus
|
112
|
+
|
113
|
+
#endif /* DDOG_LIBRARY_CONFIG_H */
|
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: 22.0.0
|
12
12
|
Requires:
|
13
13
|
Libs: -L${libdir} -ldatadog_profiling -Wl,-rpath,${libdir}
|
14
14
|
Libs.private:
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: libdatadog
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 22.0.0.1.0
|
5
5
|
platform: x86_64-linux
|
6
6
|
authors:
|
7
7
|
- Datadog, Inc.
|
@@ -18,34 +18,36 @@ extra_rdoc_files: []
|
|
18
18
|
files:
|
19
19
|
- lib/libdatadog.rb
|
20
20
|
- lib/libdatadog/version.rb
|
21
|
-
- vendor/libdatadog-
|
22
|
-
- vendor/libdatadog-
|
23
|
-
- vendor/libdatadog-
|
24
|
-
- vendor/libdatadog-
|
25
|
-
- vendor/libdatadog-
|
26
|
-
- vendor/libdatadog-
|
27
|
-
- vendor/libdatadog-
|
28
|
-
- vendor/libdatadog-
|
29
|
-
- vendor/libdatadog-
|
30
|
-
- vendor/libdatadog-
|
31
|
-
- vendor/libdatadog-
|
32
|
-
- vendor/libdatadog-
|
33
|
-
- vendor/libdatadog-
|
34
|
-
- vendor/libdatadog-
|
35
|
-
- vendor/libdatadog-
|
36
|
-
- vendor/libdatadog-
|
37
|
-
- vendor/libdatadog-
|
38
|
-
- vendor/libdatadog-
|
39
|
-
- vendor/libdatadog-
|
40
|
-
- vendor/libdatadog-
|
41
|
-
- vendor/libdatadog-
|
42
|
-
- vendor/libdatadog-
|
43
|
-
- vendor/libdatadog-
|
44
|
-
- vendor/libdatadog-
|
45
|
-
- vendor/libdatadog-
|
46
|
-
- vendor/libdatadog-
|
47
|
-
- vendor/libdatadog-
|
48
|
-
- vendor/libdatadog-
|
21
|
+
- vendor/libdatadog-22.0.0/x86_64-linux-musl/libdatadog-x86_64-alpine-linux-musl/LICENSE
|
22
|
+
- vendor/libdatadog-22.0.0/x86_64-linux-musl/libdatadog-x86_64-alpine-linux-musl/LICENSE-3rdparty.yml
|
23
|
+
- vendor/libdatadog-22.0.0/x86_64-linux-musl/libdatadog-x86_64-alpine-linux-musl/NOTICE
|
24
|
+
- vendor/libdatadog-22.0.0/x86_64-linux-musl/libdatadog-x86_64-alpine-linux-musl/bin/libdatadog-crashtracking-receiver
|
25
|
+
- vendor/libdatadog-22.0.0/x86_64-linux-musl/libdatadog-x86_64-alpine-linux-musl/include/datadog/blazesym.h
|
26
|
+
- vendor/libdatadog-22.0.0/x86_64-linux-musl/libdatadog-x86_64-alpine-linux-musl/include/datadog/common.h
|
27
|
+
- vendor/libdatadog-22.0.0/x86_64-linux-musl/libdatadog-x86_64-alpine-linux-musl/include/datadog/crashtracker.h
|
28
|
+
- vendor/libdatadog-22.0.0/x86_64-linux-musl/libdatadog-x86_64-alpine-linux-musl/include/datadog/data-pipeline.h
|
29
|
+
- vendor/libdatadog-22.0.0/x86_64-linux-musl/libdatadog-x86_64-alpine-linux-musl/include/datadog/ddsketch.h
|
30
|
+
- vendor/libdatadog-22.0.0/x86_64-linux-musl/libdatadog-x86_64-alpine-linux-musl/include/datadog/library-config.h
|
31
|
+
- vendor/libdatadog-22.0.0/x86_64-linux-musl/libdatadog-x86_64-alpine-linux-musl/include/datadog/log.h
|
32
|
+
- vendor/libdatadog-22.0.0/x86_64-linux-musl/libdatadog-x86_64-alpine-linux-musl/include/datadog/profiling.h
|
33
|
+
- vendor/libdatadog-22.0.0/x86_64-linux-musl/libdatadog-x86_64-alpine-linux-musl/include/datadog/telemetry.h
|
34
|
+
- vendor/libdatadog-22.0.0/x86_64-linux-musl/libdatadog-x86_64-alpine-linux-musl/lib/libdatadog_profiling.so
|
35
|
+
- vendor/libdatadog-22.0.0/x86_64-linux-musl/libdatadog-x86_64-alpine-linux-musl/lib/pkgconfig/datadog_profiling_with_rpath.pc
|
36
|
+
- vendor/libdatadog-22.0.0/x86_64-linux/libdatadog-x86_64-unknown-linux-gnu/LICENSE
|
37
|
+
- vendor/libdatadog-22.0.0/x86_64-linux/libdatadog-x86_64-unknown-linux-gnu/LICENSE-3rdparty.yml
|
38
|
+
- vendor/libdatadog-22.0.0/x86_64-linux/libdatadog-x86_64-unknown-linux-gnu/NOTICE
|
39
|
+
- vendor/libdatadog-22.0.0/x86_64-linux/libdatadog-x86_64-unknown-linux-gnu/bin/libdatadog-crashtracking-receiver
|
40
|
+
- vendor/libdatadog-22.0.0/x86_64-linux/libdatadog-x86_64-unknown-linux-gnu/include/datadog/blazesym.h
|
41
|
+
- vendor/libdatadog-22.0.0/x86_64-linux/libdatadog-x86_64-unknown-linux-gnu/include/datadog/common.h
|
42
|
+
- vendor/libdatadog-22.0.0/x86_64-linux/libdatadog-x86_64-unknown-linux-gnu/include/datadog/crashtracker.h
|
43
|
+
- vendor/libdatadog-22.0.0/x86_64-linux/libdatadog-x86_64-unknown-linux-gnu/include/datadog/data-pipeline.h
|
44
|
+
- vendor/libdatadog-22.0.0/x86_64-linux/libdatadog-x86_64-unknown-linux-gnu/include/datadog/ddsketch.h
|
45
|
+
- vendor/libdatadog-22.0.0/x86_64-linux/libdatadog-x86_64-unknown-linux-gnu/include/datadog/library-config.h
|
46
|
+
- vendor/libdatadog-22.0.0/x86_64-linux/libdatadog-x86_64-unknown-linux-gnu/include/datadog/log.h
|
47
|
+
- vendor/libdatadog-22.0.0/x86_64-linux/libdatadog-x86_64-unknown-linux-gnu/include/datadog/profiling.h
|
48
|
+
- vendor/libdatadog-22.0.0/x86_64-linux/libdatadog-x86_64-unknown-linux-gnu/include/datadog/telemetry.h
|
49
|
+
- vendor/libdatadog-22.0.0/x86_64-linux/libdatadog-x86_64-unknown-linux-gnu/lib/libdatadog_profiling.so
|
50
|
+
- vendor/libdatadog-22.0.0/x86_64-linux/libdatadog-x86_64-unknown-linux-gnu/lib/pkgconfig/datadog_profiling_with_rpath.pc
|
49
51
|
homepage: https://docs.datadoghq.com/tracing/
|
50
52
|
licenses:
|
51
53
|
- Apache-2.0
|
@@ -1,73 +0,0 @@
|
|
1
|
-
// Copyright 2021-Present Datadog, Inc. https://www.datadoghq.com/
|
2
|
-
// SPDX-License-Identifier: Apache-2.0
|
3
|
-
|
4
|
-
|
5
|
-
#ifndef DDOG_LIBRARY_CONFIG_H
|
6
|
-
#define DDOG_LIBRARY_CONFIG_H
|
7
|
-
|
8
|
-
#pragma once
|
9
|
-
|
10
|
-
#include "common.h"
|
11
|
-
|
12
|
-
#ifdef __cplusplus
|
13
|
-
extern "C" {
|
14
|
-
#endif // __cplusplus
|
15
|
-
|
16
|
-
struct ddog_Configurator *ddog_library_configurator_new(bool debug_logs, ddog_CharSlice language);
|
17
|
-
|
18
|
-
void ddog_library_configurator_with_local_path(struct ddog_Configurator *c,
|
19
|
-
struct ddog_CStr local_path);
|
20
|
-
|
21
|
-
void ddog_library_configurator_with_fleet_path(struct ddog_Configurator *c,
|
22
|
-
struct ddog_CStr local_path);
|
23
|
-
|
24
|
-
void ddog_library_configurator_with_process_info(struct ddog_Configurator *c,
|
25
|
-
struct ddog_ProcessInfo p);
|
26
|
-
|
27
|
-
void ddog_library_configurator_with_detect_process_info(struct ddog_Configurator *c);
|
28
|
-
|
29
|
-
void ddog_library_configurator_drop(struct ddog_Configurator*);
|
30
|
-
|
31
|
-
struct ddog_LibraryConfigLoggedResult ddog_library_configurator_get(const struct ddog_Configurator *configurator);
|
32
|
-
|
33
|
-
/**
|
34
|
-
* Returns a static null-terminated string, containing the name of the environment variable
|
35
|
-
* associated with the library configuration
|
36
|
-
*/
|
37
|
-
struct ddog_CStr ddog_library_config_source_to_string(enum ddog_LibraryConfigSource name);
|
38
|
-
|
39
|
-
/**
|
40
|
-
* Returns a static null-terminated string with the path to the managed stable config yaml config
|
41
|
-
* file
|
42
|
-
*/
|
43
|
-
struct ddog_CStr ddog_library_config_fleet_stable_config_path(void);
|
44
|
-
|
45
|
-
/**
|
46
|
-
* Returns a static null-terminated string with the path to the local stable config yaml config
|
47
|
-
* file
|
48
|
-
*/
|
49
|
-
struct ddog_CStr ddog_library_config_local_stable_config_path(void);
|
50
|
-
|
51
|
-
void ddog_library_config_drop(struct ddog_LibraryConfigLoggedResult config_result);
|
52
|
-
|
53
|
-
/**
|
54
|
-
* Store tracer metadata to a file handle
|
55
|
-
*
|
56
|
-
* # Safety
|
57
|
-
*
|
58
|
-
* Accepts raw C-compatible strings
|
59
|
-
*/
|
60
|
-
struct ddog_Result_TracerMemfdHandle ddog_store_tracer_metadata(uint8_t schema_version,
|
61
|
-
ddog_CharSlice runtime_id,
|
62
|
-
ddog_CharSlice tracer_language,
|
63
|
-
ddog_CharSlice tracer_version,
|
64
|
-
ddog_CharSlice hostname,
|
65
|
-
ddog_CharSlice service_name,
|
66
|
-
ddog_CharSlice service_env,
|
67
|
-
ddog_CharSlice service_version);
|
68
|
-
|
69
|
-
#ifdef __cplusplus
|
70
|
-
} // extern "C"
|
71
|
-
#endif // __cplusplus
|
72
|
-
|
73
|
-
#endif /* DDOG_LIBRARY_CONFIG_H */
|
Binary file
|
Binary file
|
@@ -1,73 +0,0 @@
|
|
1
|
-
// Copyright 2021-Present Datadog, Inc. https://www.datadoghq.com/
|
2
|
-
// SPDX-License-Identifier: Apache-2.0
|
3
|
-
|
4
|
-
|
5
|
-
#ifndef DDOG_LIBRARY_CONFIG_H
|
6
|
-
#define DDOG_LIBRARY_CONFIG_H
|
7
|
-
|
8
|
-
#pragma once
|
9
|
-
|
10
|
-
#include "common.h"
|
11
|
-
|
12
|
-
#ifdef __cplusplus
|
13
|
-
extern "C" {
|
14
|
-
#endif // __cplusplus
|
15
|
-
|
16
|
-
struct ddog_Configurator *ddog_library_configurator_new(bool debug_logs, ddog_CharSlice language);
|
17
|
-
|
18
|
-
void ddog_library_configurator_with_local_path(struct ddog_Configurator *c,
|
19
|
-
struct ddog_CStr local_path);
|
20
|
-
|
21
|
-
void ddog_library_configurator_with_fleet_path(struct ddog_Configurator *c,
|
22
|
-
struct ddog_CStr local_path);
|
23
|
-
|
24
|
-
void ddog_library_configurator_with_process_info(struct ddog_Configurator *c,
|
25
|
-
struct ddog_ProcessInfo p);
|
26
|
-
|
27
|
-
void ddog_library_configurator_with_detect_process_info(struct ddog_Configurator *c);
|
28
|
-
|
29
|
-
void ddog_library_configurator_drop(struct ddog_Configurator*);
|
30
|
-
|
31
|
-
struct ddog_LibraryConfigLoggedResult ddog_library_configurator_get(const struct ddog_Configurator *configurator);
|
32
|
-
|
33
|
-
/**
|
34
|
-
* Returns a static null-terminated string, containing the name of the environment variable
|
35
|
-
* associated with the library configuration
|
36
|
-
*/
|
37
|
-
struct ddog_CStr ddog_library_config_source_to_string(enum ddog_LibraryConfigSource name);
|
38
|
-
|
39
|
-
/**
|
40
|
-
* Returns a static null-terminated string with the path to the managed stable config yaml config
|
41
|
-
* file
|
42
|
-
*/
|
43
|
-
struct ddog_CStr ddog_library_config_fleet_stable_config_path(void);
|
44
|
-
|
45
|
-
/**
|
46
|
-
* Returns a static null-terminated string with the path to the local stable config yaml config
|
47
|
-
* file
|
48
|
-
*/
|
49
|
-
struct ddog_CStr ddog_library_config_local_stable_config_path(void);
|
50
|
-
|
51
|
-
void ddog_library_config_drop(struct ddog_LibraryConfigLoggedResult config_result);
|
52
|
-
|
53
|
-
/**
|
54
|
-
* Store tracer metadata to a file handle
|
55
|
-
*
|
56
|
-
* # Safety
|
57
|
-
*
|
58
|
-
* Accepts raw C-compatible strings
|
59
|
-
*/
|
60
|
-
struct ddog_Result_TracerMemfdHandle ddog_store_tracer_metadata(uint8_t schema_version,
|
61
|
-
ddog_CharSlice runtime_id,
|
62
|
-
ddog_CharSlice tracer_language,
|
63
|
-
ddog_CharSlice tracer_version,
|
64
|
-
ddog_CharSlice hostname,
|
65
|
-
ddog_CharSlice service_name,
|
66
|
-
ddog_CharSlice service_env,
|
67
|
-
ddog_CharSlice service_version);
|
68
|
-
|
69
|
-
#ifdef __cplusplus
|
70
|
-
} // extern "C"
|
71
|
-
#endif // __cplusplus
|
72
|
-
|
73
|
-
#endif /* DDOG_LIBRARY_CONFIG_H */
|
Binary file
|
Binary file
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|