Skip to content

Commit

Permalink
Merge pull request #6144 from DataDog/rgs/disable-resource-name-taggi…
Browse files Browse the repository at this point in the history
…ng-by-default

flip flag for resource name tagging
  • Loading branch information
richardstartin authored Nov 3, 2023
2 parents 496ad30 + df4b7ed commit 38ee52b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,7 @@ public static boolean isSpanNameContextAttributeEnabled(ConfigProvider configPro
}

public static boolean isResourceNameContextAttributeEnabled(ConfigProvider configProvider) {
return configProvider.getBoolean(PROFILING_CONTEXT_ATTRIBUTES_RESOURCE_NAME_ENABLED, true);
return configProvider.getBoolean(PROFILING_CONTEXT_ATTRIBUTES_RESOURCE_NAME_ENABLED, false);
}

public static String getString(ConfigProvider configProvider, String key, String defaultValue) {
Expand Down

0 comments on commit 38ee52b

Please sign in to comment.