#support

Troubleshooting Missing MongoDB Logs in Signoz Dashboard

TLDR Div couldn't see MongoDB logs in the dashboard. Srikanth advised checking service traces to verify if DB spans are present.

Powered by Struct AI

1

4
9mo
Solved
Join the chat
Mar 10, 2023 (9 months ago)
Div
Photo of md5-69a12cc92bad5b259938b070788a11aa
Div
07: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,
        }),
Image 1 for 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,
        }),```
Srikanth
Photo of md5-ce04a9988e2fd758a659dc55be6f2543
Srikanth
07:25 AM
Do you see this instrumentation and producing spans in the traces for the service?
Div
Photo of md5-69a12cc92bad5b259938b070788a11aa
Div
07:26 AM
How to check that ?
Srikanth
Photo of md5-ce04a9988e2fd758a659dc55be6f2543
Srikanth
07: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

1