Skip to content

Latest commit

 

History

History
25 lines (20 loc) · 1.24 KB

gcp-instrumentation.md

File metadata and controls

25 lines (20 loc) · 1.24 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, set one or more of the DISABLE_STATS, DISABLE_TRACING, etc. fields to 0. This re-enables the integrations. You 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"