'use strict' ; import { Router , RequestHandler , Request , Response , NextFunction } from 'express' ; import { Monitoring } from '@Monitoring/Monitoring' ; import { Config } from '@Base/config' ; import { Logger } from '@Tools/Logging' ; const procAllStats = async ( req , resp , next ) => { Monitoring . event ( 'apiRequests' , 1 ) ; next ( ) ; } ; export const name = "Request stats" ; export const router = Router ( ) . use ( procAllStats ) ;