This repository was archived by the owner on Sep 16, 2021. It is now read-only.

Description
Currently we pass along the incoming X-Cloud-Trace-Context header to remote API calls and those are being sent to Google Cloud trace from the appserver.
We could use https://github.com/GoogleCloudPlatform/cloud-trace-java (though I think there is a new version coming up that would be part of AE lab apis) to allow both Jetty and application code to create Trace Spans. We should also use the "current" span id when setting up the X-Cloud-Trace-Context header in RemoteApi calls (to tie RPC to the correct span). Once request is completed we should collect the current Trace and all its created spans and send to the Google Cloud Trace.