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.

Photo of Milan
Milan
Wed, 24 May 2023 13:32:04 UTC

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

Photo of Srikanth
Srikanth
Wed, 24 May 2023 14:49:38 UTC

Does the application also send 0 zero after returned to regular state?

Photo of Milan
Milan
Wed, 24 May 2023 14:50:27 UTC

no, it can just caught exception and send signal

Photo of Srikanth
Srikanth
Wed, 24 May 2023 14:52:00 UTC

Is this part of trace event?

Photo of Milan
Milan
Wed, 24 May 2023 14:52:24 UTC

no it is independent crash event

Photo of Srikanth
Srikanth
Wed, 24 May 2023 14:52:58 UTC

Is it recorded as a metric? How is it sent to SigNoz?

Photo of Milan
Milan
Wed, 24 May 2023 14:53:17 UTC

yes, it is recorder as metrics

Photo of Srikanth
Srikanth
Wed, 24 May 2023 14:54:22 UTC

What is the metric type for this measurement?

Photo of Milan
Milan
Wed, 24 May 2023 14:57:55 UTC

not sure how to find it, I will investigate and get back to you. Thanks for your answers

Photo of Milan
Milan
Fri, 26 May 2023 08:08:33 UTC

I have to dig deeper into this. I can’t find best metric type and metric for my use case

Photo of Ankit
Ankit
Fri, 26 May 2023 12:21:39 UTC

> 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?

Photo of Ankit
Ankit
Fri, 26 May 2023 12:22:50 UTC

Srikanth a counter should be okay here to use?

Photo of Srikanth
Srikanth
Fri, 26 May 2023 12:38:50 UTC

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.

Photo of Milan
Milan
Fri, 26 May 2023 15:21:19 UTC

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