#support

Creating Dashboard for Displaying Crash Signal Peaks

TLDR Milan wants to create a dashboard to show crash signal peaks and return to 0 after some time. Srikanth and Ankit suggested using a counter metric, but Milan needs to investigate further.

Powered by Struct AI
May 24, 2023 (4 months ago)
Milan
Photo of md5-2f1595079fdf2f9da7cf336b4e3395d3
Milan
01:32 PM
Hi all. Hope someone can point me in right direction:

My application is sending signal that something crashed on backend.
I want to create dashboard that need to show that crush and and after some time to return to 0

When I select it function COUNT it always add values and is not good way to represent this signal
When I select MAX it is always showing 1 event that happened

I want to 0 and when it happens I want to show peek? Anyone has idea how to set this up?
Thanks
Image 1 for Hi all. Hope someone can point me in right direction:

My application is sending signal that something  crashed on backend.
I want to create dashboard that need to show that crush and and after some time to return to 0

When I select it function COUNT it always add values and is not good way to represent this signal
When I select MAX it is always showing 1 event that happened

I want to 0 and when it happens I want to show peek? Anyone has idea how to set this up?
Thanks
Srikanth
Photo of md5-ce04a9988e2fd758a659dc55be6f2543
Srikanth
02:49 PM
Does the application also send 0 zero after returned to regular state?
Milan
Photo of md5-2f1595079fdf2f9da7cf336b4e3395d3
Milan
02:50 PM
no, it can just caught exception and send signal
Srikanth
Photo of md5-ce04a9988e2fd758a659dc55be6f2543
Srikanth
02:52 PM
Is this part of trace event?
Milan
Photo of md5-2f1595079fdf2f9da7cf336b4e3395d3
Milan
02:52 PM
no it is independent crash event
Srikanth
Photo of md5-ce04a9988e2fd758a659dc55be6f2543
Srikanth
02:52 PM
Is it recorded as a metric? How is it sent to SigNoz?
Milan
Photo of md5-2f1595079fdf2f9da7cf336b4e3395d3
Milan
02:53 PM
yes, it is recorder as metrics
Srikanth
Photo of md5-ce04a9988e2fd758a659dc55be6f2543
Srikanth
02:54 PM
What is the metric type for this measurement?
Milan
Photo of md5-2f1595079fdf2f9da7cf336b4e3395d3
Milan
02:57 PM
not sure how to find it, I will investigate and get back to you. Thanks for your answers
May 26, 2023 (4 months ago)
Milan
Photo of md5-2f1595079fdf2f9da7cf336b4e3395d3
Milan
08:08 AM
I have to dig deeper into this. I can’t find best metric type and metric for my use case
Ankit
Photo of md5-dbe7088320fe1d922707613e02f3420d
Ankit
12:21 PM
> I have to dig deeper into this. I can’t find best metric type and metric for my use case
Milan You are creating the metric right? You can check in code how it is created?
12:22
Ankit
12:22 PM
Srikanth a counter should be okay here to use?
Srikanth
Photo of md5-ce04a9988e2fd758a659dc55be6f2543
Srikanth
12:38 PM
Yes, that should work. When you apply rate it will come down to zero when there is no change in error count since last interval.
Milan
Photo of md5-2f1595079fdf2f9da7cf336b4e3395d3
Milan
03:21 PM
If I use counter if will just sum up all errors. I need more investigation on my side to get this right. Thanks for your time