Skip to content

Commit

Permalink
use otel.resource.providers.<>.enabled
Browse files Browse the repository at this point in the history
  • Loading branch information
zeitlinger committed Mar 11, 2024
1 parent fbf6f35 commit f412cae
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ Map<String, String> customize(ConfigProperties config) {
String providerGroup = providerEntry.getValue();
Boolean explictEnabled =
config.getBoolean(
String.format("otel.instrumentation.resource-provider.%s.enabled", providerGroup));
String.format("otel.resource.providers.%s.enabled", providerGroup));

if (isEnabled(providerName, enabledProviders, explictEnabled)) {
enabled.add(providerName);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ Stream<DynamicTest> enabledTestCases() {

if (tc.explicitEnabled != null) {
props.put(
"otel.instrumentation.resource-provider.test.enabled",
"otel.resource.providers.test.enabled",
Boolean.toString(tc.explicitEnabled));
}

Expand Down

0 comments on commit f412cae

Please sign in to comment.