This commit is contained in:
crusader 2018-05-08 20:05:35 +09:00
parent 5ece354a26
commit 599d30e36b

View File

@ -82,7 +82,7 @@ public class ContainerCollectorService implements CollectorService {
Runnable task = () -> { Runnable task = () -> {
try { try {
Map<String, String> result = crawlerService.get(sensorConfig.getConfigID()); Map<String, String> result = crawlerService.get(sensorConfig.getConfigID());
probeService.send("DataService.Metric", result); probeService.send("DataService.Metric", sensorConfig.getConfigID(), result);
} catch (Exception e) { } catch (Exception e) {
logger.error("Cannot get data from crawler[%s] %s", sensorConfig.getCrawler().getName(), e.getMessage()); logger.error("Cannot get data from crawler[%s] %s", sensorConfig.getCrawler().getName(), e.getMessage());
} }