timeSeriesInstantRateToGrid
irate。
语法
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— 指定纳入计算的样本允许的最大陈旧时长,单位为秒。陈旧窗口是左开右闭区间。使用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