File tree Expand file tree Collapse file tree 3 files changed +16
-1
lines changed
internal-api/src/main/java/datadog/trace/api Expand file tree Collapse file tree 3 files changed +16
-1
lines changed Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ dependencies {
15
15
implementation project(' :internal-api' )
16
16
implementation project(' :communication' )
17
17
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'
19
19
implementation libs. moshi
20
20
21
21
testImplementation libs. bytebuddy
Original file line number Diff line number Diff line change
1
+ import java.time.Duration
2
+ import java.time.temporal.ChronoUnit
3
+
1
4
plugins {
2
5
id ' com.gradleup.shadow'
3
6
}
@@ -21,6 +24,10 @@ tasks.withType(Test).configureEach {
21
24
dependsOn " shadowJar"
22
25
jvmArgs " -Ddatadog.smoketest.maven.jar.path=${ tasks.shadowJar.archiveFile.get()} "
23
26
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
+
24
31
if (project. hasProperty(" mavenRepositoryProxy" )) {
25
32
// propagate proxy URL to tests, to then propagate it to nested Gradle builds
26
33
environment " MAVEN_REPOSITORY_PROXY" , project. property(" mavenRepositoryProxy" )
Original file line number Diff line number Diff line change 1
1
package datadog .trace .api ;
2
2
3
+ // https://github.com/DataDog/instrumentation-telemetry-api-docs/blob/main/
4
+ // GeneratedDocumentation/ApiDocs/v2/SchemaDocumentation/Schemas/conf_key_value.md
3
5
public enum ConfigOrigin {
4
6
/** configurations that are set through environment variables */
5
7
ENV ("env_var" ),
@@ -11,6 +13,12 @@ public enum ConfigOrigin {
11
13
LOCAL_STABLE_CONFIG ("local_stable_config" ),
12
14
/** configuration read in the stable config file, managed by fleet */
13
15
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" ),
14
22
/** set when the user has not set any configuration for the key (defaults to a value) */
15
23
DEFAULT ("default" );
16
24
You can’t perform that action at this time.
0 commit comments