From 794b2c9ba555e46bfa91d38e8808d9722a754123 Mon Sep 17 00:00:00 2001 From: crusader Date: Tue, 8 May 2018 20:04:30 +0900 Subject: [PATCH] ing --- service/CollectorService.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) } }