Commit e4af3f5
Migrate Querying of Environment Variables to to
* Refactored EnvironmentVariables to be testable.
* adding supported-configurations.json file
* removing extra supported-configurations.json
* migrating config-utils tests and ConfigInversionMetric telemetry
* config inversion init
* migrating config-utils tests
* undo move of test files that rely on inject*config
* responding to PR comments
* updating class coverage exclude
* cleanup and code coverage
* init migration
* creating noop implementation of ConfigInversionMetricCollector
* adding Noop implementation to exclude code coverage
* adding to bootstrap classpath for testing
* bugfixes
* adding more configurations to supported-configurations and updating native test classes
* fix native build and update telemetry test with clear error message
* PR comments
* removing explicit dependency on environment component
* responding to PR comments
* updating native loading
* updating failing tests
* updating memory for native build
* adding documentation for failing tests
* increasing memory
* reverting gradle memory
* cleanup
---------
Co-authored-by: Alexey Kuznetsov <alexey.kuznetsov@datadoghq.com>ConfigHelper (#9620)1 parent 95b1a55 commit e4af3f5
File tree
30 files changed
+142
-61
lines changed- buildSrc/src/main/kotlin/datadog/gradle/plugin/config
- components/environment/src/main/java/datadog/environment
- dd-java-agent
- agent-bootstrap/src/main/java/datadog/trace/bootstrap
- agent-ci-visibility/civisibility-test-fixtures/src/main/groovy/datadog/trace/civisibility
- agent-logging/src/main/java/datadog/trace/logging/ddlogger
- instrumentation-testing/src/main/java/datadog/trace/agent/test
- instrumentation
- aws-java/aws-java-lambda-handler-1.2/src/main/java/datadog/trace/instrumentation/aws/v1/lambda
- graal/native-image/src/main/java/datadog/trace/instrumentation/graal/nativeimage
- maven/maven-3.2.1/src/main/java/datadog/trace/instrumentation/maven3
- src/main/java6/datadog/trace/bootstrap
- dd-smoke-tests/spring-boot-3.0-native/application
- gradle/forbiddenApiFilters
- internal-api/src
- main/java/datadog/trace
- api
- util
- test/groovy/datadog/trace/api/telemetry
- metadata
- telemetry/src/main/java/datadog/telemetry
- utils
- config-utils
- src
- main/java/datadog/trace
- api
- env
- telemetry
- bootstrap/config/provider
- config/inversion
- test/java/datadog/trace/config/inversion
- container-utils
- src/main/java/datadog/common/container
30 files changed
+142
-61
lines changedLines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
97 | 97 | | |
98 | 98 | | |
99 | 99 | | |
100 | | - | |
| 100 | + | |
101 | 101 | | |
102 | | - | |
| 102 | + | |
103 | 103 | | |
104 | 104 | | |
105 | 105 | | |
| |||
Lines changed: 6 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| 6 | + | |
6 | 7 | | |
7 | 8 | | |
8 | 9 | | |
| |||
17 | 18 | | |
18 | 19 | | |
19 | 20 | | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
20 | 25 | | |
21 | 26 | | |
22 | 27 | | |
23 | 28 | | |
| 29 | + | |
24 | 30 | | |
25 | 31 | | |
26 | 32 | | |
| |||
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
| 26 | + | |
26 | 27 | | |
27 | 28 | | |
28 | 29 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
83 | 83 | | |
84 | 84 | | |
85 | 85 | | |
86 | | - | |
| 86 | + | |
87 | 87 | | |
88 | 88 | | |
89 | 89 | | |
| |||
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
4 | 3 | | |
5 | 4 | | |
| 5 | + | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| |||
108 | 108 | | |
109 | 109 | | |
110 | 110 | | |
111 | | - | |
| 111 | + | |
112 | 112 | | |
113 | 113 | | |
114 | 114 | | |
| |||
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
70 | 70 | | |
71 | 71 | | |
72 | 72 | | |
| 73 | + | |
73 | 74 | | |
74 | 75 | | |
75 | 76 | | |
| |||
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
20 | 19 | | |
21 | 20 | | |
22 | 21 | | |
23 | 22 | | |
24 | 23 | | |
25 | 24 | | |
26 | 25 | | |
| 26 | + | |
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
| |||
61 | 61 | | |
62 | 62 | | |
63 | 63 | | |
64 | | - | |
| 64 | + | |
65 | 65 | | |
66 | 66 | | |
67 | 67 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
102 | 102 | | |
103 | 103 | | |
104 | 104 | | |
105 | | - | |
| 105 | + | |
106 | 106 | | |
| 107 | + | |
| 108 | + | |
107 | 109 | | |
108 | 110 | | |
109 | 111 | | |
| |||
140 | 142 | | |
141 | 143 | | |
142 | 144 | | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
143 | 148 | | |
144 | 149 | | |
145 | 150 | | |
| |||
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
4 | 3 | | |
| 4 | + | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| |||
66 | 66 | | |
67 | 67 | | |
68 | 68 | | |
69 | | - | |
| 69 | + | |
70 | 70 | | |
71 | 71 | | |
72 | 72 | | |
| |||
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
90 | 90 | | |
91 | 91 | | |
92 | 92 | | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
93 | 96 | | |
94 | 97 | | |
95 | 98 | | |
| |||
0 commit comments