cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Adding Error Details to Dashboard for Failed Requests

jatinarora
Frequent Guest

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.Added these four columns; now need to add one more to display the reason for failed requests.
Thanks

5 REPLIES 5

Fin_Ubels
Dynatrace Champion
Dynatrace Champion

Hey @jatinarora 

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.

If you are on SaaS, then you can explore querying the spans directly on new dashboards, docs for which can be found here.

Hope this helps!

Hi @Fin_Ubels,

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

 

Hey @jatinarora 

It looks like there might be something in your tenant preventing you from taking the query elsewhere. In the video from the docs here 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

2 things to try:

  • Make sure the pre-reqs are met as outlined here.
  • 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. 

 

Hi @Fin_Ubels,

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!


jatinarora
Frequent Guest

Hi, is there any other way to do this?

Thanks

Featured Posts