Documentation

runtime.version() function

runtime.version() returns the current Flux version.

Function type signature
() => string
For more information, see Function type signatures.

Examples

Return the Flux version in a stream of tables

import "array"
import "runtime"

array.from(rows: [{version: runtime.version()}])

View example output


Was this page helpful?

Thank you for your feedback!


Upgrade to InfluxDB Cloud or InfluxDB 2.0!

InfluxDB Cloud and InfluxDB OSS 2.0 ready for production.