Fix counter name to avoid crash
[ric-app/hw-go.git] / 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()
 }