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

Question: How to use custom instrumentations #43

Closed
iddan opened this issue Jun 19, 2022 · 4 comments
Closed

Question: How to use custom instrumentations #43

iddan opened this issue Jun 19, 2022 · 4 comments

Comments

@iddan
Copy link

iddan commented Jun 19, 2022

How can I use custom instrumentations with this library? I looked in the code for registerInstrumentations but couldn't find any example.

@Maklestiguan
Copy link

Basically you should provide it in module config, since it extends Partial<NodeSDKConfiguration>, then merges default config and what you have provided (defaults get overridden) and then nodeSDK goes with your config as constructor args

@iddan
Copy link
Author

iddan commented Sep 12, 2022

Thanks! Maybe better add it to the main readme?

@MetinSeylan
Copy link
Owner

#49

@iddan
Copy link
Author

iddan commented Oct 17, 2022

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants