Skip to content

Latest commit

 

History

History
31 lines (26 loc) · 1.22 KB

gcp-instrumentation.md

File metadata and controls

31 lines (26 loc) · 1.22 KB

Integrating Online Boutique with Google Cloud

By default, Google Cloud Operations instrumentation is turned off for Online Boutique deployments. This includes Monitoring (Stats), Tracing, Profiler, and Debugger. This means that even if you're running this app on GKE, traces (for example) will not be exported to Google Cloud Trace.

You can see the instrumentation status in your deployment by opening one of the Deployment YAML files and seeing:

- name: DISABLE_STATS
value: "1"
- name: DISABLE_TRACING
value: "1"
- name: DISABLE_PROFILER
value: "1"

If you are running this app on GKE, and want to re-enable Google Cloud Operations instrumentation, remove those environment variables from deployment YAML. This can re-enable some or all of these integrations, for some or all Online Boutique services. Note that you will accumulate Google Cloud Operations billing if you re-enable these fields.

- name: DISABLE_STATS
value: "0"
- name: DISABLE_TRACING
value: "0"
- name: DISABLE_PROFILER
value: "0"