Skip to content

Latest commit

 

History

History
 
 

samples

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

Stackdriver Trace for Node.js Sample Application

This sample demonstrates using Stackdriver Trace with Node.js.

Node 8+ is required for this sample.

Setup

Before you can run or deploy the sample, you need to do the following:

  1. Refer to the this README file for instructions on running and deploying.

  2. Install dependencies:

    npm install
    

Running locally

npm start

Deploying to App Engine

Ensure that you have an up-to-date gcloud (run gcloud components update), and then:

npm run deploy

Viewing Traces

Use the Stackdriver Trace dashboard to inspect recorded traces.