Added node.js tracing
This commit is contained in:
parent
af71f8f9b0
commit
59430d5854
6 changed files with 1518 additions and 305 deletions
786
src/currencyservice/package-lock.json
generated
786
src/currencyservice/package-lock.json
generated
File diff suppressed because it is too large
Load diff
|
@ -5,6 +5,7 @@
|
|||
"repository": "TODO",
|
||||
"license": "Apache-2.0",
|
||||
"dependencies": {
|
||||
"@google-cloud/trace-agent": "^2.11.0",
|
||||
"async": "^1.5.2",
|
||||
"google-protobuf": "^3.0.0",
|
||||
"grpc": "^1.0.0",
|
||||
|
|
|
@ -14,6 +14,8 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
require('@google-cloud/trace-agent').start();
|
||||
|
||||
const path = require('path');
|
||||
const grpc = require('grpc');
|
||||
const request = require('request');
|
||||
|
|
1032
src/paymentservice/package-lock.json
generated
1032
src/paymentservice/package-lock.json
generated
File diff suppressed because it is too large
Load diff
|
@ -9,6 +9,7 @@
|
|||
"author": "Jonathan Lui",
|
||||
"license": "ISC",
|
||||
"dependencies": {
|
||||
"@google-cloud/trace-agent": "^2.11.0",
|
||||
"@grpc/proto-loader": "^0.1.0",
|
||||
"grpc": "^1.12.3",
|
||||
"simple-card-validator": "^1.1.0",
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
require('@google-cloud/trace-agent').start();
|
||||
const grpc = require('grpc');
|
||||
const protoLoader = require('@grpc/proto-loader');
|
||||
|
||||
|
|
Loading…
Reference in a new issue