Skip to content
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

Merged

Conversation

JR40159
Copy link
Member

@JR40159 JR40159 commented Mar 8, 2024

No description provided.

CMD ["node", "--import=./src/instrumentation.js", "src/index.js"]
Copy link
Member

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',
Copy link
Member

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.

@JR40159
Copy link
Member Author

JR40159 commented Mar 8, 2024

Add the ability to turn on OT debug model via config

@JR40159 JR40159 merged commit 48fdd9d into main Mar 12, 2024
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants