09 Dec 2024 05:42 AM
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?
Thanks
Solved! Go to Solution.
09 Dec 2024 06:01 AM
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!
09 Dec 2024 10:40 AM
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
11 Dec 2024 01:39 AM
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.
2 things to try:
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.
11 Dec 2024 06:37 AM
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!
10 Dec 2024 09:55 AM
Hi, is there any other way to do this?
Thanks