Documentation ¶
Index ¶
- func New(ctx context.Context, protoInstance proto.Instance) analyzer.Analyzer
- type MongoAnalyzer
- func (m *MongoAnalyzer) Config() pc.QAN
- func (m *MongoAnalyzer) GetDefaults(uuid string) map[string]interface{}
- func (m *MongoAnalyzer) SetConfig(setConfig pc.QAN)
- func (m *MongoAnalyzer) Start() error
- func (m *MongoAnalyzer) Status() map[string]string
- func (m *MongoAnalyzer) Stop() error
- func (m *MongoAnalyzer) String() string
- type Profiler
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type MongoAnalyzer ¶
type MongoAnalyzer struct { // state sync.RWMutex // Lock() to protect internal consistency of the service // contains filtered or unexported fields }
MongoAnalyzer
func (*MongoAnalyzer) Config ¶
func (m *MongoAnalyzer) Config() pc.QAN
Config returns analyzer running configuration
func (*MongoAnalyzer) GetDefaults ¶
func (m *MongoAnalyzer) GetDefaults(uuid string) map[string]interface{}
func (*MongoAnalyzer) SetConfig ¶
func (m *MongoAnalyzer) SetConfig(setConfig pc.QAN)
SetConfig sets the config
func (*MongoAnalyzer) Start ¶
func (m *MongoAnalyzer) Start() error
Start starts analyzer but doesn't wait until it exits
func (*MongoAnalyzer) Status ¶
func (m *MongoAnalyzer) Status() map[string]string
Status returns list of statuses
func (*MongoAnalyzer) Stop ¶
func (m *MongoAnalyzer) Stop() error
Stop stops running analyzer, waits until it stops
func (*MongoAnalyzer) String ¶
func (m *MongoAnalyzer) String() string
String returns human readable identification of Analyzer
Click to show internal directories.
Click to hide internal directories.