Skip to content

Commit 27e5fc5

Browse files
trentmmaryliag
andauthored
checkConfigUse on config.resource node
Co-authored-by: Marylia Gutierrez <maryliag@gmail.com>
1 parent 3eb4530 commit 27e5fc5

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

experimental/packages/opentelemetry-sdk-node/src/create-from-config.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -458,6 +458,12 @@ export function createResourceFromConfig(
458458
// intended behavior when a user specifies a `schema_url` in the declarative
459459
// config file.
460460

461+
checkConfigUse('Resource', resourceConfig, [
462+
'attributes',
463+
'attributes_list',
464+
'schema_url',
465+
'detection/development',
466+
]);
461467
let resource = defaultResource();
462468

463469
if (!resourceConfig) {

0 commit comments

Comments
 (0)