# How do I calculate the total response time for lambda function

**URL:** <https://community.dynatrace.com/t/how-do-i-calculate-the-total-response-time-for-lambda-function/50001>\
**Category:** DQL\
**Tags:** dql, dynatrace-managed, logs\
**Created:** [January 29, 2025, 11:09pm UTC](https://community.dynatrace.com/t/how-do-i-calculate-the-total-response-time-for-lambda-function/50001 "2025-01-29T23:09:06Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![susmita\_k](https://avatars.discourse-cdn.com/v4/letter/s/7993a0/32.png) [@susmita\_k](https://community.dynatrace.com/u/susmita_k)\
**Post date:** [January 29, 2025, 11:09pm UTC](https://community.dynatrace.com/t/how-do-i-calculate-the-total-response-time-for-lambda-function/50001/1 "2025-01-29T23:09:06Z")

</div>

How do I calculate the total response time for lambda function?

---

<div class="post-metadata">

**Author:** ![p\_devulapalli](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/p_devulapalli/32/41590_2.png) [@p\_devulapalli](https://community.dynatrace.com/u/p_devulapalli)\
**Post date:** [January 30, 2025, 12:18am UTC](https://community.dynatrace.com/t/how-do-i-calculate-the-total-response-time-for-lambda-function/50001/2 "2025-01-30T00:18:03Z")

</div>

[@susmita\_k](https://community.dynatrace.com/user/67050)&nbsp;- These is a response time metric available when you drill down to the lambda function. I think it would be “dt.cloud.aws.lambda.duration” if you are querying from DQL

 ![p_devulapalli_0-1738195893949.png](https://global.discourse-cdn.com/dynatrace/original/3X/2/4/24b46491494bb94d6f8830db2fcd3a343f077b8b.png)
