Enabling Zipkin Tracing
Page last updated:
Warning: VMware Tanzu Application Service for VMs (TAS for VMs) v2.9 is no longer supported because it has reached the End of General Support (EOGS) phase as defined by the Support Lifecycle Policy. To stay up to date with the latest software and security updates, upgrade to a supported version.
Zipkin is a tracing system that enables app developers to troubleshoot failures or latency issues. Zipkin provides the ability to trace requests and responses across distributed systems. For more information, see Zipkin.io.
Zipkin tracing is enabled by default in VMware Tanzu Application Service for VMs (TAS for VMs). To disable this feature:
Navigate to the Ops Manager Installation Dashboard.
Click the TAS for VMs tile.
Deselect the Enable Zipkin tracing headers on the Gorouter checkbox.
For more information about how the Gorouter works with HTTP headers and Zipkin tracing, see the HTTP Headers section of the HTTP Routing topic.
To trace app requests and responses in VMware Tanzu Application Service for VMs (TAS for VMs), apps must also log Zipkin headers.
After adding Zipkin HTTP headers to app logs, developers can use
cf logs myapp to correlate the trace and span IDs logged by the Gorouter with the trace IDs logged by their app. To correlate trace IDs for a request through multiple apps, each app must forward appropriate values for the headers with requests to other apps.