Skip to content

Commit

Permalink
build: update registration (#694)
Browse files Browse the repository at this point in the history
  • Loading branch information
ianlnf authored Jan 27, 2025
1 parent 9cb078e commit 6c7561c
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions server/instrumentation.js
Original file line number Diff line number Diff line change
Expand Up @@ -76,12 +76,13 @@ const sdk = new NodeSDK({
Authorization: authorizationHeader
}
})
}),
instrumentations: registerInstrumentations({
instrumentations: getNodeAutoInstrumentations()
})
})

registerInstrumentations({
instrumentations: getNodeAutoInstrumentations()
})

if (diagnosticsEnabled) {
console.log('Grafana OTLP diagnostics enabled.')
diag.setLogger(new DiagConsoleLogger(), DiagLogLevel.VERBOSE)
Expand Down

0 comments on commit 6c7561c

Please sign in to comment.