GAE AppStats shows no GQL queries

97 Views Asked by At

I run default AppStats at my local GAE/Python server. Details for both datastore_v3.RunQuery and datastore_v3.Get are shown by AppStats with no useful information about GQL queries (below).

Is there a way to view actual queries still?

UPD. I don't use GQL queries directly but indirectly via get() and fetch(). I'm talking about how to view what took these 500 ms. Current info is useless and a user should investigate stack trace for that.

Request: Query<app_='dev~app', compile_=True, composite_index_=[], filter_=[Query_Filter<...>], ...>
Request: Query<app_='dev~app', compile_=True, composite_index_=[], filter_=[Query_Filter<...>], ...>
Request: GetRequest<key_=[Reference<app_='dev~app', has_app_=1, has_path_=1, path_=Path<...>>, ...], ...>
1

There are 1 best solutions below

5
On

GQL is just a layer on top of the datastore; a GQL query is executed the same way as a db.Query, and results in the same RPC.