Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
serkan-ozal committed Jan 10, 2025
1 parent a5c5a06 commit 6a87508
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions nodejs/packages/layer/src/wrapper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -92,14 +92,14 @@ declare global {
}

function getActiveInstumentations(): Set<string> {
let emabledInstrumentations: string[] = defaultInstrumentationList;
let enabledInstrumentations: string[] = defaultInstrumentationList;
if (process.env.OTEL_NODE_ENABLED_INSTRUMENTATIONS) {
emabledInstrumentations =
enabledInstrumentations =
process.env.OTEL_NODE_ENABLED_INSTRUMENTATIONS.split(',').map(i =>
i.trim(),
);
}
const instrumentationSet = new Set<string>(emabledInstrumentations);
const instrumentationSet = new Set<string>(enabledInstrumentations);
if (process.env.OTEL_NODE_DISABLED_INSTRUMENTATIONS) {
const disableInstrumentations =
process.env.OTEL_NODE_DISABLED_INSTRUMENTATIONS.split(',').map(i =>
Expand Down

0 comments on commit 6a87508

Please sign in to comment.