This sample demonstrates using Stackdriver Trace with Node.js.
Node 8+ is required for this sample.
Before you can run or deploy the sample, you need to do the following:
-
Refer to the this README file for instructions on running and deploying.
-
Install dependencies:
npm install
npm start
Ensure that you have an up-to-date gcloud
(run gcloud components update
), and then:
npm run deploy
Use the Stackdriver Trace dashboard to inspect recorded traces.