-
Notifications
You must be signed in to change notification settings - Fork 465
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
update nodejs autoinstrumetation, fixes #2626 #3570
base: main
Are you sure you want to change the base?
update nodejs autoinstrumetation, fixes #2626 #3570
Conversation
@open-telemetry/javascript-approvers could you have a look? 🙏 |
Signed-off-by: matteo.gazzetta <[email protected]>
0b6b81c
to
cf4ab32
Compare
Signed-off-by: matteo.gazzetta <[email protected]>
a1389c9
to
04677de
Compare
Thank you @pavolloffay i fixed the build since getResourceDetectorsFromEnv is exported as getResourceDetectors |
Actually, I think since metrics auto-configuration is now implemented, you may not even need the |
Hi @pichlermarc, are you suggesting to remove autoinstrumentation.ts here and update the code in nodejs.go to something like:
Would this approach work when referenced like this? I haven’t tested it yet. Thank you PS @swiatekm, what’s your opinion on this? |
|
Description:
Update nodejs autoinstrumentation like register.ts from auto-instrumentations-node metapackage
Link to tracking Issue(s):
OTEL_NODE_RESOURCE_DETECTORS
#2626Testing:
Not tested yet
Documentation: