Replies:

the problem with stats and studio deployed classes goes away  in a more recent release (2020 perhaps).

Lorenzo

Two guesses - 

First, check that the task 'Update SQL query statistics' is running and that you have waited long enough for the task to run.

Second, are you looking at a query that is embedded SQL in a 'deployed' class (meaning there is no source code)? There is a problem with statistics for deployed classes, but I don't remember if it matches your situation exactly.

The page in the management portal is limited and was never intended to meet the needs of everyone.

The intention was to make the information readily accessible from SQL, so people could use their favorite reporting tool or dashboard product. 

Wrapping SQL in a restful service would be straightforward and there is an example of a REST service that calls a query and generates the JSON for Grafana here 

Dave

Followers:
Following:
David has not followed anybody yet.
Global Masters badges: