Skip to content

Update the config origin metric to match what it's mapping #9045

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
package datadog.trace.api;

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

Expand Down