文档文档

universe 包

universe 包提供默认加载到 Flux 运行时中的选项和原始函数,不需要 import 语句。

常量

inf
  • inf 表示浮点类型的无穷大。

选项

option now = system.time

now

now 是一个函数选项,默认返回当前系统时间。

now() vs system.time()

now() 返回当前系统时间(UTC)。 now() 在运行时会被缓存,因此 Flux 脚本中所有 now() 的执行都会返回相同的时间值。 system.time() 返回 system.time() 执行时的系统时间 (UTC)。 Flux 脚本中每个 system.time() 实例都会返回一个唯一的值。

函数


Was this page helpful?

此页面是否对您有帮助?


The future of Flux

Flux 的未来

Flux is going into maintenance mode. You can continue using it as you currently are without any changes to your code.

Flux 将进入维护模式。您可以像现在一样继续使用它,而无需更改代码。

Read more

阅读更多

InfluxDB 3 Open Source Now in Public Alpha

InfluxDB 3 开源版现在处于公开 Alpha 测试阶段

InfluxDB 3 Open Source is now available for alpha testing, licensed under MIT or Apache 2 licensing.

InfluxDB 3 开源版现已可用于 Alpha 测试,根据 MIT 或 Apache 2 许可协议获得许可。

We are releasing two products as part of the alpha.

我们将在 Alpha 测试中发布两款产品。

InfluxDB 3 Core, is our new open source product. It is a recent-data engine for time series and event data. InfluxDB 3 Enterprise is a commercial version that builds on Core’s foundation, adding historical query capability, read replicas, high availability, scalability, and fine-grained security.

InfluxDB 3 Core 是我们的新开源产品。它是一个用于时间序列和事件数据的最新数据引擎。InfluxDB 3 企业版是一个商业版本,它建立在 Core 的基础上,增加了历史查询能力、读取副本、高可用性、可扩展性和精细的安全功能。

For more information on how to get started, check out

有关如何开始使用的更多信息,请查看