flux
flux copied to clipboard
Flux is a lightweight scripting language for querying databases (like InfluxDB) and working with data. It's part of InfluxDB 1.7 and 2.0, but can be run independently of those.
Running this in Cloud2. ``` from(bucket: "_monitoring") |> range(start: -60d, stop: 1570748243) |> filter(fn: (r) => r._measurement == "statuses" and r._field == "_message") |> fill(column: "_check_id", usePrevious: true) ```
Using golang 1.22.2 When trying to build I getting the next errors: \pkg\mod\github.com\influxdata\[email protected]\values\dict.go:134:8: cannot use generic type immutable.SortedMap[K, V any] without instantiation \pkg\mod\github.com\influxdata\[email protected]\values\dict.go:314:47: cannot use generic type immutable.Comparer[K any] without...
It seems that `union` has performance problems: https://github.com/influxdata/flux/pull/1142#issuecomment-538309063. DOD: - verify that union has those problems via benchmarking - design a possible fix (could `union` be expressed in pure flux...
right now, the `keep` function will fail if it cannot find a column. There should be an option to ignore missing columns in the case of tables with different schemas...
the following query gives the error: `cannot add type constraint @ 5:15-11:6: type error 0:0-0:0: missing object properties (_check_id, _check_name)` but i feel like it should work. I think it...
At the moment, we run each `_test.flux` file based on the name of the file itself and any tests that are run within there are part of the same run....
Found in cloud2. this should be an error for sure, but not a panic: `{"code":"internal error","message":"panic: column _value:float is not of type string"}` ``` from(bucket: "telegraf") |> range(start: -1h) |>...
Flux is currently specified without any positional arguments, it only has keyword arguments. This has an unexpected consequence that argument names are part of the type signature. This means that...
All of the sql drivers need integration tests that can be used against the actual database implementations. We are going to need this kind of framework in the future for...
Somebody has a NIX derivation file for this?