# How is every parameter for a service like failure rate, response time calculated by dynatrace ?

**URL:** <https://community.dynatrace.com/t/how-is-every-parameter-for-a-service-like-failure-rate-response-time-calculated-by-dynatrace/22916>\
**Category:** Open Q&A\
**Tags:** dynatrace-saas\
**Created:** [January 17, 2020, 11:35am UTC](https://community.dynatrace.com/t/how-is-every-parameter-for-a-service-like-failure-rate-response-time-calculated-by-dynatrace/22916 "2020-01-17T11:35:08Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![rohit\_sharma](https://avatars.discourse-cdn.com/v4/letter/r/aca169/32.png) [@rohit\_sharma](https://community.dynatrace.com/u/rohit_sharma)\
**Post date:** [January 17, 2020, 11:35am UTC](https://community.dynatrace.com/t/how-is-every-parameter-for-a-service-like-failure-rate-response-time-calculated-by-dynatrace/22916/1 "2020-01-17T11:35:08Z")

</div>

How is every parameter for a service like failure rate, response time calculated by dynatrace ?

---

<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:** [January 17, 2020, 4:45pm UTC](https://community.dynatrace.com/t/how-is-every-parameter-for-a-service-like-failure-rate-response-time-calculated-by-dynatrace/22916/2 "2020-01-17T16:45:01Z")

</div>

Hi Rohit,

Service metrics like Response Time and failure rate are gathered from the OneAgent when it instruments an application process.

For example if you had a Java application running with the Dynatrace OneAgent Instrumented, Dynatrace would gather data from the sensors placed within the application code. These sensors are pre configured by the Dynatrace development team and return the response time when methods are called.

Failure rate is gathered by the agent detecting application exceptions, http error codes and application error pages.

These response times and failures for individual transactions are used to create the “service” metrics you are listing.

Hope this helps answer your question.

Thanks

-Dallas

---

<div class="post-metadata">

**Author:** ![ChadTurner](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/chadturner/32/161_2.png) [@ChadTurner](https://community.dynatrace.com/u/ChadTurner)\
**Post date:** [January 17, 2020, 5:39pm UTC](https://community.dynatrace.com/t/how-is-every-parameter-for-a-service-like-failure-rate-response-time-calculated-by-dynatrace/22916/3 "2020-01-17T17:39:21Z")

</div>

Most metrics are calculated based off of other data. Like connectivity is based off of the amount or refused, retransmitted requests etc. Failure rate is the same thing, its the percentage of requests factored against the number of failed requests.
