# Environment problem: "Database connection alerting limit is reached for the tenant"

**URL:** <https://community.dynatrace.com/t/environment-problem-database-connection-alerting-limit-is-reached-for-the-tenant/39506>\
**Category:** Open Q&A\
**Tags:** databases, problems-classic\
**Created:** [April 27, 2023, 5:49pm UTC](https://community.dynatrace.com/t/environment-problem-database-connection-alerting-limit-is-reached-for-the-tenant/39506 "2023-04-27T17:49:07Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![MariettaAlmeida](https://avatars.discourse-cdn.com/v4/letter/m/9fc348/32.png) [@MariettaAlmeida](https://community.dynatrace.com/u/MariettaAlmeida)\
**Post date:** [April 27, 2023, 5:49pm UTC](https://community.dynatrace.com/t/environment-problem-database-connection-alerting-limit-is-reached-for-the-tenant/39506/1 "2023-04-27T17:49:07Z")

</div>

Hi all,

Have this alarm but i cant see what databases are causing this impact so how can i go deeper on this problem analysis?

 ![MariettaAlmeida_1-1682617641860.png](https://global.discourse-cdn.com/dynatrace/original/2X/e/e109a334bf6e382f7cf39e4013b038e52e91fe3e.png)

thank you all 🙂

---

<div class="post-metadata">

**Author:** ![AntonPineiro](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/antonpineiro/32/49_2.png) [@AntonPineiro](https://community.dynatrace.com/u/AntonPineiro)\
**Post date:** [April 27, 2023, 10:16pm UTC](https://community.dynatrace.com/t/environment-problem-database-connection-alerting-limit-is-reached-for-the-tenant/39506/2 "2023-04-27T22:16:44Z")

</div>

Hi,

I think that is a custom [metric event](https://www.dynatrace.com/support/help/shortlink/metric-events). I would check which metric key or metric selector is being used.

Best regards

---

<div class="post-metadata">

**Author:** ![MariettaAlmeida](https://avatars.discourse-cdn.com/v4/letter/m/9fc348/32.png) [@MariettaAlmeida](https://community.dynatrace.com/u/MariettaAlmeida)\
**Post date:** [April 28, 2023, 2:14pm UTC](https://community.dynatrace.com/t/environment-problem-database-connection-alerting-limit-is-reached-for-the-tenant/39506/3 "2023-04-28T14:14:52Z")

</div>

hi[@AntonPineiro](https://community.dynatrace.com/user/58682)&nbsp;from what i have read, in all the metrics we have a limit of 10000 metrics events but i have 2 pre configured metrics for infrastructure as you can see on the image:

 ![MariettaAlmeida_0-1682691280477.png](https://global.discourse-cdn.com/dynatrace/original/3X/c/1/c1dafecf3b00b5efbc5a7361f29d8dd376aa96e4.png)

how can i extend the allowed database conections to the tenant ?

---

<div class="post-metadata">

**Author:** ![AntonPineiro](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/antonpineiro/32/49_2.png) [@AntonPineiro](https://community.dynatrace.com/u/AntonPineiro)\
**Post date:** [April 28, 2023, 2:24pm UTC](https://community.dynatrace.com/t/environment-problem-database-connection-alerting-limit-is-reached-for-the-tenant/39506/4 "2023-04-28T14:24:55Z")

</div>

Hi,

Maybe I am wrong but I understand this. You or someone have created a custom metric to be alerted when some database metric is over 2000.

If you find which metric event has triggered that problem, you can see which threshold is used. I think static&nbsp;threshold above 2000. Then, you can increase&nbsp;threshold if that is required.

And then, you can see which metric is in relation with that metric event. And with that, I think you can find which databases have that metric over 2000.

Best regards

---

<div class="post-metadata">

**Author:** ![MariettaAlmeida](https://avatars.discourse-cdn.com/v4/letter/m/9fc348/32.png) [@MariettaAlmeida](https://community.dynatrace.com/u/MariettaAlmeida)\
**Post date:** [April 28, 2023, 2:27pm UTC](https://community.dynatrace.com/t/environment-problem-database-connection-alerting-limit-is-reached-for-the-tenant/39506/5 "2023-04-28T14:27:43Z")

</div>

well it makes sense to me… thank you a lot !!! will check and if no, will come here&nbsp;🙏,

have a nice day
