Node.js idiomatic client for Error Reporting.
Stackdriver Error Reporting aggregates and displays errors produced in your running cloud services.
Before running the samples, make sure you've followed the steps outlined in Using the client library.
cd samples
npm install
cd ..
Reports a simple error using explicit credentials.
View the source code.
Usage:
node explicitSetup.js
Starts and Express service with integrated error reporting.
View the source code.
Usage:
node express.js
Reports a simple error using implicit credentials.
View the source code.
Usage:
node implicitSetup.js
Manually reports errors.
View the source code.
Usage:
node manual.js
View the source code.
Usage:
node samples/quickstart.js