# Capture Monitors downtime

**URL:** <https://community.dynatrace.com/t/capture-monitors-downtime/38976>\
**Category:** Dynatrace API\
**Tags:** dynatrace-managed, dynatrace-api\
**Created:** [March 23, 2023, 2:15pm UTC](https://community.dynatrace.com/t/capture-monitors-downtime/38976 "2023-03-23T14:15:58Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Balamurugesh](https://avatars.discourse-cdn.com/v4/letter/b/f475e1/32.png) [@Balamurugesh](https://community.dynatrace.com/u/Balamurugesh)\
**Post date:** [March 23, 2023, 2:15pm UTC](https://community.dynatrace.com/t/capture-monitors-downtime/38976/1 "2023-03-23T14:15:58Z")

</div>

hi Team, Is there an API which will provide monitor downtime details(number of hrs a monitor was down in a given timeframe)?

---

<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:** [March 23, 2023, 5:15pm UTC](https://community.dynatrace.com/t/capture-monitors-downtime/38976/2 "2023-03-23T17:15:23Z")

</div>

Hi,

Are you talking about HTTP Monitors? Hosts? General?

Best regards

---

<div class="post-metadata">

**Author:** ![Balamurugesh](https://avatars.discourse-cdn.com/v4/letter/b/f475e1/32.png) [@Balamurugesh](https://community.dynatrace.com/u/Balamurugesh)\
**Post date:** [March 23, 2023, 5:47pm UTC](https://community.dynatrace.com/t/capture-monitors-downtime/38976/3 "2023-03-23T17:47:24Z")

</div>

I need downtime details of synthetic monitors.

---

<div class="post-metadata">

**Author:** ![radek\_jasinski](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/radek_jasinski/32/10432_2.png) [@radek\_jasinski](https://community.dynatrace.com/u/radek_jasinski)\
**Post date:** [March 23, 2023, 6:16pm UTC](https://community.dynatrace.com/t/capture-monitors-downtime/38976/4 "2023-03-23T18:16:26Z")

</div>

Please provide more details…because we don’t know what you want to do, like Anton wrote.

---

<div class="post-metadata">

**Author:** ![Balamurugesh](https://avatars.discourse-cdn.com/v4/letter/b/f475e1/32.png) [@Balamurugesh](https://community.dynatrace.com/u/Balamurugesh)\
**Post date:** [March 23, 2023, 6:33pm UTC](https://community.dynatrace.com/t/capture-monitors-downtime/38976/5 "2023-03-23T18:33:20Z")

</div>

i am looking for an api which will provide number of hrs a synthetic monitor was down in a month.

---

<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:** [March 24, 2023, 7:56am UTC](https://community.dynatrace.com/t/capture-monitors-downtime/38976/6 "2023-03-24T07:56:20Z")

</div>

Hi,

I can only see these two built metrics:

- builtin:synthetic.browser.availability.location.total
- builtin:synthetic.browser.availability.location.totalWoMaintenanceWindow

If they are running 24x7, maybe we can create a calculated metric to get that information.

Best regards

---

<div class="post-metadata">

**Author:** ![hannahmac](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/hannahmac/32/41823_2.png) [@hannahmac](https://community.dynatrace.com/u/hannahmac)\
**Post date:** [March 24, 2023, 10:33am UTC](https://community.dynatrace.com/t/capture-monitors-downtime/38976/7 "2023-03-24T10:33:52Z")

</div>

[Availability % per location is Uptime / (Uptime + Downtime) x 100.](https://www.dynatrace.com/support/help/platform-modules/digital-experience/synthetic-monitoring/general-information/synthetic-calculations)&nbsp;So, I guess you might be able to work out the downtime by reverse engineering the availability for a specific period?
