This commit is contained in:
crusader 2018-05-08 20:04:30 +09:00
parent fd4bdf3551
commit 794b2c9ba5

View File

@ -116,7 +116,7 @@ func (s *CollectorService) collectTask(sensorConfig *ocmsc.SensorConfig) {
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)
}
}