Get query latency
helix_get_query_latencyGet query latency percentiles, p99 included, for one database over a time window: overall, or by query.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"database": "<database>"
},
"name": "helix_get_query_latency"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end | No | Exclusive RFC3339 end time. Supply together with start instead of period. | |
| view | No | overall (the default) or by_query. | |
| start | No | Inclusive RFC3339 start time. Supply together with end instead of period. | |
| period | No | A period ending now. Or give start and end instead. | |
| database | Yes | Database reference in cluster:<id> or tenant:<id> form. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| view | Yes | ||
| points | No | ||
| window | Yes | ||
| queries | No | ||
| database | Yes | ||
| content_trust | Yes |