# Collect data for service level agreement to meet metrics

**URL:** <https://community.dynatrace.com/t/collect-data-for-service-level-agreement-to-meet-metrics/19799>\
**Category:** Open Q&A\
**Tags:** dynatrace-managed\
**Created:** [February 27, 2019, 8:05pm UTC](https://community.dynatrace.com/t/collect-data-for-service-level-agreement-to-meet-metrics/19799 "2019-02-27T20:05:24Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![markfitzpatrick](https://avatars.discourse-cdn.com/v4/letter/m/ee7513/32.png) [@markfitzpatrick](https://community.dynatrace.com/u/markfitzpatrick)\
**Post date:** [February 27, 2019, 8:05pm UTC](https://community.dynatrace.com/t/collect-data-for-service-level-agreement-to-meet-metrics/19799/1 "2019-02-27T20:05:24Z")

</div>

Hello

we need to create a mechanism that collects page load response times that supports this calculation.

The Service Level  
calculation for “Response Time of the Application” is the **total number of page load time responses received for the  
supported applications that meet the required response times, divided by the  
total number of page load time response requests issued** for the  
supported applications during the **Measurement Window** ,  
with the result expressed as a percentage.

---

<div class="post-metadata">

**Author:** ![adam\_gardner](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/adam_gardner/32/20087_2.png) [@adam\_gardner](https://community.dynatrace.com/u/adam_gardner)\
**Post date:** [February 28, 2019, 5:38am UTC](https://community.dynatrace.com/t/collect-data-for-service-level-agreement-to-meet-metrics/19799/2 "2019-02-28T05:38:09Z")

</div>

Hi Mark, for custom calculations such as this I’d recommend using the Dynatrace REST API to extract the raw data. You can then process in any way you wish.

---

<div class="post-metadata">

**Author:** ![markfitzpatrick](https://avatars.discourse-cdn.com/v4/letter/m/ee7513/32.png) [@markfitzpatrick](https://community.dynatrace.com/u/markfitzpatrick)\
**Post date:** [March 4, 2019, 7:26pm UTC](https://community.dynatrace.com/t/collect-data-for-service-level-agreement-to-meet-metrics/19799/3 "2019-03-04T19:26:32Z")

</div>

Thanks Adam -- do you know of any good examples I could set up and test out to see if it fits my needs? Thanks Mark
