# Set up custom alerting for specific MySQL/MariaDB changes

**URL:** <https://community.dynatrace.com/t/set-up-custom-alerting-for-specific-mysql-mariadb-changes/52133>\
**Category:** Alerting\
**Tags:** sql, problems, extensions, mysql\
**Created:** [June 17, 2025, 10:33am UTC](https://community.dynatrace.com/t/set-up-custom-alerting-for-specific-mysql-mariadb-changes/52133 "2025-06-17T10:33:01Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![NathanW1990](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/nathanw1990/32/30336_2.png) [@NathanW1990](https://community.dynatrace.com/u/NathanW1990)\
**Post date:** [June 17, 2025, 10:33am UTC](https://community.dynatrace.com/t/set-up-custom-alerting-for-specific-mysql-mariadb-changes/52133/1 "2025-06-17T10:33:01Z")

</div>

Hi,

I need to set up alerts on DT to basically say if a certain criteria for MariaDB/MySQL is being met.

We currently use Datadog but we’re moving away in August, we have an alert in there which monitors the Galera ‘wsrep\_local\_state’ and ‘wsrep\_cluster\_size’ to basically alert us if they drop below the threshold or if the status changes to one we don’t expect.

I can’t see anyway to specifically do this out of the box so looking for advice.

---

<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:** [June 17, 2025, 3:56pm UTC](https://community.dynatrace.com/t/set-up-custom-alerting-for-specific-mysql-mariadb-changes/52133/2 "2025-06-17T15:56:21Z")

</div>

Hi,

First I would check if actual MySQL/MariaDB Dynatrace extension is providing those metrics already. If yes, you can use&nbsp;[Davis Anomaly Detection app](https://docs.dynatrace.com/docs/shortlink/davis-ai-anomaly-detection-app)&nbsp;or [classic metric event](https://docs.dynatrace.com/docs/shortlink/metric-events) base on that.

Best regards

---

<div class="post-metadata">

**Author:** ![NathanW1990](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/nathanw1990/32/30336_2.png) [@NathanW1990](https://community.dynatrace.com/u/NathanW1990)\
**Post date:** [June 18, 2025, 7:23am UTC](https://community.dynatrace.com/t/set-up-custom-alerting-for-specific-mysql-mariadb-changes/52133/3 "2025-06-18T07:23:43Z")

</div>

Thanks Anton, I have had a look this morning but I can only see information RE pulling from logs. Ideally I need to at least have it detect a process rather than log entries.
