Module Values.QueryEvalStatsSource

Structure to capture query statistics such as how many queries are running, accepted or waiting and their details.

Sourcetype nonrec t = {
  1. waited : Integer.t option;
    (*

    Indicates how long the query waited, in milliseconds.

    *)
  2. elapsed : Integer.t option;
    (*

    The number of milliseconds the query has been running so far.

    *)
  3. cancelled : Boolean.t option;
    (*

    Set to TRUE if the query was cancelled, or FALSE otherwise.

    *)
  4. subqueries : Document.t option;
    (*

    The number of subqueries in this query.

    *)
}
Sourceval make : ?waited:??? -> ?elapsed:??? -> ?cancelled:??? -> ?subqueries:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Boolean of Boolean.t | `Integer of Integer.t | `Structure of 'a list ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t