# How to create an alert on Connections (MySQL metrics)

**URL:** <https://community.dynatrace.com/t/how-to-create-an-alert-on-connections-mysql-metrics/14660>\
**Category:** Alerting\
**Tags:** problems-classic\
**Created:** [August 11, 2018, 10:58pm UTC](https://community.dynatrace.com/t/how-to-create-an-alert-on-connections-mysql-metrics/14660 "2018-08-11T22:58:17Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![jibi\_uthaman1](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/jibi_uthaman1/32/2628_2.png) [@jibi\_uthaman1](https://community.dynatrace.com/u/jibi_uthaman1)\
**Post date:** [August 11, 2018, 10:58pm UTC](https://community.dynatrace.com/t/how-to-create-an-alert-on-connections-mysql-metrics/14660/1 "2018-08-11T22:58:17Z")

</div>

How can I create an alert on MySQL metrics - Connections

 ![17959-connectioncount.png](https://global.discourse-cdn.com/dynatrace/original/3X/1/6/16a2bea16bc637bb3e610d98bf0d69236767afd4.png)

---

<div class="post-metadata">

**Author:** ![hao-lin\_liang](https://avatars.discourse-cdn.com/v4/letter/h/9f8e36/32.png) [@hao-lin\_liang](https://community.dynatrace.com/u/hao-lin_liang)\
**Post date:** [August 13, 2018, 1:26pm UTC](https://community.dynatrace.com/t/how-to-create-an-alert-on-connections-mysql-metrics/14660/2 "2018-08-13T13:26:35Z")

</div>

Hi,

If you go to settings → anomaly detection → custom alerts you should be able to do it there.

You can then set up a custom alert for either a specific MySQL process or the whole process group for MySQL. I have attached an example.

 ![17967-custom-alert-example.png](https://global.discourse-cdn.com/dynatrace/original/3X/7/0/70577123efd0c9ef9c131ac0451cb2def02499e6.png)
