File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11{
22 "name" : " cloud-profiler-samples" ,
33 "version" : " 0.1.0" ,
4+ "private" : true ,
45 "description" : " Google Cloud Profiler samples" ,
56 "main" : " app.js" ,
67 "scripts" : {
78 "test" : " echo 'no test yet'"
89 },
10+ "engines" : {
11+ "node" : " >=10.4.1"
12+ },
913 "repository" : {
1014 "type" : " git" ,
1115 "url" : " git+https://github.com/googleapis/cloud-profiler-nodejs.git"
1216 },
1317 "author" : " Google LLC." ,
1418 "license" : " Apache-2.0" ,
15- "bugs " : {
16- "url " : " https://github.com/googleapis/cloud-profiler-nodejs/issues "
19+ "dependencies " : {
20+ "@google-cloud/profiler " : " ^3.0.1 "
1721 },
18- "homepage" : " https://github.com/googleapis/cloud-profiler-nodejs#readme"
22+ "files" : [
23+ " *.js"
24+ ]
1925}
Original file line number Diff line number Diff line change 1717// [START profiler_setup_nodejs_compute_engine]
1818require ( '@google-cloud/profiler' ) . start ( {
1919 serviceContext : {
20- service : 'your-service' ,
21- version : '1.0.0'
22- }
20+ service : 'your-service' ,
21+ version : '1.0.0' ,
22+ } ,
2323} ) ;
2424// [END profiler_setup_nodejs_compute_engine]
You can’t perform that action at this time.
0 commit comments