pub struct InspectorQuery {Show 19 fields
pub name: Option<String>,
pub args: Option<Vec<Value>>,
pub got: bool,
pub ttl: Ttl,
pub inactivated_at: Option<f64>,
pub row_count: f64,
pub deleted: bool,
pub id: String,
pub client_id: String,
pub metrics: Metrics,
pub client_zql: Option<String>,
pub server_zql: Option<String>,
pub hydrate_client: Option<f64>,
pub hydrate_server: Option<f64>,
pub hydrate_total: Option<f64>,
pub update_client_p50: Option<f64>,
pub update_client_p95: Option<f64>,
pub update_server_p50: Option<f64>,
pub update_server_p95: Option<f64>,
}Expand description
A query as the server and the client know it (Query in
inspector/query.ts): one row of the server’s queries answer, with
the client’s metrics merged in.
Fields§
§name: Option<String>The named query’s name; None for an unnamed one.
args: Option<Vec<Value>>The named query’s arguments; None for an unnamed one.
got: boolWhether the server has synced the query’s rows.
ttl: TtlThe query’s TTL, normalized.
inactivated_at: Option<f64>When the query became inactive, in ms since 1970; None while
active.
row_count: f64How many rows the query synced.
deleted: boolWhether the server deleted the query.
id: StringThe query’s ID, its hash.
client_id: StringThe client that wants it.
metrics: MetricsThe client’s and the server’s metrics of it.
client_zql: Option<String>The query as this client built it, as ZQL; None when this client
doesn’t know it.
server_zql: Option<String>The query the server runs, as ZQL.
hydrate_client: Option<f64>How long the client took to hydrate it, in ms.
hydrate_server: Option<f64>How long the server took to hydrate it, in ms.
hydrate_total: Option<f64>How long it took from materializing to the server’s rows, in ms.
update_client_p50: Option<f64>The median client update, in ms.
update_client_p95: Option<f64>The 95th percentile client update, in ms.
update_server_p50: Option<f64>The median server update, in ms.
update_server_p95: Option<f64>The 95th percentile server update, in ms.