Investigating application performance issues
Observability doesn't only apply to the systems and the environment where the applications run. It is also useful to observe what is going on inside your applications, down to a specific line of code. In Google Cloud, the suite of tools that allow you to perform these tasks includes: Cloud Debugger, Cloud Trace, and Cloud Profiler. In this section, we're going to learn what we can do with each of them.
Cloud Debugger
Cloud Debugger allows you to inspect the state of an application in real time by capturing its call stack and variables at any point in your source code using non-intrusive snapshots. The service is not impacted while you do this, so you can run it in production code. You can run Debugger on any compute service and against code written in several languages, namely: Java, Python, Go, Node.js, Ruby, .NET, and PHP. However, not all features are available in all combinations of language and runtime. You provide Debugger...