Expand description
Performance telemetry attached to every MCP tool response.
Each stats struct captures the raw counters (rows, bytes, elapsed time) and
derives throughput metrics on the fly. The to_json
methods merge the derived fields into the serialized output so callers get a
single self-contained stats object.
Structs§
- Export
Stats - Telemetry for export operations (CSV, Parquet, Arrow IPC,
.hyper). - Ingest
Stats - Telemetry for data ingest operations (
load_data,load_file, one-shot ingest). - Query
Stats - Telemetry for SQL query operations.
- Stats
Timer - Lightweight wall-clock timer used throughout ingest/query/export paths.