lib/instrumentation/express-utils.js
function routePath (route) {
  if (!route) return ''
  return route.path || (route.regexp && route.regexp.source) || ''
}
function routePath (route) {
  if (!route) return ''
  return route.path || (route.regexp && route.regexp.source) || ''
}
function routePath ( route ) { if ( ! route ) return '' return route . path || ( route . regexp && route . regexp . source ) || '' }
This works for both express AND restify
This works for both express AND restify