diff --git a/service/CollectorService.go b/service/CollectorService.go index c9e7baa..bbc574f 100644 --- a/service/CollectorService.go +++ b/service/CollectorService.go @@ -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) } }