This sample demonstrates StackDriver Trace with Node.js.
Where appropriate, replace [YOUR_PROJECT_ID]
with the ID of your Cloud project.
-
git clone https://github.com/GoogleCloudPlatform/nodejs-docs-samples.git
-
cd nodejs-docs-samples/trace
-
Deploy the app:
gcloud app deploy
-
Visit the deployed app at https://[YOUR_PROJECT_ID].appspot.com/.
-
Use the StackDriver Trace dashboard to inspect recorded traces.