Skip to content

Commit 2c8da75

Browse files
Update the config origin metric to match what it's mapping (#9045)
1 parent b1bbdd5 commit 2c8da75

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

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)