-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature/bai 849 use open telemetry to send instrumentation info #1158
Feature/bai 849 use open telemetry to send instrumentation info #1158
Conversation
backend/Dockerfile
Outdated
CMD ["node", "--import=./src/instrumentation.js", "src/index.js"] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not a fan of imports like this, they add hidden complexity to the running of an application and are not standard. Can we replace this with a bare import (e.g. import './instrument.js'
) within src/index.ts
?
|
||
instrumentation: { | ||
enabled: false, | ||
serviceName: 'backend', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should probably include authenticationToken
. The config should include every possible field, even if it defaults to empty.
Add the ability to turn on OT debug model via config |
No description provided.