# Adding Error Details to Dashboard for Failed Requests

**URL:** <https://community.dynatrace.com/t/adding-error-details-to-dashboard-for-failed-requests/49252>\
**Category:** Dashboarding\
**Tags:** data-explorer, dashboards\
**Created:** [December 9, 2024, 5:42am UTC](https://community.dynatrace.com/t/adding-error-details-to-dashboard-for-failed-requests/49252 "2024-12-09T05:42:11Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![jatinarora](https://avatars.discourse-cdn.com/v4/letter/j/3ec8ea/32.png) [@jatinarora](https://community.dynatrace.com/u/jatinarora)\
**Post date:** [December 9, 2024, 5:42am UTC](https://community.dynatrace.com/t/adding-error-details-to-dashboard-for-failed-requests/49252/1 "2024-12-09T05:42:11Z")

</div>

Hi,

I have created a dashboard displaying metrics such as request count, average response time, maximum response time, and failed requests for specific lambdas/services.

The requirement now is to add another column that shows the reason for failed requests.  
For example, if a lambda function/service fails due to the error message “String: message ‘data update failed’”, we want the reason to be reflected in the dashboard. Is there a way to include this information in the dashboard?

 ![Added these four columns; now need to add one more to display the reason for failed requests.](https://global.discourse-cdn.com/dynatrace/original/3X/2/d/2d48cb18f27c0a02d8330c4dc9292f60a0868e59.png)

Thanks

---

<div class="post-metadata">

**Author:** ![Fin\_Ubels](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/fin_ubels/32/18008_2.png) [@Fin\_Ubels](https://community.dynatrace.com/u/Fin_Ubels)\
**Post date:** [December 9, 2024, 6:01am UTC](https://community.dynatrace.com/t/adding-error-details-to-dashboard-for-failed-requests/49252/2 "2024-12-09T06:01:25Z")

</div>

Hey&nbsp;[@jatinarora](https://community.dynatrace.com/user/81695)

I don’t believe this is possible on classic dashboards unless the value is included as a dimension on the metric used. Including it as a dimension could be problematic as well. If there are too many different values for a dimension then you could breach the limitations on classic metrics which can be found [here](https://docs.dynatrace.com/docs/discover-dynatrace/references/dynatrace-api/environment-api/metric-v2/best-practices#avoid-high-cardinality-limits).

If you are on SaaS, then you can explore querying the spans directly on new dashboards, docs for which can be found [here](https://docs.dynatrace.com/docs/analyze-explore-automate/distributed-tracing).

Hope this helps!

---

<div class="post-metadata">

**Author:** ![jatinarora](https://avatars.discourse-cdn.com/v4/letter/j/3ec8ea/32.png) [@jatinarora](https://community.dynatrace.com/u/jatinarora)\
**Post date:** [December 9, 2024, 10:40am UTC](https://community.dynatrace.com/t/adding-error-details-to-dashboard-for-failed-requests/49252/3 "2024-12-09T10:40:51Z")

</div>

Hi&nbsp;[@Fin\_Ubels](https://community.dynatrace.com/user/47376),

Thank you for your guidance! I explored querying the spans and was able to find what I was looking for. However, I’m unsure how to add this to the dashboard since I don’t see an option for it. Could you please assist me with this? I would greatly appreciate it.

Thanks

 ![jatinarora_0-1733740596782.png](https://global.discourse-cdn.com/dynatrace/original/3X/0/f/0f59014783333d17eee466bd86d8de34ddddbedc.png)

---

<div class="post-metadata">

**Author:** ![jatinarora](https://avatars.discourse-cdn.com/v4/letter/j/3ec8ea/32.png) [@jatinarora](https://community.dynatrace.com/u/jatinarora)\
**Post date:** [December 10, 2024, 9:55am UTC](https://community.dynatrace.com/t/adding-error-details-to-dashboard-for-failed-requests/49252/4 "2024-12-10T09:55:18Z")

</div>

Hi, is there any other way to do this?

Thanks

---

<div class="post-metadata">

**Author:** ![Fin\_Ubels](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/fin_ubels/32/18008_2.png) [@Fin\_Ubels](https://community.dynatrace.com/u/Fin_Ubels)\
**Post date:** [December 11, 2024, 1:39am UTC](https://community.dynatrace.com/t/adding-error-details-to-dashboard-for-failed-requests/49252/5 "2024-12-11T01:39:47Z")

</div>

Hey&nbsp;[@jatinarora](https://community.dynatrace.com/user/81695)

It looks like there might be something in your tenant preventing you from taking the query elsewhere. In the video from the docs [here](https://docs.dynatrace.com/docs/analyze-explore-automate/distributed-tracing/app-overview) there is an “Open With” button which I have confirmed exists in the playground tenant as well as my own. In the playground environment that “Open With” button shows in 2 spots as seen below.

 ![Fin_Ubels_0-1733880902239.png](https://global.discourse-cdn.com/dynatrace/original/3X/b/0/b0e3084eeb93e18866ade8f70979f42585434ccf.png)

2 things to try:

- Make sure the pre-reqs are met as outlined [here](https://docs.dynatrace.com/docs/analyze-explore-automate/distributed-tracing).
- Open a notebook, add a DQL tile and make sure you can run a query of “fetch spans”. If you can fetch spans then you could write the DQL query out manually.

Other than ensuring the pre-reqs are met I’m not sure what would cause the “Open With” button not to show up so I would recommend reaching out to support.

---

<div class="post-metadata">

**Author:** ![jatinarora](https://avatars.discourse-cdn.com/v4/letter/j/3ec8ea/32.png) [@jatinarora](https://community.dynatrace.com/u/jatinarora)\
**Post date:** [December 11, 2024, 6:37am UTC](https://community.dynatrace.com/t/adding-error-details-to-dashboard-for-failed-requests/49252/6 "2024-12-11T06:37:45Z")

</div>

Hi&nbsp;[@Fin\_Ubels](https://community.dynatrace.com/user/47376),

I was unable to fetch spans in the notebook, and I believe it’s because I don’t have DPS. This has been confirmed by the support center as well.

Thank you so much for your help!
