# How do I create custom metric alert on Oracle DB instance for the metric I am getting out of my custom SQL Extension?

**URL:** <https://community.dynatrace.com/t/how-do-i-create-custom-metric-alert-on-oracle-db-instance-for-the-metric-i-am-getting-out-of-my-custom-sql-extension/46429>\
**Category:** Extensions\
**Tags:** databases, oracle, extensions\
**Created:** [July 2, 2024, 7:16pm UTC](https://community.dynatrace.com/t/how-do-i-create-custom-metric-alert-on-oracle-db-instance-for-the-metric-i-am-getting-out-of-my-custom-sql-extension/46429 "2024-07-02T19:16:47Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![susmita\_k](https://avatars.discourse-cdn.com/v4/letter/s/7993a0/32.png) [@susmita\_k](https://community.dynatrace.com/u/susmita_k)\
**Post date:** [July 2, 2024, 7:16pm UTC](https://community.dynatrace.com/t/how-do-i-create-custom-metric-alert-on-oracle-db-instance-for-the-metric-i-am-getting-out-of-my-custom-sql-extension/46429/1 "2024-07-02T19:16:47Z")

</div>

How do I create custom metric alert on Oracle DB instance for the metric I am getting out of my custom SQL Extension?

I am adding a dimension of custom device by adding custom device filter for the DB instance, but its creating the problem at the environment level. Please suggest.. Do I need to add a dimension in my Extension yaml file ?

---

_[View the full topic](https://community.dynatrace.com/t/how-do-i-create-custom-metric-alert-on-oracle-db-instance-for-the-metric-i-am-getting-out-of-my-custom-sql-extension/46429)._
