Preparation for this chapter
Throughout this chapter, we'll be using various features of Stackdriver. In order for these examples to be meaningful, we'll want to have something to actually monitor. For this purpose, we'll deploy a set of services for a ToDo application. These services include a Node.js web service and a Spring Boot backend service running in the App Engine flexible environment, as well as a Cloud SQL MySQL instance for persisting our to-do list.
Note that these examples will not require any prior knowledge about the frameworks used. Both services can be built from tools already installed in the Cloud Shell. Refer to Chapter 4, Google App Engine, and Chapter 9, Relational Data with Cloud SQL and Cloud Spanner, for more information on these services:
We'll be touching on a few APIs in this chapter. Navigate to https://console.cloud.google.com/apis/library and make sure the following APIs are enabled:
- Stackdriver Logging API
- Stackdriver Monitoring API
- Stackdriver Debugger API
- Stackdriver...