Add some rmr library stats into metrics
[ric-plt/xapp-frame.git] / pkg / xapp / types.go
index fa88de7..6ae981a 100755 (executable)
@@ -29,7 +29,8 @@ type RMRClient struct {
        ready             int
        wg                sync.WaitGroup
        mux               sync.Mutex
-       stat              map[string]Counter
+       statc             map[string]Counter
+       statg             map[string]Gauge
        consumers         []MessageConsumer
        readyCb           ReadyCB
        readyCbParams     interface{}
@@ -83,9 +84,10 @@ type PortData struct {
 }
 
 type SymptomDataParams struct {
-       Timeout  uint64
-       FromTime uint64
-       ToTime   uint64
+       Timeout       uint64
+       FromTime      uint64
+       ToTime        uint64
+       importantOnly bool
 }
 
 // @todo: read these from config or somewhere else