Skip to content

Commit ad64a1e

Browse files
Merge branch 'master' into alexeyk/spotless-remove-unused-imports
2 parents 81c4160 + 2c8da75 commit ad64a1e

File tree

3 files changed

+16
-1
lines changed

3 files changed

+16
-1
lines changed

dd-java-agent/appsec/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ dependencies {
1515
implementation project(':internal-api')
1616
implementation project(':communication')
1717
implementation project(':telemetry')
18-
implementation group: 'io.sqreen', name: 'libsqreen', version: '14.1.0'
18+
implementation group: 'io.sqreen', name: 'libsqreen', version: '15.0.0'
1919
implementation libs.moshi
2020

2121
testImplementation libs.bytebuddy

dd-smoke-tests/maven/build.gradle

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
import java.time.Duration
2+
import java.time.temporal.ChronoUnit
3+
14
plugins {
25
id 'com.gradleup.shadow'
36
}
@@ -21,6 +24,10 @@ tasks.withType(Test).configureEach {
2124
dependsOn "shadowJar"
2225
jvmArgs "-Ddatadog.smoketest.maven.jar.path=${tasks.shadowJar.archiveFile.get()}"
2326

27+
// overriding the default timeout set in configure_tests.gradle, as Maven smoke
28+
// tests might run for a longer duration
29+
timeout = Duration.of(20, ChronoUnit.MINUTES)
30+
2431
if (project.hasProperty("mavenRepositoryProxy")) {
2532
// propagate proxy URL to tests, to then propagate it to nested Gradle builds
2633
environment "MAVEN_REPOSITORY_PROXY", project.property("mavenRepositoryProxy")

internal-api/src/main/java/datadog/trace/api/ConfigOrigin.java

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
package datadog.trace.api;
22

3+
// https://github.com/DataDog/instrumentation-telemetry-api-docs/blob/main/
4+
// GeneratedDocumentation/ApiDocs/v2/SchemaDocumentation/Schemas/conf_key_value.md
35
public enum ConfigOrigin {
46
/** configurations that are set through environment variables */
57
ENV("env_var"),
@@ -11,6 +13,12 @@ public enum ConfigOrigin {
1113
LOCAL_STABLE_CONFIG("local_stable_config"),
1214
/** configuration read in the stable config file, managed by fleet */
1315
FLEET_STABLE_CONFIG("fleet_stable_config"),
16+
/** configurations that are set through the customer application */
17+
CODE("code"),
18+
/** set by the dd.yaml file or json */
19+
DD_CONFIG("dd_config"),
20+
/** set for cases where it is difficult/not possible to determine the source of a config. */
21+
UNKNOWN("unknown"),
1422
/** set when the user has not set any configuration for the key (defaults to a value) */
1523
DEFAULT("default");
1624

0 commit comments

Comments
 (0)