historian_push
Push collected telemetry points to a domestic time-series database (TDengine or IoTDB), skipping non-numeric values.
Instructions
[WRITE][risk=low][→historian] Push collected telemetry to a national TSDB.
Writes already-collected points to a domestic historian (信创) — TDengine or
IoTDB — instead of binding InfluxDB. Data egress to the operator's OWN database,
NOT a control-system write. Non-numeric points are skipped (numeric value column).
Args:
points: Collected points — {ref|metric, value|present_value, timestamp?, ...}
(e.g. the output of interrogate / integrity_poll / read_points / monitor).
sink: 'tdengine' or 'iotdb'.
host/port/user/password: TSDB connection params (sensible defaults per sink
when blank/0).
database: Target database (TDengine db / IoTDB storage group, e.g. 'root.iaiops').
Returns dict: {sink, received, written, skipped_non_numeric, database}.
Example: historian_push(points=[{"ref":"line1.temp","value":21.5}], sink="tdengine",
host="10.0.0.20", database="iaiops").
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| host | No | localhost | |
| port | No | ||
| sink | Yes | ||
| user | No | ||
| points | Yes | ||
| database | No | ||
| password | No |