Hi there,
I've started to look at using the new CloudTrace API to add information on CloudSQL requests to traces on AppEngine requests, which we desperately need, but I encountered two challenges:
First, even batching all the traces for a request together in a single API call adds about 100 ms latency to the request (that's the /urlfetch.Fetch bar below), which I don't think I can stomach in production. Is there anyway to piggy back custom trace data onto AppEngine's existing reporting mechanism, which seems to run independently of requests?
Second, is there any way to detect which requests AppEngine has sampled for tracing so that we only spend the time to report traces for those that are sampled for RPC traces?
Thanks,
Alex
