Fixed Debugger config for node services
This commit is contained in:
parent
cca50463ee
commit
bfb740c079
2 changed files with 12 additions and 2 deletions
|
@ -21,7 +21,12 @@ require('@google-cloud/profiler').start({
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
require('@google-cloud/trace-agent').start();
|
require('@google-cloud/trace-agent').start();
|
||||||
require('@google-cloud/debug-agent').start();
|
require('@google-cloud/debug-agent').start({
|
||||||
|
serviceContext: {
|
||||||
|
service: 'currencyservice',
|
||||||
|
version: 'VERSION'
|
||||||
|
}
|
||||||
|
})
|
||||||
|
|
||||||
const path = require('path');
|
const path = require('path');
|
||||||
const grpc = require('grpc');
|
const grpc = require('grpc');
|
||||||
|
|
|
@ -23,7 +23,12 @@ require('@google-cloud/profiler').start({
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
require('@google-cloud/trace-agent').start();
|
require('@google-cloud/trace-agent').start();
|
||||||
require('@google-cloud/debug-agent').start();
|
require('@google-cloud/debug-agent').start({
|
||||||
|
serviceContext: {
|
||||||
|
service: 'paymentservice',
|
||||||
|
version: 'VERSION'
|
||||||
|
}
|
||||||
|
})
|
||||||
|
|
||||||
const HipsterShopServer = require('./server');
|
const HipsterShopServer = require('./server');
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue