October 2017
Intermediate to advanced
326 pages
7h 20m
English
Stackdriver can monitor standalone applications by capturing metrics and logs. It has support for major platforms and libraries, so our technology choices should not be a concern. In this case, we are going to create a Node.js application for several reasons:
The first thing we need to do is write a small Node.js application. Create a new folder and execute this command:
npm init
Follow the instructions on the screen and you should now have package.json in the folder that you just created. Now it is time to install the dependencies:
npm install --save ...