InfluxDB 任务计算/插入值
我试图在定期的间隔中计算/插入我的infuxdb 2.0.8。
对于一个过度简化的示例:如何每小时评估1+1
并将结果插入数据库?
I am trying to calculate/insert a value into my InfluxDB 2.0.8 on a regular interval....can this be done with a task?
For a over simplified example: How can I evaluate 1+1
once an hour and insert the result into the database?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我认为您很清楚任务的一般内在信息以及如何设置任务。那么,唯一缺少的是如何生成不是查询而产生的数据行。方法
array.rows()
对此很方便。这是一个例子 - 我没有尝试。
I assume you are well aware of the general intrinsics of tasks and how to set up a task. The only thing missing then is how to generate data rows that do not result from querying. The method
array.rows()
comes handy for this.Here is an example - I did not try it.