Using Cloud Diagnostics
Google Cloud Platform provides diagnostic tools that software developers can use to collect information about the performance and functioning of their applications. Specifically, developers can use Cloud Trace and Cloud Debug to collect data as their applications execute.
Overview of Cloud Trace
Cloud Trace is a distributed tracing system for collecting latency data from an application. This helps developers understand where applications are spending their time and to identify cases where performance is degrading. Figure 18.34 shows the overview page of the Cloud Trace service.

FIGURE 18.34 Overview of Cloud Trace
From the Cloud Trace console, you can list traces generated by applications running in a project. Traces are generated when developers specifically call Cloud Trace from their applications. In addition to seeing lists of traces, you can create reports that filter trace data according to report criteria (see Figure 18.35).

FIGURE 18.35 Creating...