ing
This commit is contained in:
parent
5ece354a26
commit
599d30e36b
|
@ -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());
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user