From 71596089d844f048d042b86b5c51d3e77c1a9266 Mon Sep 17 00:00:00 2001 From: "Benjamin E. Coe" Date: Mon, 23 Dec 2019 23:29:20 -0500 Subject: [PATCH] docs: update jsdoc license/samples-README (#340) --- monitoring/snippets/README.md | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/monitoring/snippets/README.md b/monitoring/snippets/README.md index 7d6f61cf4a..f5ea0e5570 100644 --- a/monitoring/snippets/README.md +++ b/monitoring/snippets/README.md @@ -24,6 +24,12 @@ and a variety of common application components including Cassandra, Nginx, Apach Before running the samples, make sure you've followed the steps outlined in [Using the client library](https://github.com/googleapis/nodejs-monitoring#using-the-client-library). +`cd samples` + +`npm install` + +`cd ..` + ## Samples @@ -37,7 +43,7 @@ View the [source code](https://github.com/googleapis/nodejs-monitoring/blob/mast __Usage:__ -`node alerts.js` +`node samples/alerts.js` ----- @@ -54,7 +60,7 @@ View the [source code](https://github.com/googleapis/nodejs-monitoring/blob/mast __Usage:__ -`node metrics.js` +`node samples/metrics.js` ----- @@ -71,7 +77,7 @@ View the [source code](https://github.com/googleapis/nodejs-monitoring/blob/mast __Usage:__ -`node quickstart.js` +`node samples/quickstart.js` ----- @@ -88,7 +94,7 @@ View the [source code](https://github.com/googleapis/nodejs-monitoring/blob/mast __Usage:__ -`node uptime.js` +`node samples/uptime.js` @@ -97,4 +103,4 @@ __Usage:__ [shell_img]: https://gstatic.com/cloudssh/images/open-btn.png [shell_link]: https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-monitoring&page=editor&open_in_editor=samples/README.md -[product-docs]: https://cloud.google.com/monitoring/docs \ No newline at end of file +[product-docs]: https://cloud.google.com/monitoring/docs