[Explore]: Separate metrics of resources and invalid requests

git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-portal/trunk@57558 d315682c-612b-4755-9ff5-7f18f6832af3
This commit is contained in:
k.triantafyllou 2019-11-11 09:25:52 +00:00
parent 40b34e776b
commit 8bbcaec9bd
1 changed files with 1 additions and 1 deletions

View File

@ -109,7 +109,7 @@ app.get('*', (req, res) => {
} else { } else {
res.render('index', {req}); res.render('index', {req});
res.on('finish', function () { res.on('finish', function () {
responses.inc({route: '**', code: res.statusCode}); responses.inc({route: req.path, code: res.statusCode});
}); });
} }
}); });