Use GAE trace agent

This commit is contained in:
Michael Jackson
2019-08-02 17:07:17 -07:00
parent 3289881a21
commit 1c850c8662
6 changed files with 392 additions and 24 deletions

View File

@ -1,3 +1,7 @@
if (process.env.GAE_ENV === 'standard') {
require('@google-cloud/trace-agent').start();
}
import createServer from './createServer.js';
const server = createServer();