Skip to main content

Module stats

Module stats 

Source
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§

ExportStats
Telemetry for export operations (CSV, Parquet, Arrow IPC, .hyper).
IngestStats
Telemetry for data ingest operations (load_data, load_file, one-shot ingest).
QueryStats
Telemetry for SQL query operations.
StatsTimer
Lightweight wall-clock timer used throughout ingest/query/export paths.