Issue with Signoz Integration in Next JS Project

TLDR Kewal is having an issue with Signoz Integration in a Next JS Project, where sdk.start() function is undefined. vishal-signoz asks to check if the same version of opentelemetry library is being used.

Powered by Struct AI
Aug 17, 2023 (3 months ago)
Photo of md5-2f94b63d050dad6ced4a85316a658c61
09:09 AM
Hi Team, I am facing issue in Signoz Integration with my existing Next JS Project. Sample APP Works Fine.

sdk.start() function is undefined.

when i print sdk object i get : _resourceDetectors: [ EnvDetector {}, ProcessDetector {} ],

While the same object in sample app project is not empty.
Photo of md5-f936d3e5743d23344d6c60813189716f
01:06 PM
Can you please check if you are using same version of opentelemetry library as used by sample app?