Hey folks,
I’ve instrumented my API with SigNoz, and it’s working properly. Now, I want to instrument MongoDB database queries and errors as well, but I don’t want to add the MongoDB integration.
Is there any way to achieve this through code instead?
. but that's still a lot of manual instrumentation even if it's one-liners.
Could you elaborate on why the Mongo integration isn't appropriate for you? Most of auto-instrumentation is done via monkey-patch wrappers so the effort is extremely low and gives much more extensive coverage. You can always configure the libraries or collectors to ignore certain events if too noisy.
j
Jay Patel
08/29/2025, 4:49 AM
Thanks , I will try it.
i am using Nestjs w/ Mongo
SigNoz is an open-source APM. It helps developers monitor their applications & troubleshoot problems, an open-source alternative to DataDog, NewRelic, etc.