-
Notifications
You must be signed in to change notification settings - Fork 73
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
Laminar does not work when we specify NODE_OPTIONS for opentelemetry #231
Comments
Hey @Mohit21GoJs thanks for reporting. We will have a look and let you know |
I was able to reproduce. While I am investigating further, I can say that auto-instrumented spans seem unaffected as well as the attributes you set manually with It does, however, mess up some of the things we set in our SDK such as span path and span type attributes, so I am continuing investigation. |
Hi @dinmukhamedm Is there any update on this? It would be helpful to know the fix as we are preparing for production release of our app integrated with laminar and this is a blocker for us, could you please suggest a way to help us leverage laminar in production? |
Hey @Mohit21GoJs. I do have a temporary fix in place, but I was not willing to release it, since it is flaky, and I have not had time to test it. In addition it is clearly a temporary solution. But I understand that this is a blocker to you, so if you are ok with switching to an Would you like me to do that? |
@Mohit21GoJs alright, I published it anyway as part of The way to use it is to pass |
When i specify env variable NODE_OPTIONS=--require @opentelemetry/auto-instrumentations-node/register as recommended here
Throws error:
Is there something we can do to enable this option and still use laminar?
The text was updated successfully, but these errors were encountered: