# Grafana cloud mongodb query issue

**URL:** <https://community.grafana.com/t/grafana-cloud-mongodb-query-issue/144148>\
**Category:** Cloudwatch\
**Tags:** query-help\
**Created:** [February 18, 2025, 2:27am UTC](https://community.grafana.com/t/grafana-cloud-mongodb-query-issue/144148 "2025-02-18T02:27:06Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![yuanrong](https://avatars.discourse-cdn.com/v4/letter/y/9dc877/32.png) [@yuanrong](https://community.grafana.com/u/yuanrong)\
**Post date:** [February 18, 2025, 2:27am UTC](https://community.grafana.com/t/grafana-cloud-mongodb-query-issue/144148/1 "2025-02-18T02:27:06Z")

</div>

I’m using Grafana Cloud, and in one of my dashboards, I have multiple MongoDB query panels. I’m currently facing an issue where every time I query MongoDB, the connection is refused (seems like the connection limit is reached). I currently have 11 queries related to MongoDB on the interface, so I would like to know:

Does each MongoDB query in Grafana open a new connection?  
Does the connection to MongoDB get terminated after the data is retrieved?
