The Cloud Operations Sandbox is intended to make it easy for you to deploy and run a non-trivial application that lets you explore the Google Cloud Platform services, particularly the Ops Management (formerly Stackdriver) product suite. Ops Management is a suite of tools that helps you gain full observability into your code and applications.
The Hipster Shop application used in the sandbox is intended to be sufficiently complex such that you can meaningfully experiment with it, and the Sandbox automatically provisions a new demo cluster, configures and deploys Hipster Shop, and simulates real users.
With the Sandbox running, you can experiment with various Ops Management tools to solve problems and accomplish standard SRE tasks in a sandboxed environment without impacting your production monitoring setup.
Architecture of the Hipster Shop application
The Hipster Shop application consists of a number of microservices, written in a variety of languages, that talk to each other over gRPC.
Note: We are not endorsing this architecture as the best way to build a real online store. This application is optimized for demonstration and learning purposes. It illustrates a large number of cloud-native technologies, uses a variety of programming languages, and provides an environment that can be explored productively with Ops Management tools.
The Git repository you cloned has all the source code, so you can explore the implementation details of the application. See the repository README for a guided tour.
You must have an active Google Cloud Platform Billing Account. If you already have one, you can skip this section.
Otherwise, to create a GCP Billing Account, do the following:
- Go to the Google Cloud Platform Console and sign in (if you have an account), or sign up (if you don’t have an account).
- Select Billing from the navigation panel and follow the instructions.
For more information, see “Create a new billing account”.
OpenCensus to become OpenTelemetry
The Cloud Operations Sandbox project uses the OpenCensus libraries for collection of traces and metrics. OpenCensus provides a set of open-source libraries for a variety of languages, and the trace/metric data collected with these libraries can be exported to a variety of backends, including Cloud Monitoring.
For the next major release, OpenCensus is combining with the OpenTracing project to create a single solution, called OpenTelemetry. OpenTelemetry will support basic context propagation, distributed traces, metrics, and other signals in the future, superseding both OpenCensus and OpenTracing.