July 2017
Intermediate to advanced
402 pages
9h 38m
English
As you might expect, there are several ways to add metrics. You can either opt for a generic protocol, such as StatsD, which will let you reuse your metrics across a variety of products, both SaaS and open source, or, if you want to get something working quickly, use the AWS native SDK. Both options have pros and cons, but we will focus on the AWS native SDK.
We will once again start off from the root directory of our helloworld application. We will first start by installing the AWS SDK for JavaScript as follows:
$ npm install aws-sdk --save
This will install into the node_modules directory the library and its dependencies and update the package.json file.
Once the library is installed, open the ...
Read now
Unlock full access