1

我试图弄清楚如何将一个相当简单的 influxql 查询转换为 influxdb2 通量,但我找不到正确的方法。这是查询:

SELECT NON_NEGATIVE_DERIVATIVE(MEAN(transmit), 10s) as transmit, NON_NEGATIVE_DERIVATIVE(MEAN(receive), 10s) as receive
FROM nics
WHERE (host = ‘somethost’)
AND time >= ‘3600s’
GROUP BY time(600s), host fill(none)

有人可以帮助我进行这种转换吗?

4

0 回答 0