timeSeriesResampleToGridWithStaleness
timeSeriesLastToGrid。
语法
timeSeriesLastToGrid
参数
start_timestamp— 指定网格的起始时间。使用DateTime64时间戳实参时,也可以是小数,或包含数字或日期时间文本的字符串。UInt32或DateTime或DateTime64或Float*或Decimal*或Stringend_timestamp— 指定网格的结束时间。使用DateTime64时间戳实参时,也可以是小数,或包含数字或日期时间文本的字符串。UInt32或DateTime或DateTime64或Float*或Decimal*或Stringgrid_step— 指定网格步长,单位为秒。使用DateTime64时间戳实参时,也可以是小数,或包含数字或类似 ’15s’ 或 ‘1m’ 的耗时的字符串。UInt32或Float*或Decimal*或Stringstaleness_window— 指定最近样本允许的最大陈旧时长,单位为秒。使用DateTime64时间戳实参时,也可以是小数,或包含数字或类似 ’15s’ 或 ‘1m’ 的耗时的字符串。UInt32或Float*或Decimal*或String
timestamp— 样本的时间戳。可以是单个值,也可以是数组。UInt32或DateTime或Array(UInt32)或Array(DateTime)value— 与时间戳对应的时间序列值。可以是单个值,也可以是数组。Float*或Array(Float*)
Array(Nullable(Float64))
示例
单个时间戳-值对的基本用法
Query
Response
Query
Response