diff --git a/app/server/index.js b/app/server/index.js index 1e01a78b..25182306 100644 --- a/app/server/index.js +++ b/app/server/index.js @@ -4,7 +4,9 @@ process.on('unhandledRejection', (err) => { }); if (process.env.ENABLE_STACKDRIVER_TRACE) { - require('@google-cloud/trace-agent').start(); + require('@google-cloud/trace-agent').start({ + ignoreUrls: ['^/assets', '^/favicon.ico$', '^/robots.txt$'], + }); } const express = require('express');