Files
greptimedb/src
Lei, HUANG f30dc2faec feat: enable live analyze metrics for HTTP SQL requests
Without `query.live_analyze_metrics`, both the Flight stream and the
in-process region query path only snapshot execution metrics after each
produced record batch. A timed out EXPLAIN ANALYZE VERBOSE that is
stalled mid-scan therefore records only stale or empty remote (stage 1)
metrics in its slow query payload.

Enable live analyze metrics for `/v1/sql` requests so 1s-heartbeat
metric snapshots keep flowing; all consumers additionally gate on
`explain_verbose`, making this a no-op for other statements.

Signed-off-by: Lei, HUANG <ratuthomm@gmail.com>
2026-08-20 13:17:59 +08:00
..
2026-08-12 08:15:12 +00:00