Modules§
- calibration
- Calibration parameter tables for decision models (System One P0.3/P2.2).
- decision_
batch - Arrow-native decision-batch storage (System One P0.3).
- producer
- Producer-side write API for schema-v2 metric rows.
Structs§
- Metric
Record - A single metric record with running window calculations.
Constants§
- METRICS_
SCHEMA_ VERSION - Version of the metrics table schema emitted by
get_metrics_schema. v1: five running-window columns; v2: addslabelsandtenant_id. - METRICS_
TABLE - Primary metrics table name.
Functions§
- create_
record_ batch - Creates a RecordBatch from a vector of MetricRecords.
- create_
schema_ v2_ tables - Creates all schema-v2 tables and migrates pre-v2
metricstables in place. - decode_
labels - Parse the JSON storage form of a label map.
- encode_
labels - Serialize labels to their canonical storage form: a JSON object with
sorted keys. Empty label sets map to
None(SQL NULL on write). - encode_
record_ batch - Encodes a RecordBatch into a vector of MetricRecords.
- get_
metrics_ schema - Gets the schema for metric records in Arrow format (schema v2).