[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:
parent
40b34e776b
commit
8bbcaec9bd
|
@ -109,7 +109,7 @@ app.get('*', (req, res) => {
|
|||
} else {
|
||||
res.render('index', {req});
|
||||
res.on('finish', function () {
|
||||
responses.inc({route: '**', code: res.statusCode});
|
||||
responses.inc({route: req.path, code: res.statusCode});
|
||||
});
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue