@mayur sanap - Welcome to Microsoft and thanks for reaching out.
It depends on the language you are monitoring. For example, MongoDB calls are auto-collected for Java.
Please take a look at this document for information: java-in-process-agent
Hope this helps. and please feel free to reach out if you have any further questions.
------------------------------------------------------------------
If the above response was helpful, please feel free to "Accept as Answer" and "Upvote" the same so it can be beneficial to the community.