Latency is one of Google Cloud’s Four Golden Signals when it comes to Service Level Indicators – and it’s easy to see why. When an application suffers from increased latency, the user experience is a highly negative one: suddenly what was regarded as a reliable application becomes, at best, suspect and, at worst, dismissed as unreliable. Google Cloud’s Cloud Trace makes it possible for developers and SREs to keep a close eye on latency analytics. In this Hands-On Lab, you’ll create the infrastructure for the app and then trigger it so you can see how Cloud Trace works, first-hand.
Learning Objectives
Successfully complete this lab by achieving the following learning objectives:
- Set up necessary infrastructure.
Create the needed Kubernetes cluster and work with existing YAML files to create a Docker image of an app and push it to the Container Registry.
- Deploy a Python app with additional services.
Customize a bash script and then run it to deploy the app and three load balancers.
- Execute a request.
Using Cloud Shell, execute a curl command in the proper syntax to send a request to one of the load balancers and begin the tracing.
- Review Cloud Trace analytics.
Identify traces and spans resulting from the submitted request and response and review the latency data.