Added node.js tracing

This commit is contained in:
morganmclean 2018-07-11 15:13:13 -07:00
parent af71f8f9b0
commit 59430d5854
6 changed files with 1518 additions and 305 deletions

File diff suppressed because it is too large Load diff

View file

@ -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",

View file

@ -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');

File diff suppressed because it is too large Load diff

View file

@ -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",

View file

@ -1,3 +1,4 @@
require('@google-cloud/trace-agent').start();
const grpc = require('grpc');
const protoLoader = require('@grpc/proto-loader');