how to enable Traces for request from delay package

22 views
Skip to first unread message

jittuu

unread,
Jun 21, 2016, 1:02:55 PM6/21/16
to google-appengine-go
Hi All,

As I title suggested, I can't get traces working for delay package's requests. Here is how I invoke delay func.

var (
registerationRewardFunc = delay.Func("registration-rewards", registrationReward)
)

func registrationRewardHandler(w http.ResponseWriter, r *http.Request) {
c := appengine.NewContext(r)
err := registerationRewardFunc.Call(c)
checkErr(err)
}

func registrationReward(c context.Context) error {
// I use `c` from now on
        ....
        ....
}


When I try to view traces for the uri "_ah/queue/go/delay", I got no traces.

Did I miss anything to make the trace works?

Thanks in advance.

Regards,
jittuu
Reply all
Reply to author
Forward
0 new messages