[google-appengine] Cloud Trace API

2016-02-29 Thread Jay Kyburz
Is it possible to log custom events for Cloud Trace in my Python App Engine 
App?

THe Docs seems to suggest its possible but a nice clear example would 
really help.

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/5b5cf8d6-3743-4d9a-a2e1-1ca3899bcf3a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Cloud Trace API on AppEngine - latency and other questions

2016-01-28 Thread Alexander Bertram
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




-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/0968a1ca-db6d-440d-983f-dc5182097aa3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.