Fix counter name to avoid crash 57/7557/1
authorsubhash kumar singh <subh.singh@samsung.com>
Thu, 13 Jan 2022 09:47:16 +0000 (09:47 +0000)
committersubhash kumar singh <subh.singh@samsung.com>
Thu, 13 Jan 2022 10:02:20 +0000 (15:32 +0530)
Fix counter name to avoid crash.

Signed-off-by: subhash kumar singh <subh.singh@samsung.com>
Change-Id: Icd14dc07432ce083ab3ec81308aa99adbb27cd3d

hwApp.go

index 40a8b71..14dd4f6 100755 (executable)
--- a/hwApp.go
+++ b/hwApp.go
@@ -247,7 +247,7 @@ func main() {
        }
 
        hw := HWApp{
-               stats: xapp.Metric.RegisterCounterGroup(metrics, "hw-go"), // register counter
+               stats: xapp.Metric.RegisterCounterGroup(metrics, "hw_go"), // register counter
        }
        hw.Run()
 }