...
|
...
|
@@ -73,7 +73,7 @@ function handleClientError(scope, item) { |
|
|
ip: scope.ip
|
|
|
});
|
|
|
|
|
|
logger.info('[client] error info [%s]', JSON.stringify(row));
|
|
|
logger.debug('[client] error info [%s]', JSON.stringify(row));
|
|
|
errorRouterSqlSender.addMessage(row);
|
|
|
}
|
|
|
|
...
|
...
|
@@ -126,7 +126,7 @@ function handleClientFirst(scope, item) { |
|
|
}
|
|
|
});
|
|
|
|
|
|
logger.info('[client] slow route info [%s]', JSON.stringify(data));
|
|
|
logger.debug('[client] slow route info [%s]', JSON.stringify(data));
|
|
|
|
|
|
if (duration > config.slowRoute.min && duration < config.slowRoute.max) {
|
|
|
slowRouterSqlSender.addMessage(msg2row.slowRouter(data));
|
...
|
...
|
@@ -172,7 +172,7 @@ async function handleClientTiming(scope, item) { |
|
|
|
|
|
_.merge(data, ipInfo);
|
|
|
|
|
|
logger.info('[client] perf info [%s]', JSON.stringify(data));
|
|
|
logger.debug('[client] perf info [%s]', JSON.stringify(data));
|
|
|
|
|
|
perfReportSqlSender.addMessage(data);
|
|
|
}
|
...
|
...
|
|