This sample demonstrates StackDriver Trace with Node.js.
Before you can run or deploy the sample, you need to do the following:
-
Refer to the appengine/README.md file for instructions on running and deploying.
-
[Create a Google Analytics Property and obtain the Tracking ID][tracking].
-
Add your tracking ID to
app.yaml
. -
Install dependencies:
With
npm
:npm install
or with
yarn
:yarn install
With npm
:
npm start
or with yarn
:
yarn start
With npm
:
npm run deploy
or with yarn
:
yarn run deploy
Use the Stackdriver Trace dashboard to inspect recorded traces.
See Contributing.