https://signoz.io logo
Title
d

Divyanshu Negi

03/10/2023, 7:19 AM
Hi, we are using MongoDB in our service, but cannot see any logs in database dashboard. I have enabled MongoDBIntrumentation on the client side, do I need to update anything on the hosted signoz service as well ?
new MongoDBInstrumentation({
          enhancedDatabaseReporting: true,
        }),
s

Srikanth Chekuri

03/10/2023, 7:25 AM
Do you see this instrumentation and producing spans in the traces for the service?
d

Divyanshu Negi

03/10/2023, 7:26 AM
How to check that ?
s

Srikanth Chekuri

03/10/2023, 7:43 AM
Go to traces tab from the left menu and select a service where you added instrumentation and check if there are DB spans