Values.QueryEvalStatsSourceStructure to capture query statistics such as how many queries are running, accepted or waiting and their details.
type nonrec t = {waited : Integer.t option;Indicates how long the query waited, in milliseconds.
*)elapsed : Integer.t option;The number of milliseconds the query has been running so far.
*)cancelled : Boolean.t option;Set to TRUE if the query was cancelled, or FALSE otherwise.
*)subqueries : Document.t option;The number of subqueries in this query.
*)}