ing
This commit is contained in:
parent
fd4bdf3551
commit
794b2c9ba5
@ -116,7 +116,7 @@ func (s *CollectorService) collectTask(sensorConfig *ocmsc.SensorConfig) {
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
if err := s.ProbeService.Send("DataService.Metric", result); nil != err {
|
if err := s.ProbeService.Send("DataService.Metric", sensorConfig.ConfigID, result); nil != err {
|
||||||
logging.Logger().Errorf("Cannot send data from config id[%s] of crawler[%s] %v", sensorConfig.ConfigID, sensorConfig.Crawler.Name, err)
|
logging.Logger().Errorf("Cannot send data from config id[%s] of crawler[%s] %v", sensorConfig.ConfigID, sensorConfig.Crawler.Name, err)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user