libdatadog 18.1.0.1.0 → 21.0.0.1.0
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-18.1.0 → libdatadog-21.0.0}/aarch64-linux/libdatadog-aarch64-unknown-linux-gnu/bin/libdatadog-crashtracking-receiver +0 -0
- data/vendor/{libdatadog-18.1.0 → libdatadog-21.0.0}/aarch64-linux/libdatadog-aarch64-unknown-linux-gnu/include/datadog/blazesym.h +435 -229
- data/vendor/{libdatadog-18.1.0/aarch64-linux-musl/libdatadog-aarch64-alpine-linux-musl → libdatadog-21.0.0/aarch64-linux/libdatadog-aarch64-unknown-linux-gnu}/include/datadog/common.h +366 -223
- data/vendor/{libdatadog-18.1.0/x86_64-linux-musl/libdatadog-x86_64-alpine-linux-musl → libdatadog-21.0.0/aarch64-linux/libdatadog-aarch64-unknown-linux-gnu}/include/datadog/crashtracker.h +10 -34
- data/vendor/{libdatadog-18.1.0/aarch64-linux-musl/libdatadog-aarch64-alpine-linux-musl → libdatadog-21.0.0/aarch64-linux/libdatadog-aarch64-unknown-linux-gnu}/include/datadog/data-pipeline.h +16 -3
- data/vendor/libdatadog-21.0.0/aarch64-linux/libdatadog-aarch64-unknown-linux-gnu/include/datadog/ddsketch.h +89 -0
- data/vendor/{libdatadog-18.1.0 → libdatadog-21.0.0}/aarch64-linux/libdatadog-aarch64-unknown-linux-gnu/include/datadog/library-config.h +2 -2
- data/vendor/libdatadog-21.0.0/aarch64-linux/libdatadog-aarch64-unknown-linux-gnu/include/datadog/log.h +63 -0
- data/vendor/{libdatadog-18.1.0 → libdatadog-21.0.0}/aarch64-linux/libdatadog-aarch64-unknown-linux-gnu/include/datadog/profiling.h +3 -2
- data/vendor/libdatadog-21.0.0/aarch64-linux/libdatadog-aarch64-unknown-linux-gnu/lib/libdatadog_profiling.debug +0 -0
- data/vendor/{libdatadog-18.1.0 → libdatadog-21.0.0}/aarch64-linux/libdatadog-aarch64-unknown-linux-gnu/lib/libdatadog_profiling.so +0 -0
- data/vendor/{libdatadog-18.1.0 → libdatadog-21.0.0}/aarch64-linux/libdatadog-aarch64-unknown-linux-gnu/lib/pkgconfig/datadog_profiling_with_rpath.pc +1 -1
- data/vendor/libdatadog-21.0.0/aarch64-linux/libdatadog-aarch64-unknown-linux-gnu/libdatadog_v21.0.0.tar +0 -0
- data/vendor/{libdatadog-18.1.0 → libdatadog-21.0.0}/aarch64-linux-musl/libdatadog-aarch64-alpine-linux-musl/bin/libdatadog-crashtracking-receiver +0 -0
- data/vendor/{libdatadog-18.1.0 → libdatadog-21.0.0}/aarch64-linux-musl/libdatadog-aarch64-alpine-linux-musl/include/datadog/blazesym.h +435 -229
- data/vendor/{libdatadog-18.1.0/aarch64-linux/libdatadog-aarch64-unknown-linux-gnu → libdatadog-21.0.0/aarch64-linux-musl/libdatadog-aarch64-alpine-linux-musl}/include/datadog/common.h +366 -223
- data/vendor/{libdatadog-18.1.0/aarch64-linux/libdatadog-aarch64-unknown-linux-gnu → libdatadog-21.0.0/aarch64-linux-musl/libdatadog-aarch64-alpine-linux-musl}/include/datadog/crashtracker.h +10 -34
- data/vendor/{libdatadog-18.1.0/aarch64-linux/libdatadog-aarch64-unknown-linux-gnu → libdatadog-21.0.0/aarch64-linux-musl/libdatadog-aarch64-alpine-linux-musl}/include/datadog/data-pipeline.h +16 -3
- data/vendor/libdatadog-21.0.0/aarch64-linux-musl/libdatadog-aarch64-alpine-linux-musl/include/datadog/ddsketch.h +89 -0
- data/vendor/{libdatadog-18.1.0 → libdatadog-21.0.0}/aarch64-linux-musl/libdatadog-aarch64-alpine-linux-musl/include/datadog/library-config.h +2 -2
- data/vendor/libdatadog-21.0.0/aarch64-linux-musl/libdatadog-aarch64-alpine-linux-musl/include/datadog/log.h +63 -0
- data/vendor/{libdatadog-18.1.0/x86_64-linux-musl/libdatadog-x86_64-alpine-linux-musl → libdatadog-21.0.0/aarch64-linux-musl/libdatadog-aarch64-alpine-linux-musl}/include/datadog/profiling.h +3 -2
- data/vendor/libdatadog-21.0.0/aarch64-linux-musl/libdatadog-aarch64-alpine-linux-musl/lib/libdatadog_profiling.debug +0 -0
- data/vendor/{libdatadog-18.1.0 → libdatadog-21.0.0}/aarch64-linux-musl/libdatadog-aarch64-alpine-linux-musl/lib/libdatadog_profiling.so +0 -0
- data/vendor/{libdatadog-18.1.0 → libdatadog-21.0.0}/aarch64-linux-musl/libdatadog-aarch64-alpine-linux-musl/lib/pkgconfig/datadog_profiling_with_rpath.pc +1 -1
- data/vendor/libdatadog-21.0.0/aarch64-linux-musl/libdatadog-aarch64-alpine-linux-musl/libdatadog_v21.0.0.tar +0 -0
- data/vendor/{libdatadog-18.1.0 → libdatadog-21.0.0}/x86_64-linux/libdatadog-x86_64-unknown-linux-gnu/bin/libdatadog-crashtracking-receiver +0 -0
- data/vendor/{libdatadog-18.1.0 → libdatadog-21.0.0}/x86_64-linux/libdatadog-x86_64-unknown-linux-gnu/include/datadog/blazesym.h +435 -229
- data/vendor/{libdatadog-18.1.0 → libdatadog-21.0.0}/x86_64-linux/libdatadog-x86_64-unknown-linux-gnu/include/datadog/common.h +366 -223
- data/vendor/{libdatadog-18.1.0 → libdatadog-21.0.0}/x86_64-linux/libdatadog-x86_64-unknown-linux-gnu/include/datadog/crashtracker.h +10 -34
- data/vendor/{libdatadog-18.1.0 → libdatadog-21.0.0}/x86_64-linux/libdatadog-x86_64-unknown-linux-gnu/include/datadog/data-pipeline.h +16 -3
- data/vendor/libdatadog-21.0.0/x86_64-linux/libdatadog-x86_64-unknown-linux-gnu/include/datadog/ddsketch.h +89 -0
- data/vendor/{libdatadog-18.1.0 → libdatadog-21.0.0}/x86_64-linux/libdatadog-x86_64-unknown-linux-gnu/include/datadog/library-config.h +2 -2
- data/vendor/libdatadog-21.0.0/x86_64-linux/libdatadog-x86_64-unknown-linux-gnu/include/datadog/log.h +63 -0
- data/vendor/{libdatadog-18.1.0/aarch64-linux-musl/libdatadog-aarch64-alpine-linux-musl → libdatadog-21.0.0/x86_64-linux/libdatadog-x86_64-unknown-linux-gnu}/include/datadog/profiling.h +3 -2
- data/vendor/libdatadog-21.0.0/x86_64-linux/libdatadog-x86_64-unknown-linux-gnu/lib/libdatadog_profiling.debug +0 -0
- data/vendor/{libdatadog-18.1.0 → libdatadog-21.0.0}/x86_64-linux/libdatadog-x86_64-unknown-linux-gnu/lib/libdatadog_profiling.so +0 -0
- data/vendor/{libdatadog-18.1.0 → libdatadog-21.0.0}/x86_64-linux/libdatadog-x86_64-unknown-linux-gnu/lib/pkgconfig/datadog_profiling_with_rpath.pc +1 -1
- 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/bin/libdatadog-crashtracking-receiver +0 -0
- data/vendor/{libdatadog-18.1.0 → libdatadog-21.0.0}/x86_64-linux-musl/libdatadog-x86_64-alpine-linux-musl/include/datadog/blazesym.h +435 -229
- data/vendor/{libdatadog-18.1.0 → libdatadog-21.0.0}/x86_64-linux-musl/libdatadog-x86_64-alpine-linux-musl/include/datadog/common.h +366 -223
- data/vendor/{libdatadog-18.1.0/aarch64-linux-musl/libdatadog-aarch64-alpine-linux-musl → libdatadog-21.0.0/x86_64-linux-musl/libdatadog-x86_64-alpine-linux-musl}/include/datadog/crashtracker.h +10 -34
- data/vendor/{libdatadog-18.1.0 → libdatadog-21.0.0}/x86_64-linux-musl/libdatadog-x86_64-alpine-linux-musl/include/datadog/data-pipeline.h +16 -3
- data/vendor/libdatadog-21.0.0/x86_64-linux-musl/libdatadog-x86_64-alpine-linux-musl/include/datadog/ddsketch.h +89 -0
- data/vendor/{libdatadog-18.1.0 → libdatadog-21.0.0}/x86_64-linux-musl/libdatadog-x86_64-alpine-linux-musl/include/datadog/library-config.h +2 -2
- data/vendor/libdatadog-21.0.0/x86_64-linux-musl/libdatadog-x86_64-alpine-linux-musl/include/datadog/log.h +63 -0
- data/vendor/{libdatadog-18.1.0/x86_64-linux/libdatadog-x86_64-unknown-linux-gnu → libdatadog-21.0.0/x86_64-linux-musl/libdatadog-x86_64-alpine-linux-musl}/include/datadog/profiling.h +3 -2
- 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-18.1.0 → libdatadog-21.0.0}/x86_64-linux-musl/libdatadog-x86_64-alpine-linux-musl/lib/libdatadog_profiling.so +0 -0
- data/vendor/{libdatadog-18.1.0 → libdatadog-21.0.0}/x86_64-linux-musl/libdatadog-x86_64-alpine-linux-musl/lib/pkgconfig/datadog_profiling_with_rpath.pc +1 -1
- data/vendor/libdatadog-21.0.0/x86_64-linux-musl/libdatadog-x86_64-alpine-linux-musl/libdatadog_v21.0.0.tar +0 -0
- metadata +57 -53
- data/vendor/libdatadog-18.1.0/aarch64-linux/libdatadog-aarch64-unknown-linux-gnu/LICENSE +0 -202
- data/vendor/libdatadog-18.1.0/aarch64-linux/libdatadog-aarch64-unknown-linux-gnu/LICENSE-3rdparty.yml +0 -47687
- data/vendor/libdatadog-18.1.0/aarch64-linux/libdatadog-aarch64-unknown-linux-gnu/NOTICE +0 -4
- data/vendor/libdatadog-18.1.0/aarch64-linux-musl/libdatadog-aarch64-alpine-linux-musl/LICENSE +0 -202
- data/vendor/libdatadog-18.1.0/aarch64-linux-musl/libdatadog-aarch64-alpine-linux-musl/LICENSE-3rdparty.yml +0 -47687
- data/vendor/libdatadog-18.1.0/aarch64-linux-musl/libdatadog-aarch64-alpine-linux-musl/NOTICE +0 -4
- data/vendor/libdatadog-18.1.0/x86_64-linux/libdatadog-x86_64-unknown-linux-gnu/LICENSE +0 -202
- data/vendor/libdatadog-18.1.0/x86_64-linux/libdatadog-x86_64-unknown-linux-gnu/LICENSE-3rdparty.yml +0 -47687
- data/vendor/libdatadog-18.1.0/x86_64-linux/libdatadog-x86_64-unknown-linux-gnu/NOTICE +0 -4
- data/vendor/libdatadog-18.1.0/x86_64-linux-musl/libdatadog-x86_64-alpine-linux-musl/LICENSE +0 -202
- data/vendor/libdatadog-18.1.0/x86_64-linux-musl/libdatadog-x86_64-alpine-linux-musl/LICENSE-3rdparty.yml +0 -47687
- data/vendor/libdatadog-18.1.0/x86_64-linux-musl/libdatadog-x86_64-alpine-linux-musl/NOTICE +0 -4
- data/vendor/libdatadog-18.1.0/x86_64-linux-musl/libdatadog-x86_64-alpine-linux-musl/bin/libdatadog-crashtracking-receiver +0 -0
- /data/vendor/{libdatadog-18.1.0 → libdatadog-21.0.0}/aarch64-linux/libdatadog-aarch64-unknown-linux-gnu/include/datadog/telemetry.h +0 -0
- /data/vendor/{libdatadog-18.1.0 → libdatadog-21.0.0}/aarch64-linux-musl/libdatadog-aarch64-alpine-linux-musl/include/datadog/telemetry.h +0 -0
- /data/vendor/{libdatadog-18.1.0 → libdatadog-21.0.0}/x86_64-linux/libdatadog-x86_64-unknown-linux-gnu/include/datadog/telemetry.h +0 -0
- /data/vendor/{libdatadog-18.1.0 → libdatadog-21.0.0}/x86_64-linux-musl/libdatadog-x86_64-alpine-linux-musl/include/datadog/telemetry.h +0 -0
@@ -19,40 +19,6 @@
|
|
19
19
|
|
20
20
|
|
21
21
|
|
22
|
-
typedef enum ddog_crasht_CrashInfoBuilder_NewResult_Tag {
|
23
|
-
DDOG_CRASHT_CRASH_INFO_BUILDER_NEW_RESULT_OK,
|
24
|
-
DDOG_CRASHT_CRASH_INFO_BUILDER_NEW_RESULT_ERR,
|
25
|
-
} ddog_crasht_CrashInfoBuilder_NewResult_Tag;
|
26
|
-
|
27
|
-
typedef struct ddog_crasht_CrashInfoBuilder_NewResult {
|
28
|
-
ddog_crasht_CrashInfoBuilder_NewResult_Tag tag;
|
29
|
-
union {
|
30
|
-
struct {
|
31
|
-
struct ddog_crasht_Handle_CrashInfoBuilder ok;
|
32
|
-
};
|
33
|
-
struct {
|
34
|
-
struct ddog_Error err;
|
35
|
-
};
|
36
|
-
};
|
37
|
-
} ddog_crasht_CrashInfoBuilder_NewResult;
|
38
|
-
|
39
|
-
typedef enum ddog_crasht_StackTrace_NewResult_Tag {
|
40
|
-
DDOG_CRASHT_STACK_TRACE_NEW_RESULT_OK,
|
41
|
-
DDOG_CRASHT_STACK_TRACE_NEW_RESULT_ERR,
|
42
|
-
} ddog_crasht_StackTrace_NewResult_Tag;
|
43
|
-
|
44
|
-
typedef struct ddog_crasht_StackTrace_NewResult {
|
45
|
-
ddog_crasht_StackTrace_NewResult_Tag tag;
|
46
|
-
union {
|
47
|
-
struct {
|
48
|
-
struct ddog_crasht_Handle_StackTrace ok;
|
49
|
-
};
|
50
|
-
struct {
|
51
|
-
struct ddog_Error err;
|
52
|
-
};
|
53
|
-
};
|
54
|
-
} ddog_crasht_StackTrace_NewResult;
|
55
|
-
|
56
22
|
#ifdef __cplusplus
|
57
23
|
extern "C" {
|
58
24
|
#endif // __cplusplus
|
@@ -679,6 +645,16 @@ struct ddog_VoidResult ddog_crasht_CrashInfoBuilder_with_uuid(struct ddog_crasht
|
|
679
645
|
DDOG_CHECK_RETURN
|
680
646
|
struct ddog_VoidResult ddog_crasht_CrashInfoBuilder_with_uuid_random(struct ddog_crasht_Handle_CrashInfoBuilder *builder);
|
681
647
|
|
648
|
+
/**
|
649
|
+
* # Safety
|
650
|
+
* The `crash_info` can be null, but if non-null it must point to a Builder made by this module,
|
651
|
+
* which has not previously been dropped.
|
652
|
+
* The CharSlice must be valid.
|
653
|
+
*/
|
654
|
+
DDOG_CHECK_RETURN
|
655
|
+
struct ddog_VoidResult ddog_crasht_CrashInfoBuilder_with_message(struct ddog_crasht_Handle_CrashInfoBuilder *builder,
|
656
|
+
ddog_CharSlice message);
|
657
|
+
|
682
658
|
/**
|
683
659
|
* Create a new StackFrame, and returns an opaque reference to it.
|
684
660
|
* # Safety
|
@@ -25,7 +25,8 @@ void ddog_trace_exporter_error_free(struct ddog_TraceExporterError *error);
|
|
25
25
|
* Return a read-only pointer to the response body. This pointer is only valid as long as
|
26
26
|
* `response` is valid.
|
27
27
|
*/
|
28
|
-
const
|
28
|
+
const uint8_t *ddog_trace_exporter_response_get_body(const struct ddog_TraceExporterResponse *response,
|
29
|
+
uintptr_t *out_len);
|
29
30
|
|
30
31
|
/**
|
31
32
|
* Free `response` and all its contents. After being called response will not point to a valid
|
@@ -77,7 +78,7 @@ struct ddog_TraceExporterError *ddog_trace_exporter_config_set_hostname(struct d
|
|
77
78
|
ddog_CharSlice hostname);
|
78
79
|
|
79
80
|
/**
|
80
|
-
* Sets
|
81
|
+
* Sets environment information to be included in the headers request.
|
81
82
|
*/
|
82
83
|
struct ddog_TraceExporterError *ddog_trace_exporter_config_set_env(struct ddog_TraceExporterConfig *config,
|
83
84
|
ddog_CharSlice env);
|
@@ -92,7 +93,13 @@ struct ddog_TraceExporterError *ddog_trace_exporter_config_set_service(struct dd
|
|
92
93
|
ddog_CharSlice service);
|
93
94
|
|
94
95
|
/**
|
95
|
-
* Enables metrics.
|
96
|
+
* Enables health metrics emission.
|
97
|
+
*/
|
98
|
+
struct ddog_TraceExporterError *ddog_trace_exporter_config_enable_health_metrics(struct ddog_TraceExporterConfig *config,
|
99
|
+
bool is_enabled);
|
100
|
+
|
101
|
+
/**
|
102
|
+
* Enables telemetry metrics.
|
96
103
|
*/
|
97
104
|
struct ddog_TraceExporterError *ddog_trace_exporter_config_enable_telemetry(struct ddog_TraceExporterConfig *config,
|
98
105
|
const struct ddog_TelemetryClientConfig *telemetry_cfg);
|
@@ -126,6 +133,12 @@ struct ddog_TraceExporterError *ddog_trace_exporter_config_set_client_computed_s
|
|
126
133
|
struct ddog_TraceExporterError *ddog_trace_exporter_config_set_test_session_token(struct ddog_TraceExporterConfig *config,
|
127
134
|
ddog_CharSlice token);
|
128
135
|
|
136
|
+
/**
|
137
|
+
* Sets the timeout in ms for all agent's connections.
|
138
|
+
*/
|
139
|
+
struct ddog_TraceExporterError *ddog_trace_exporter_config_set_connection_timeout(struct ddog_TraceExporterConfig *config,
|
140
|
+
uint64_t timeout_ms);
|
141
|
+
|
129
142
|
/**
|
130
143
|
* Create a new TraceExporter instance.
|
131
144
|
*
|
@@ -0,0 +1,89 @@
|
|
1
|
+
// Copyright 2025-Present Datadog, Inc. https://www.datadoghq.com/
|
2
|
+
// SPDX-License-Identifier: Apache-2.0
|
3
|
+
|
4
|
+
|
5
|
+
#ifndef DDOG_DDSKETCH_H
|
6
|
+
#define DDOG_DDSKETCH_H
|
7
|
+
|
8
|
+
#pragma once
|
9
|
+
|
10
|
+
#include <stdbool.h>
|
11
|
+
#include <stddef.h>
|
12
|
+
#include <stdint.h>
|
13
|
+
#include "common.h"
|
14
|
+
|
15
|
+
#ifdef __cplusplus
|
16
|
+
extern "C" {
|
17
|
+
#endif // __cplusplus
|
18
|
+
|
19
|
+
/**
|
20
|
+
* Creates a new DDSketch instance with default configuration.
|
21
|
+
*/
|
22
|
+
struct ddsketch_Handle_DDSketch ddog_ddsketch_new(void);
|
23
|
+
|
24
|
+
/**
|
25
|
+
* Drops a DDSketch instance.
|
26
|
+
*
|
27
|
+
* # Safety
|
28
|
+
*
|
29
|
+
* The sketch handle must have been created by this library and not already dropped.
|
30
|
+
*/
|
31
|
+
void ddog_ddsketch_drop(struct ddsketch_Handle_DDSketch *sketch);
|
32
|
+
|
33
|
+
/**
|
34
|
+
* Adds a point to the DDSketch.
|
35
|
+
*
|
36
|
+
* # Safety
|
37
|
+
*
|
38
|
+
* The `sketch` parameter must be a valid pointer to a DDSketch handle.
|
39
|
+
*/
|
40
|
+
struct ddog_VoidResult ddog_ddsketch_add(struct ddsketch_Handle_DDSketch *sketch, double point);
|
41
|
+
|
42
|
+
/**
|
43
|
+
* Adds a point with a specific count to the DDSketch.
|
44
|
+
*
|
45
|
+
* # Safety
|
46
|
+
*
|
47
|
+
* The `sketch` parameter must be a valid pointer to a DDSketch handle.
|
48
|
+
*/
|
49
|
+
struct ddog_VoidResult ddog_ddsketch_add_with_count(struct ddsketch_Handle_DDSketch *sketch,
|
50
|
+
double point,
|
51
|
+
double count);
|
52
|
+
|
53
|
+
/**
|
54
|
+
* Returns the count of points in the DDSketch via the output parameter.
|
55
|
+
*
|
56
|
+
* # Safety
|
57
|
+
*
|
58
|
+
* The `sketch` parameter must be a valid pointer to a DDSketch handle.
|
59
|
+
* The `count_out` parameter must be a valid pointer to uninitialized f64 memory.
|
60
|
+
*/
|
61
|
+
struct ddog_VoidResult ddog_ddsketch_count(struct ddsketch_Handle_DDSketch *sketch,
|
62
|
+
double *count_out);
|
63
|
+
|
64
|
+
/**
|
65
|
+
* Returns the protobuf-encoded bytes of the DDSketch.
|
66
|
+
* The sketch handle is consumed by this operation.
|
67
|
+
*
|
68
|
+
* # Safety
|
69
|
+
*
|
70
|
+
* The `sketch` parameter must be a valid pointer to a DDSketch handle.
|
71
|
+
* The returned vector must be freed with `ddog_Vec_U8_drop`.
|
72
|
+
*/
|
73
|
+
struct ddog_Vec_U8 ddog_ddsketch_encode(struct ddsketch_Handle_DDSketch *sketch);
|
74
|
+
|
75
|
+
/**
|
76
|
+
* Frees the memory allocated for a Vec<u8> returned by ddsketch functions.
|
77
|
+
*
|
78
|
+
* # Safety
|
79
|
+
*
|
80
|
+
* The vec parameter must be a valid Vec<u8> returned by this library.
|
81
|
+
* After being called, the vec will not point to valid memory.
|
82
|
+
*/
|
83
|
+
void ddog_Vec_U8_drop(struct ddog_Vec_U8 _vec);
|
84
|
+
|
85
|
+
#ifdef __cplusplus
|
86
|
+
} // extern "C"
|
87
|
+
#endif // __cplusplus
|
88
|
+
|
89
|
+
#endif /* DDOG_DDSKETCH_H */
|
@@ -28,7 +28,7 @@ void ddog_library_configurator_with_detect_process_info(struct ddog_Configurator
|
|
28
28
|
|
29
29
|
void ddog_library_configurator_drop(struct ddog_Configurator*);
|
30
30
|
|
31
|
-
struct
|
31
|
+
struct ddog_LibraryConfigLoggedResult ddog_library_configurator_get(const struct ddog_Configurator *configurator);
|
32
32
|
|
33
33
|
/**
|
34
34
|
* Returns a static null-terminated string, containing the name of the environment variable
|
@@ -48,7 +48,7 @@ struct ddog_CStr ddog_library_config_fleet_stable_config_path(void);
|
|
48
48
|
*/
|
49
49
|
struct ddog_CStr ddog_library_config_local_stable_config_path(void);
|
50
50
|
|
51
|
-
void ddog_library_config_drop(struct
|
51
|
+
void ddog_library_config_drop(struct ddog_LibraryConfigLoggedResult config_result);
|
52
52
|
|
53
53
|
/**
|
54
54
|
* Store tracer metadata to a file handle
|
@@ -0,0 +1,63 @@
|
|
1
|
+
// Copyright 2025-Present Datadog, Inc. https://www.datadoghq.com/
|
2
|
+
// SPDX-License-Identifier: Apache-2.0
|
3
|
+
|
4
|
+
|
5
|
+
#ifndef DDOG_LOG_H
|
6
|
+
#define DDOG_LOG_H
|
7
|
+
|
8
|
+
#include <stdbool.h>
|
9
|
+
#include <stddef.h>
|
10
|
+
#include <stdint.h>
|
11
|
+
#include <stdio.h>
|
12
|
+
#include "common.h"
|
13
|
+
|
14
|
+
/**
|
15
|
+
* Configures the logger to write to stdout or stderr with the specified configuration.
|
16
|
+
*
|
17
|
+
* # Arguments
|
18
|
+
* * `config` - Configuration for standard stream logging including target
|
19
|
+
*
|
20
|
+
* # Errors
|
21
|
+
* Returns an error if the logger cannot be configured.
|
22
|
+
*/
|
23
|
+
struct ddog_Error *ddog_logger_configure_std(struct ddog_StdConfig config);
|
24
|
+
|
25
|
+
/**
|
26
|
+
* Disables logging by configuring a no-op logger.
|
27
|
+
*
|
28
|
+
* # Errors
|
29
|
+
* Returns an error if the logger cannot be configured.
|
30
|
+
*/
|
31
|
+
struct ddog_Error *ddog_logger_disable_std(void);
|
32
|
+
|
33
|
+
/**
|
34
|
+
* Configures the logger to write to a file with the specified configuration.
|
35
|
+
*
|
36
|
+
* # Arguments
|
37
|
+
* * `config` - Configuration for file logging including path
|
38
|
+
*
|
39
|
+
* # Errors
|
40
|
+
* Returns an error if the logger cannot be configured.
|
41
|
+
*/
|
42
|
+
struct ddog_Error *ddog_logger_configure_file(struct ddog_FileConfig config);
|
43
|
+
|
44
|
+
/**
|
45
|
+
* Disables file logging by configuring a no-op file writer.
|
46
|
+
*
|
47
|
+
* # Errors
|
48
|
+
* Returns an error if the logger cannot be configured.
|
49
|
+
*/
|
50
|
+
struct ddog_Error *ddog_logger_disable_file(void);
|
51
|
+
|
52
|
+
/**
|
53
|
+
* Sets the global log level.
|
54
|
+
*
|
55
|
+
* # Arguments
|
56
|
+
* * `log_level` - The minimum level for events to be logged
|
57
|
+
*
|
58
|
+
* # Errors
|
59
|
+
* Returns an error if the log level cannot be set.
|
60
|
+
*/
|
61
|
+
struct ddog_Error *ddog_logger_set_log_level(enum ddog_LogEventLevel log_level);
|
62
|
+
|
63
|
+
#endif /* DDOG_LOG_H */
|
@@ -18,7 +18,7 @@ struct TokioCancellationToken;
|
|
18
18
|
extern "C" {
|
19
19
|
#endif // __cplusplus
|
20
20
|
|
21
|
-
extern const ddog_prof_StringId
|
21
|
+
extern const ddog_prof_StringId ddog_INTERNED_EMPTY_STRING;
|
22
22
|
|
23
23
|
DDOG_CHECK_RETURN struct ddog_prof_Exporter_Slice_File ddog_prof_Exporter_Slice_File_empty(void);
|
24
24
|
|
@@ -369,7 +369,8 @@ struct ddog_prof_Result_ByteSlice ddog_prof_EncodedProfile_bytes(struct ddog_pro
|
|
369
369
|
*
|
370
370
|
* # Arguments
|
371
371
|
* * `profile` - a reference to the profile being serialized.
|
372
|
-
* * `start_time` - start time for the serialized profile.
|
372
|
+
* * `start_time` - optional start time for the serialized profile. If None/null is passed, the
|
373
|
+
* time of profile creation will be used.
|
373
374
|
* * `end_time` - optional end time of the profile. If None/null is passed, the current time will
|
374
375
|
* be used.
|
375
376
|
*
|
Binary file
|
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: 21.0.0
|
12
12
|
Requires:
|
13
13
|
Libs: -L${libdir} -ldatadog_profiling -Wl,-rpath,${libdir}
|
14
14
|
Libs.private:
|
Binary file
|
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: 21.0.0.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Datadog, Inc.
|
@@ -18,58 +18,62 @@ 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-
|
49
|
-
- vendor/libdatadog-
|
50
|
-
- vendor/libdatadog-
|
51
|
-
- vendor/libdatadog-
|
52
|
-
- vendor/libdatadog-
|
53
|
-
- vendor/libdatadog-
|
54
|
-
- vendor/libdatadog-
|
55
|
-
- vendor/libdatadog-
|
56
|
-
- vendor/libdatadog-
|
57
|
-
- vendor/libdatadog-
|
58
|
-
- vendor/libdatadog-
|
59
|
-
- vendor/libdatadog-
|
60
|
-
- vendor/libdatadog-
|
61
|
-
- vendor/libdatadog-
|
62
|
-
- vendor/libdatadog-
|
63
|
-
- vendor/libdatadog-
|
64
|
-
- vendor/libdatadog-
|
65
|
-
- vendor/libdatadog-
|
66
|
-
- vendor/libdatadog-
|
67
|
-
- vendor/libdatadog-
|
68
|
-
- vendor/libdatadog-
|
69
|
-
- vendor/libdatadog-
|
70
|
-
- vendor/libdatadog-
|
71
|
-
- vendor/libdatadog-
|
72
|
-
- vendor/libdatadog-
|
21
|
+
- vendor/libdatadog-21.0.0/aarch64-linux-musl/libdatadog-aarch64-alpine-linux-musl/bin/libdatadog-crashtracking-receiver
|
22
|
+
- vendor/libdatadog-21.0.0/aarch64-linux-musl/libdatadog-aarch64-alpine-linux-musl/include/datadog/blazesym.h
|
23
|
+
- vendor/libdatadog-21.0.0/aarch64-linux-musl/libdatadog-aarch64-alpine-linux-musl/include/datadog/common.h
|
24
|
+
- vendor/libdatadog-21.0.0/aarch64-linux-musl/libdatadog-aarch64-alpine-linux-musl/include/datadog/crashtracker.h
|
25
|
+
- vendor/libdatadog-21.0.0/aarch64-linux-musl/libdatadog-aarch64-alpine-linux-musl/include/datadog/data-pipeline.h
|
26
|
+
- vendor/libdatadog-21.0.0/aarch64-linux-musl/libdatadog-aarch64-alpine-linux-musl/include/datadog/ddsketch.h
|
27
|
+
- vendor/libdatadog-21.0.0/aarch64-linux-musl/libdatadog-aarch64-alpine-linux-musl/include/datadog/library-config.h
|
28
|
+
- vendor/libdatadog-21.0.0/aarch64-linux-musl/libdatadog-aarch64-alpine-linux-musl/include/datadog/log.h
|
29
|
+
- vendor/libdatadog-21.0.0/aarch64-linux-musl/libdatadog-aarch64-alpine-linux-musl/include/datadog/profiling.h
|
30
|
+
- vendor/libdatadog-21.0.0/aarch64-linux-musl/libdatadog-aarch64-alpine-linux-musl/include/datadog/telemetry.h
|
31
|
+
- vendor/libdatadog-21.0.0/aarch64-linux-musl/libdatadog-aarch64-alpine-linux-musl/lib/libdatadog_profiling.debug
|
32
|
+
- vendor/libdatadog-21.0.0/aarch64-linux-musl/libdatadog-aarch64-alpine-linux-musl/lib/libdatadog_profiling.so
|
33
|
+
- vendor/libdatadog-21.0.0/aarch64-linux-musl/libdatadog-aarch64-alpine-linux-musl/lib/pkgconfig/datadog_profiling_with_rpath.pc
|
34
|
+
- vendor/libdatadog-21.0.0/aarch64-linux-musl/libdatadog-aarch64-alpine-linux-musl/libdatadog_v21.0.0.tar
|
35
|
+
- vendor/libdatadog-21.0.0/aarch64-linux/libdatadog-aarch64-unknown-linux-gnu/bin/libdatadog-crashtracking-receiver
|
36
|
+
- vendor/libdatadog-21.0.0/aarch64-linux/libdatadog-aarch64-unknown-linux-gnu/include/datadog/blazesym.h
|
37
|
+
- vendor/libdatadog-21.0.0/aarch64-linux/libdatadog-aarch64-unknown-linux-gnu/include/datadog/common.h
|
38
|
+
- vendor/libdatadog-21.0.0/aarch64-linux/libdatadog-aarch64-unknown-linux-gnu/include/datadog/crashtracker.h
|
39
|
+
- vendor/libdatadog-21.0.0/aarch64-linux/libdatadog-aarch64-unknown-linux-gnu/include/datadog/data-pipeline.h
|
40
|
+
- vendor/libdatadog-21.0.0/aarch64-linux/libdatadog-aarch64-unknown-linux-gnu/include/datadog/ddsketch.h
|
41
|
+
- vendor/libdatadog-21.0.0/aarch64-linux/libdatadog-aarch64-unknown-linux-gnu/include/datadog/library-config.h
|
42
|
+
- vendor/libdatadog-21.0.0/aarch64-linux/libdatadog-aarch64-unknown-linux-gnu/include/datadog/log.h
|
43
|
+
- vendor/libdatadog-21.0.0/aarch64-linux/libdatadog-aarch64-unknown-linux-gnu/include/datadog/profiling.h
|
44
|
+
- vendor/libdatadog-21.0.0/aarch64-linux/libdatadog-aarch64-unknown-linux-gnu/include/datadog/telemetry.h
|
45
|
+
- vendor/libdatadog-21.0.0/aarch64-linux/libdatadog-aarch64-unknown-linux-gnu/lib/libdatadog_profiling.debug
|
46
|
+
- vendor/libdatadog-21.0.0/aarch64-linux/libdatadog-aarch64-unknown-linux-gnu/lib/libdatadog_profiling.so
|
47
|
+
- vendor/libdatadog-21.0.0/aarch64-linux/libdatadog-aarch64-unknown-linux-gnu/lib/pkgconfig/datadog_profiling_with_rpath.pc
|
48
|
+
- vendor/libdatadog-21.0.0/aarch64-linux/libdatadog-aarch64-unknown-linux-gnu/libdatadog_v21.0.0.tar
|
49
|
+
- vendor/libdatadog-21.0.0/x86_64-linux-musl/libdatadog-x86_64-alpine-linux-musl/bin/libdatadog-crashtracking-receiver
|
50
|
+
- vendor/libdatadog-21.0.0/x86_64-linux-musl/libdatadog-x86_64-alpine-linux-musl/include/datadog/blazesym.h
|
51
|
+
- vendor/libdatadog-21.0.0/x86_64-linux-musl/libdatadog-x86_64-alpine-linux-musl/include/datadog/common.h
|
52
|
+
- vendor/libdatadog-21.0.0/x86_64-linux-musl/libdatadog-x86_64-alpine-linux-musl/include/datadog/crashtracker.h
|
53
|
+
- vendor/libdatadog-21.0.0/x86_64-linux-musl/libdatadog-x86_64-alpine-linux-musl/include/datadog/data-pipeline.h
|
54
|
+
- vendor/libdatadog-21.0.0/x86_64-linux-musl/libdatadog-x86_64-alpine-linux-musl/include/datadog/ddsketch.h
|
55
|
+
- vendor/libdatadog-21.0.0/x86_64-linux-musl/libdatadog-x86_64-alpine-linux-musl/include/datadog/library-config.h
|
56
|
+
- vendor/libdatadog-21.0.0/x86_64-linux-musl/libdatadog-x86_64-alpine-linux-musl/include/datadog/log.h
|
57
|
+
- vendor/libdatadog-21.0.0/x86_64-linux-musl/libdatadog-x86_64-alpine-linux-musl/include/datadog/profiling.h
|
58
|
+
- vendor/libdatadog-21.0.0/x86_64-linux-musl/libdatadog-x86_64-alpine-linux-musl/include/datadog/telemetry.h
|
59
|
+
- vendor/libdatadog-21.0.0/x86_64-linux-musl/libdatadog-x86_64-alpine-linux-musl/lib/libdatadog_profiling.debug
|
60
|
+
- vendor/libdatadog-21.0.0/x86_64-linux-musl/libdatadog-x86_64-alpine-linux-musl/lib/libdatadog_profiling.so
|
61
|
+
- vendor/libdatadog-21.0.0/x86_64-linux-musl/libdatadog-x86_64-alpine-linux-musl/lib/pkgconfig/datadog_profiling_with_rpath.pc
|
62
|
+
- vendor/libdatadog-21.0.0/x86_64-linux-musl/libdatadog-x86_64-alpine-linux-musl/libdatadog_v21.0.0.tar
|
63
|
+
- vendor/libdatadog-21.0.0/x86_64-linux/libdatadog-x86_64-unknown-linux-gnu/bin/libdatadog-crashtracking-receiver
|
64
|
+
- vendor/libdatadog-21.0.0/x86_64-linux/libdatadog-x86_64-unknown-linux-gnu/include/datadog/blazesym.h
|
65
|
+
- vendor/libdatadog-21.0.0/x86_64-linux/libdatadog-x86_64-unknown-linux-gnu/include/datadog/common.h
|
66
|
+
- vendor/libdatadog-21.0.0/x86_64-linux/libdatadog-x86_64-unknown-linux-gnu/include/datadog/crashtracker.h
|
67
|
+
- vendor/libdatadog-21.0.0/x86_64-linux/libdatadog-x86_64-unknown-linux-gnu/include/datadog/data-pipeline.h
|
68
|
+
- vendor/libdatadog-21.0.0/x86_64-linux/libdatadog-x86_64-unknown-linux-gnu/include/datadog/ddsketch.h
|
69
|
+
- vendor/libdatadog-21.0.0/x86_64-linux/libdatadog-x86_64-unknown-linux-gnu/include/datadog/library-config.h
|
70
|
+
- vendor/libdatadog-21.0.0/x86_64-linux/libdatadog-x86_64-unknown-linux-gnu/include/datadog/log.h
|
71
|
+
- vendor/libdatadog-21.0.0/x86_64-linux/libdatadog-x86_64-unknown-linux-gnu/include/datadog/profiling.h
|
72
|
+
- vendor/libdatadog-21.0.0/x86_64-linux/libdatadog-x86_64-unknown-linux-gnu/include/datadog/telemetry.h
|
73
|
+
- vendor/libdatadog-21.0.0/x86_64-linux/libdatadog-x86_64-unknown-linux-gnu/lib/libdatadog_profiling.debug
|
74
|
+
- vendor/libdatadog-21.0.0/x86_64-linux/libdatadog-x86_64-unknown-linux-gnu/lib/libdatadog_profiling.so
|
75
|
+
- vendor/libdatadog-21.0.0/x86_64-linux/libdatadog-x86_64-unknown-linux-gnu/lib/pkgconfig/datadog_profiling_with_rpath.pc
|
76
|
+
- vendor/libdatadog-21.0.0/x86_64-linux/libdatadog-x86_64-unknown-linux-gnu/libdatadog_v21.0.0.tar
|
73
77
|
homepage: https://docs.datadoghq.com/tracing/
|
74
78
|
licenses:
|
75
79
|
- Apache-2.0
|
@@ -1,202 +0,0 @@
|
|
1
|
-
|
2
|
-
Apache License
|
3
|
-
Version 2.0, January 2004
|
4
|
-
http://www.apache.org/licenses/
|
5
|
-
|
6
|
-
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
7
|
-
|
8
|
-
1. Definitions.
|
9
|
-
|
10
|
-
"License" shall mean the terms and conditions for use, reproduction,
|
11
|
-
and distribution as defined by Sections 1 through 9 of this document.
|
12
|
-
|
13
|
-
"Licensor" shall mean the copyright owner or entity authorized by
|
14
|
-
the copyright owner that is granting the License.
|
15
|
-
|
16
|
-
"Legal Entity" shall mean the union of the acting entity and all
|
17
|
-
other entities that control, are controlled by, or are under common
|
18
|
-
control with that entity. For the purposes of this definition,
|
19
|
-
"control" means (i) the power, direct or indirect, to cause the
|
20
|
-
direction or management of such entity, whether by contract or
|
21
|
-
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
22
|
-
outstanding shares, or (iii) beneficial ownership of such entity.
|
23
|
-
|
24
|
-
"You" (or "Your") shall mean an individual or Legal Entity
|
25
|
-
exercising permissions granted by this License.
|
26
|
-
|
27
|
-
"Source" form shall mean the preferred form for making modifications,
|
28
|
-
including but not limited to software source code, documentation
|
29
|
-
source, and configuration files.
|
30
|
-
|
31
|
-
"Object" form shall mean any form resulting from mechanical
|
32
|
-
transformation or translation of a Source form, including but
|
33
|
-
not limited to compiled object code, generated documentation,
|
34
|
-
and conversions to other media types.
|
35
|
-
|
36
|
-
"Work" shall mean the work of authorship, whether in Source or
|
37
|
-
Object form, made available under the License, as indicated by a
|
38
|
-
copyright notice that is included in or attached to the work
|
39
|
-
(an example is provided in the Appendix below).
|
40
|
-
|
41
|
-
"Derivative Works" shall mean any work, whether in Source or Object
|
42
|
-
form, that is based on (or derived from) the Work and for which the
|
43
|
-
editorial revisions, annotations, elaborations, or other modifications
|
44
|
-
represent, as a whole, an original work of authorship. For the purposes
|
45
|
-
of this License, Derivative Works shall not include works that remain
|
46
|
-
separable from, or merely link (or bind by name) to the interfaces of,
|
47
|
-
the Work and Derivative Works thereof.
|
48
|
-
|
49
|
-
"Contribution" shall mean any work of authorship, including
|
50
|
-
the original version of the Work and any modifications or additions
|
51
|
-
to that Work or Derivative Works thereof, that is intentionally
|
52
|
-
submitted to Licensor for inclusion in the Work by the copyright owner
|
53
|
-
or by an individual or Legal Entity authorized to submit on behalf of
|
54
|
-
the copyright owner. For the purposes of this definition, "submitted"
|
55
|
-
means any form of electronic, verbal, or written communication sent
|
56
|
-
to the Licensor or its representatives, including but not limited to
|
57
|
-
communication on electronic mailing lists, source code control systems,
|
58
|
-
and issue tracking systems that are managed by, or on behalf of, the
|
59
|
-
Licensor for the purpose of discussing and improving the Work, but
|
60
|
-
excluding communication that is conspicuously marked or otherwise
|
61
|
-
designated in writing by the copyright owner as "Not a Contribution."
|
62
|
-
|
63
|
-
"Contributor" shall mean Licensor and any individual or Legal Entity
|
64
|
-
on behalf of whom a Contribution has been received by Licensor and
|
65
|
-
subsequently incorporated within the Work.
|
66
|
-
|
67
|
-
2. Grant of Copyright License. Subject to the terms and conditions of
|
68
|
-
this License, each Contributor hereby grants to You a perpetual,
|
69
|
-
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
70
|
-
copyright license to reproduce, prepare Derivative Works of,
|
71
|
-
publicly display, publicly perform, sublicense, and distribute the
|
72
|
-
Work and such Derivative Works in Source or Object form.
|
73
|
-
|
74
|
-
3. Grant of Patent License. Subject to the terms and conditions of
|
75
|
-
this License, each Contributor hereby grants to You a perpetual,
|
76
|
-
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
77
|
-
(except as stated in this section) patent license to make, have made,
|
78
|
-
use, offer to sell, sell, import, and otherwise transfer the Work,
|
79
|
-
where such license applies only to those patent claims licensable
|
80
|
-
by such Contributor that are necessarily infringed by their
|
81
|
-
Contribution(s) alone or by combination of their Contribution(s)
|
82
|
-
with the Work to which such Contribution(s) was submitted. If You
|
83
|
-
institute patent litigation against any entity (including a
|
84
|
-
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
85
|
-
or a Contribution incorporated within the Work constitutes direct
|
86
|
-
or contributory patent infringement, then any patent licenses
|
87
|
-
granted to You under this License for that Work shall terminate
|
88
|
-
as of the date such litigation is filed.
|
89
|
-
|
90
|
-
4. Redistribution. You may reproduce and distribute copies of the
|
91
|
-
Work or Derivative Works thereof in any medium, with or without
|
92
|
-
modifications, and in Source or Object form, provided that You
|
93
|
-
meet the following conditions:
|
94
|
-
|
95
|
-
(a) You must give any other recipients of the Work or
|
96
|
-
Derivative Works a copy of this License; and
|
97
|
-
|
98
|
-
(b) You must cause any modified files to carry prominent notices
|
99
|
-
stating that You changed the files; and
|
100
|
-
|
101
|
-
(c) You must retain, in the Source form of any Derivative Works
|
102
|
-
that You distribute, all copyright, patent, trademark, and
|
103
|
-
attribution notices from the Source form of the Work,
|
104
|
-
excluding those notices that do not pertain to any part of
|
105
|
-
the Derivative Works; and
|
106
|
-
|
107
|
-
(d) If the Work includes a "NOTICE" text file as part of its
|
108
|
-
distribution, then any Derivative Works that You distribute must
|
109
|
-
include a readable copy of the attribution notices contained
|
110
|
-
within such NOTICE file, excluding those notices that do not
|
111
|
-
pertain to any part of the Derivative Works, in at least one
|
112
|
-
of the following places: within a NOTICE text file distributed
|
113
|
-
as part of the Derivative Works; within the Source form or
|
114
|
-
documentation, if provided along with the Derivative Works; or,
|
115
|
-
within a display generated by the Derivative Works, if and
|
116
|
-
wherever such third-party notices normally appear. The contents
|
117
|
-
of the NOTICE file are for informational purposes only and
|
118
|
-
do not modify the License. You may add Your own attribution
|
119
|
-
notices within Derivative Works that You distribute, alongside
|
120
|
-
or as an addendum to the NOTICE text from the Work, provided
|
121
|
-
that such additional attribution notices cannot be construed
|
122
|
-
as modifying the License.
|
123
|
-
|
124
|
-
You may add Your own copyright statement to Your modifications and
|
125
|
-
may provide additional or different license terms and conditions
|
126
|
-
for use, reproduction, or distribution of Your modifications, or
|
127
|
-
for any such Derivative Works as a whole, provided Your use,
|
128
|
-
reproduction, and distribution of the Work otherwise complies with
|
129
|
-
the conditions stated in this License.
|
130
|
-
|
131
|
-
5. Submission of Contributions. Unless You explicitly state otherwise,
|
132
|
-
any Contribution intentionally submitted for inclusion in the Work
|
133
|
-
by You to the Licensor shall be under the terms and conditions of
|
134
|
-
this License, without any additional terms or conditions.
|
135
|
-
Notwithstanding the above, nothing herein shall supersede or modify
|
136
|
-
the terms of any separate license agreement you may have executed
|
137
|
-
with Licensor regarding such Contributions.
|
138
|
-
|
139
|
-
6. Trademarks. This License does not grant permission to use the trade
|
140
|
-
names, trademarks, service marks, or product names of the Licensor,
|
141
|
-
except as required for reasonable and customary use in describing the
|
142
|
-
origin of the Work and reproducing the content of the NOTICE file.
|
143
|
-
|
144
|
-
7. Disclaimer of Warranty. Unless required by applicable law or
|
145
|
-
agreed to in writing, Licensor provides the Work (and each
|
146
|
-
Contributor provides its Contributions) on an "AS IS" BASIS,
|
147
|
-
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
148
|
-
implied, including, without limitation, any warranties or conditions
|
149
|
-
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
150
|
-
PARTICULAR PURPOSE. You are solely responsible for determining the
|
151
|
-
appropriateness of using or redistributing the Work and assume any
|
152
|
-
risks associated with Your exercise of permissions under this License.
|
153
|
-
|
154
|
-
8. Limitation of Liability. In no event and under no legal theory,
|
155
|
-
whether in tort (including negligence), contract, or otherwise,
|
156
|
-
unless required by applicable law (such as deliberate and grossly
|
157
|
-
negligent acts) or agreed to in writing, shall any Contributor be
|
158
|
-
liable to You for damages, including any direct, indirect, special,
|
159
|
-
incidental, or consequential damages of any character arising as a
|
160
|
-
result of this License or out of the use or inability to use the
|
161
|
-
Work (including but not limited to damages for loss of goodwill,
|
162
|
-
work stoppage, computer failure or malfunction, or any and all
|
163
|
-
other commercial damages or losses), even if such Contributor
|
164
|
-
has been advised of the possibility of such damages.
|
165
|
-
|
166
|
-
9. Accepting Warranty or Additional Liability. While redistributing
|
167
|
-
the Work or Derivative Works thereof, You may choose to offer,
|
168
|
-
and charge a fee for, acceptance of support, warranty, indemnity,
|
169
|
-
or other liability obligations and/or rights consistent with this
|
170
|
-
License. However, in accepting such obligations, You may act only
|
171
|
-
on Your own behalf and on Your sole responsibility, not on behalf
|
172
|
-
of any other Contributor, and only if You agree to indemnify,
|
173
|
-
defend, and hold each Contributor harmless for any liability
|
174
|
-
incurred by, or claims asserted against, such Contributor by reason
|
175
|
-
of your accepting any such warranty or additional liability.
|
176
|
-
|
177
|
-
END OF TERMS AND CONDITIONS
|
178
|
-
|
179
|
-
APPENDIX: How to apply the Apache License to your work.
|
180
|
-
|
181
|
-
To apply the Apache License to your work, attach the following
|
182
|
-
boilerplate notice, with the fields enclosed by brackets "[]"
|
183
|
-
replaced with your own identifying information. (Don't include
|
184
|
-
the brackets!) The text should be enclosed in the appropriate
|
185
|
-
comment syntax for the file format. We also recommend that a
|
186
|
-
file or class name and description of purpose be included on the
|
187
|
-
same "printed page" as the copyright notice for easier
|
188
|
-
identification within third-party archives.
|
189
|
-
|
190
|
-
Copyright [yyyy] [name of copyright owner]
|
191
|
-
|
192
|
-
Licensed under the Apache License, Version 2.0 (the "License");
|
193
|
-
you may not use this file except in compliance with the License.
|
194
|
-
You may obtain a copy of the License at
|
195
|
-
|
196
|
-
http://www.apache.org/licenses/LICENSE-2.0
|
197
|
-
|
198
|
-
Unless required by applicable law or agreed to in writing, software
|
199
|
-
distributed under the License is distributed on an "AS IS" BASIS,
|
200
|
-
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
201
|
-
See the License for the specific language governing permissions and
|
202
|
-
limitations under the License.
|