slidingWindowHistogram.record(val)


  • val <number> | <bigint> 要记录的金额。必须是大于或等于 0 的整数。

在当前数据块中记录 val。对于基于计数的窗口,每次调用原生直方图都会计入轮转,包括超过配置的 highest 值的情况。

🌐 Records val in the current chunk. For a count-based window, every call that reaches the native histogram counts toward rotation, including values which exceed the configured highest value.