# REST API for Database Metrics

**URL:** <https://community.dynatrace.com/t/rest-api-for-database-metrics/11476>\
**Category:** Dynatrace API\
**Tags:** databases, dynatrace-api\
**Created:** [March 16, 2018, 4:19am UTC](https://community.dynatrace.com/t/rest-api-for-database-metrics/11476 "2018-03-16T04:19:48Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![joseph\_katamred](https://avatars.discourse-cdn.com/v4/letter/j/5daacb/32.png) [@joseph\_katamred](https://community.dynatrace.com/u/joseph_katamred)\
**Post date:** [March 16, 2018, 4:19am UTC](https://community.dynatrace.com/t/rest-api-for-database-metrics/11476/1 "2018-03-16T04:19:48Z")

</div>

Team,

Is there a way to capture Database Metrics using Dynatrace API, If not, is the Road map in Progress to get Time Series to pull that info in the future and when that would be in place? At Present is there any way to Capture Database Metrics through any other API without using any interface terminal installation?

---

<div class="post-metadata">

**Author:** ![Jakub\_Mierzewsk](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/jakub_mierzewsk/32/36350_2.png) [@Jakub\_Mierzewsk](https://community.dynatrace.com/u/Jakub_Mierzewsk)\
**Post date:** [January 21, 2019, 2:21pm UTC](https://community.dynatrace.com/t/rest-api-for-database-metrics/11476/2 "2019-01-21T14:21:04Z")

</div>

Hi Joseph, to which metrics do you refer? Database Metrics which are gather by Oracle insights can be fetch through API. Database services metrics (Dynatrace PurePath) aren’t available in API.

---

<div class="post-metadata">

**Author:** ![Chris\_APM](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/chris_apm/32/15230_2.png) [@Chris\_APM](https://community.dynatrace.com/u/Chris_APM)\
**Post date:** [November 15, 2019, 3:12pm UTC](https://community.dynatrace.com/t/rest-api-for-database-metrics/11476/3 "2019-11-15T15:12:56Z")

</div>

I found this thread, and have a similar question. I’m trying to capture the “table name” value. I can see it in the purepath, and you can filter on it in “top database statements”. But I haven’t been able to figure out a way to use it in charting or to extract it with the API. End goal is to observe what tables are being used, and how frequently.

---

<div class="post-metadata">

**Author:** ![DomenicoLangone](https://avatars.discourse-cdn.com/v4/letter/d/6de8d8/32.png) [@DomenicoLangone](https://community.dynatrace.com/u/DomenicoLangone)\
**Post date:** [May 6, 2021, 6:44am UTC](https://community.dynatrace.com/t/rest-api-for-database-metrics/11476/4 "2021-05-06T06:44:23Z")

</div>

Hi to all.

I think this thread is for me. I need to retrieve the metrics related to load distribution on a database, declined by calling service.

Basically it is about retrieving the details of the Database Service Backtrace view. Unfortunately it is not possible for me to proceed with a query on the service with the parent graft: the database entity is not among the allowed [parents](https://www.dynatrace.com/support/help/dynatrace-api/environment-api/metric-v2/metric-selector-transformations/).

 ![domenico_langon_0-1620283304858.png](https://global.discourse-cdn.com/dynatrace/original/3X/a/e/ae6203a18ea8b4ee2d95cba4131d80a01bd32a3c.png)

I hope I am wrong, otherwise I think this kind of implementation would be very useful.

Best regards

Domenico
