# Obtain "Current Hotspots" through API?

**URL:** <https://community.dynatrace.com/t/obtain-current-hotspots-through-api/30814>\
**Category:** Dynatrace API\
**Tags:** dynatrace-api\
**Created:** [March 16, 2021, 10:36pm UTC](https://community.dynatrace.com/t/obtain-current-hotspots-through-api/30814 "2021-03-16T22:36:37Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![AntonioSousa](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/antoniosousa/32/50_2.png) [@AntonioSousa](https://community.dynatrace.com/u/AntonioSousa)\
**Post date:** [March 16, 2021, 10:36pm UTC](https://community.dynatrace.com/t/obtain-current-hotspots-through-api/30814/1 "2021-03-16T22:36:37Z")

</div>

Is it possible to obtain “Current Hotspots” through the Rest API?

---

<div class="post-metadata">

**Author:** ![Dallas](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/dallas/32/31233_2.png) [@Dallas](https://community.dynatrace.com/u/Dallas)\
**Post date:** [March 18, 2021, 1:52pm UTC](https://community.dynatrace.com/t/obtain-current-hotspots-through-api/30814/2 "2021-03-18T13:52:52Z")

</div>

Hey Antonio,

Do you mean the “Method Hotspots” or “Response Time Hotspots” views when looking at a service? These analysis views are not available over the API.

I think your best bet would be to open a request for enhancement. If you don’t mind could you explain your use case for this?

Thanks

-Dallas

---

<div class="post-metadata">

**Author:** ![trevor\_masseng1](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/trevor_masseng1/32/2442_2.png) [@trevor\_masseng1](https://community.dynatrace.com/u/trevor_masseng1)\
**Post date:** [March 29, 2021, 3:35pm UTC](https://community.dynatrace.com/t/obtain-current-hotspots-through-api/30814/3 "2021-03-29T15:35:36Z")

</div>

While you cannot extract Hotspot information via the Dynatrace APIs, you can extract performance metrics (such as wait/lock/cpu/IO time) to get an understanding of what type of time, and thus what sort of issue, could be contributing to services/key requests experiencing slow downs.

> **[Metrics API - GET metric data points](https://docs.dynatrace.com/docs/dynatrace-api/environment-api/metric-v2/get-data-points)**
>
> Read data points of one or multiple metrics via Metrics v2 API.

---

<div class="post-metadata">

**Author:** ![AntonioSousa](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/antoniosousa/32/50_2.png) [@AntonioSousa](https://community.dynatrace.com/u/AntonioSousa)\
**Post date:** [March 29, 2021, 7:18pm UTC](https://community.dynatrace.com/t/obtain-current-hotspots-through-api/30814/4 "2021-03-29T19:18:14Z")

</div>

I was pretty sure one could not do it. Thanks for the reply.

I have put it an RFE at:  
[https://community.dynatrace.com/t5/Dynatrace-product-ideas/Obtain-quot-Current-hotspots-quot-via-API/idi-p/163575](https://community.dynatrace.com/post/163575)

---

<div class="post-metadata">

**Author:** ![AntonioSousa](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/antoniosousa/32/50_2.png) [@AntonioSousa](https://community.dynatrace.com/u/AntonioSousa)\
**Post date:** [March 29, 2021, 7:19pm UTC](https://community.dynatrace.com/t/obtain-current-hotspots-through-api/30814/5 "2021-03-29T19:19:58Z")

</div>

I have put in an RFE at [https://community.dynatrace.com/t5/Dynatrace-product-ideas/Obtain-quot-Current-hotspots-quot-via-API/idi-p/163575](https://community.dynatrace.com/post/163575)

The use case is, of course, to automate the process of finding out what is impacting the systems being monitored, and “talk” to Davis before real problems happen 🙂
