Skip to Main Content

MongoByte MongoDB Logo

Welcome to the new MongoDB Feedback Portal!

{Improvement: "Your idea"}
We’ve upgraded our system to better capture and act on your feedback.
Your feedback is meaningful and helps us build better products.

Status Submitted
Categories Database
Created by Guest
Created on Jun 5, 2024

Named MongoDB Connections

When a service is acting erroneously and generating hundreds or thousands of connections, it's currently difficult to determine which service is doing so when you have 30+ services connecting to MongoDB. My proposal is that we should be optionally able to specify a non-unique name for the connection in the MongoDB URL (possibly after a #), which would allow DB administrators to see how many of each named connection was connected at any given time, and also other metrics (operations/s per name, average/max query execution time per name, etc.). Example URL: mongodb://user:****@clustername.abcd.mongodb.net:27017/dbName?authSource=admin#myServiceName
  • Attach files
  • Guest
    Jul 4, 2024
    Hi Andrew, Thank you for reaching out about this problem. We are currently researching new techniques for customers to understand the root cause of their application failures. I'd like to understand more about your use case and the alternatives that are considered. Would you be willing to share more over a short call?