X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=pkg%2Fxapp%2Ftypes.go;h=6ae981a9af48e968fbf4301bbd4b3ec23821a47c;hb=79f0680fd7bbf1c8a8c6e2a842cb18020e387a47;hp=c9fe1ec62cfc66bb4ed6bd515e5c5557df664200;hpb=256c304042f0cd6c766db505fe5b03bbc3163fef;p=ric-plt%2Fxapp-frame.git diff --git a/pkg/xapp/types.go b/pkg/xapp/types.go index c9fe1ec..6ae981a 100755 --- a/pkg/xapp/types.go +++ b/pkg/xapp/types.go @@ -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{} @@ -82,6 +83,13 @@ type PortData struct { MaxRetryOnFailure int } +type SymptomDataParams struct { + Timeout uint64 + FromTime uint64 + ToTime uint64 + importantOnly bool +} + // @todo: read these from config or somewhere else const ( SERVICE_HTTP = "SERVICE_%s_%s_HTTP_PORT"