File tree 2 files changed +6
-10
lines changed
2 files changed +6
-10
lines changed Original file line number Diff line number Diff line change 20
20
1 . Read [ Prerequisites] [ prereq ] and [ How to run a sample] [ run ] first.
21
21
1 . Install dependencies:
22
22
23
- With ` npm ` :
23
+ With ** npm** :
24
24
25
25
npm install
26
26
27
- With ` yarn ` :
27
+ With ** yarn** :
28
28
29
29
yarn install
30
30
35
35
36
36
### Metrics
37
37
38
-
39
38
View the [ documentation] [ metrics_0_docs ] or the [ source code] [ metrics_0_code ] .
40
39
41
40
__ Usage:__ ` node metrics.js --help `
@@ -84,7 +83,6 @@ For more information, see https://cloud.google.com/monitoring/docs
84
83
85
84
### Listing resources
86
85
87
-
88
86
View the [ documentation] [ list_1_docs ] or the [ source code] [ list_1_code ] .
89
87
90
88
` list_resources.js ` is a command-line program to demonstrate connecting to the
@@ -101,7 +99,6 @@ node list_resources my-cool-project
101
99
102
100
### Custom metrics
103
101
104
-
105
102
View the [ documentation] [ metrics_2_docs ] or the [ source code] [ metrics_2_code ] .
106
103
107
104
` create_custom_metric.js ` demonstrates how to create a custom metric, write a
@@ -118,15 +115,14 @@ node create_custom_metric my-cool-project
118
115
119
116
## Running the tests
120
117
121
- 1 . Set the ` GCLOUD_PROJECT ` and ` GOOGLE_APPLICATION_CREDENTIALS ` environment
122
- variables.
118
+ 1 . Set the ** GCLOUD_PROJECT** and ** GOOGLE_APPLICATION_CREDENTIALS** environment variables.
123
119
124
120
1 . Run the tests:
125
121
126
- With ` npm ` :
122
+ With ** npm** :
127
123
128
124
npm test
129
125
130
- With ` yarn ` :
126
+ With ** yarn** :
131
127
132
128
yarn test
Original file line number Diff line number Diff line change 24
24
"yargs" : " 7.1.0"
25
25
},
26
26
"devDependencies" : {
27
- "@google-cloud/nodejs-repo-tools" : " 1.4.7 " ,
27
+ "@google-cloud/nodejs-repo-tools" : " 1.4.13 " ,
28
28
"ava" : " 0.19.1" ,
29
29
"proxyquire" : " 1.7.11" ,
30
30
"sinon" : " 2.1.0"
You can’t perform that action at this time.
0 commit comments