...
|
...
|
@@ -9,9 +9,9 @@ const { |
|
|
handleWebServerDuration
|
|
|
} = require('./serverapm-service');
|
|
|
|
|
|
const riskService = require('./risk-service');
|
|
|
//const riskService = require('./risk-service');
|
|
|
|
|
|
const handleRisk = riskService();
|
|
|
//const handleRisk = riskService();
|
|
|
|
|
|
const server = {
|
|
|
async handle(data) {
|
...
|
...
|
@@ -26,7 +26,7 @@ const server = { |
|
|
switch (m.measurement) {
|
|
|
case 'web-server-duration': {
|
|
|
handleWebServerDuration(m);
|
|
|
await handleRisk(m);
|
|
|
//await handleRisk(m);
|
|
|
break;
|
|
|
}
|
|
|
case 'error-report': {
|
...
|
...
|
|