Flux 0.175.0 (#4231)

* updated stdlib

* Flux 0.175.0 release notes (#4228)
pull/4235/head
Scott Anderson 2022-07-19 16:28:16 -06:00 committed by GitHub
parent 71cba6f71a
commit ac469c48bf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
139 changed files with 428 additions and 205 deletions

View File

@ -10,6 +10,22 @@ aliases:
- /influxdb/cloud/reference/release-notes/flux/
---
## v0.175.0 [2022-07-19]
### Features
- Update [`testing.diff()`](/flux/v0.x/stdlib/testing/diff/) to use
[`experimental.diff()`](/flux/v0.x/stdlib/experimental/diff/) as its base.
- Add a new diff implementation to the [experimental package](/flux/v0.x/stdlib/experimental/).
- Generalize attributes in the query planner.
- Add support for constants and literals in vectorized `map()`.
- Optimize the Holt Winters implementation by using the
[gonum Nelder-Mead optimization](https://github.com/gonum/gonum/blob/master/optimize/neldermead.go).
### Bug fixes
- When joining data, provide a default schema for unmatched group keys.
- Update the join package to be resilient to schema changes.
---
## v0.174.1 [2022-07-12]

View File

@ -20,7 +20,7 @@ documentation is generated.
To make updates to this documentation, update the function comments above the
function definition in the Flux source code:
https://github.com/influxdata/flux/blob/master/stdlib/date/boundaries/boundaries.flux#L266-L268
https://github.com/influxdata/flux/blob/master/stdlib/date/boundaries/boundaries.flux#L267-L269
Contributing to Flux: https://github.com/influxdata/flux#contributing
Fluxdoc syntax: https://github.com/influxdata/flux/blob/master/docs/fluxdoc.md

View File

@ -20,7 +20,7 @@ documentation is generated.
To make updates to this documentation, update the function comments above the
function definition in the Flux source code:
https://github.com/influxdata/flux/blob/master/stdlib/date/boundaries/boundaries.flux#L388-L394
https://github.com/influxdata/flux/blob/master/stdlib/date/boundaries/boundaries.flux#L391-L397
Contributing to Flux: https://github.com/influxdata/flux#contributing
Fluxdoc syntax: https://github.com/influxdata/flux/blob/master/docs/fluxdoc.md

View File

@ -20,7 +20,7 @@ documentation is generated.
To make updates to this documentation, update the function comments above the
function definition in the Flux source code:
https://github.com/influxdata/flux/blob/master/stdlib/date/boundaries/boundaries.flux#L301-L303
https://github.com/influxdata/flux/blob/master/stdlib/date/boundaries/boundaries.flux#L303-L305
Contributing to Flux: https://github.com/influxdata/flux#contributing
Fluxdoc syntax: https://github.com/influxdata/flux/blob/master/docs/fluxdoc.md

View File

@ -20,7 +20,7 @@ documentation is generated.
To make updates to this documentation, update the function comments above the
function definition in the Flux source code:
https://github.com/influxdata/flux/blob/master/stdlib/date/boundaries/boundaries.flux#L336-L338
https://github.com/influxdata/flux/blob/master/stdlib/date/boundaries/boundaries.flux#L339-L341
Contributing to Flux: https://github.com/influxdata/flux#contributing
Fluxdoc syntax: https://github.com/influxdata/flux/blob/master/docs/fluxdoc.md

View File

@ -20,7 +20,7 @@ documentation is generated.
To make updates to this documentation, update the function comments above the
function definition in the Flux source code:
https://github.com/influxdata/flux/blob/master/stdlib/date/boundaries/boundaries.flux#L232-L234
https://github.com/influxdata/flux/blob/master/stdlib/date/boundaries/boundaries.flux#L231-L233
Contributing to Flux: https://github.com/influxdata/flux#contributing
Fluxdoc syntax: https://github.com/influxdata/flux/blob/master/docs/fluxdoc.md

View File

@ -20,7 +20,7 @@ documentation is generated.
To make updates to this documentation, update the function comments above the
function definition in the Flux source code:
https://github.com/influxdata/flux/blob/master/stdlib/date/boundaries/boundaries.flux#L198-L200
https://github.com/influxdata/flux/blob/master/stdlib/date/boundaries/boundaries.flux#L196-L198
Contributing to Flux: https://github.com/influxdata/flux#contributing
Fluxdoc syntax: https://github.com/influxdata/flux/blob/master/docs/fluxdoc.md
@ -54,5 +54,3 @@ from(bucket: "example-bucket")
```
This will return all records from Wednesday this week

View File

@ -21,7 +21,7 @@ documentation is generated.
To make updates to this documentation, update the function comments above the
function definition in the Flux source code:
https://github.com/influxdata/flux/blob/master/stdlib/date/boundaries/boundaries.flux#L458-L464
https://github.com/influxdata/flux/blob/master/stdlib/date/boundaries/boundaries.flux#L461-L467
Contributing to Flux: https://github.com/influxdata/flux#contributing
Fluxdoc syntax: https://github.com/influxdata/flux/blob/master/docs/fluxdoc.md
@ -61,7 +61,7 @@ Use a positive offset to return boundaries for future weeks.
- [Return start and stop timestamps of the current week starting on Monday](#return-start-and-stop-timestamps-of-the-current-week-starting-on-monday)
- [Return start and stop timestamps of the current week starting on Sunday](#return-start-and-stop-timestamps-of-the-current-week-starting-on-sunday)
- [Query data from current week](#query-data-from-current-week)
- [Query data from the current week](#query-data-from-the-current-week)
- [Query data from last week](#query-data-from-last-week)
### Return start and stop timestamps of the current week starting on Monday
@ -92,7 +92,7 @@ boundaries.week(
```
### Query data from current week
### Query data from the current week
```js
import "date/boundaries"

View File

@ -21,7 +21,7 @@ documentation is generated.
To make updates to this documentation, update the function comments above the
function definition in the Flux source code:
https://github.com/influxdata/flux/blob/master/stdlib/experimental/experimental.flux#L486-L490
https://github.com/influxdata/flux/blob/master/stdlib/experimental/experimental.flux#L491-L495
Contributing to Flux: https://github.com/influxdata/flux#contributing
Fluxdoc syntax: https://github.com/influxdata/flux/blob/master/docs/fluxdoc.md

View File

@ -22,7 +22,7 @@ documentation is generated.
To make updates to this documentation, update the function comments above the
function definition in the Flux source code:
https://github.com/influxdata/flux/blob/master/stdlib/experimental/experimental.flux#L1317-L1317
https://github.com/influxdata/flux/blob/master/stdlib/experimental/experimental.flux#L1322-L1322
Contributing to Flux: https://github.com/influxdata/flux#contributing
Fluxdoc syntax: https://github.com/influxdata/flux/blob/master/docs/fluxdoc.md

View File

@ -22,7 +22,7 @@ documentation is generated.
To make updates to this documentation, update the function comments above the
function definition in the Flux source code:
https://github.com/influxdata/flux/blob/master/stdlib/experimental/experimental.flux#L441-L441
https://github.com/influxdata/flux/blob/master/stdlib/experimental/experimental.flux#L446-L446
Contributing to Flux: https://github.com/influxdata/flux#contributing
Fluxdoc syntax: https://github.com/influxdata/flux/blob/master/docs/fluxdoc.md
@ -37,7 +37,12 @@ Running the queries sequentially ensures any dependencies the second query
has on the results of the first query are met.
##### Applicable use cases
- Write to a bucket and query the written data in a single Flux script.
- Write to an InfluxDB bucket and query the written data in a single Flux script.
_**Note:** `experimental.chain()` does not gaurantee that data written to
InfluxDB is immediately queryable. A delay between when data is written and
when it is queryable may cause a query using `experimental.chain()` to fail.
- Execute queries sequentially in testing scenarios.
##### Function type signature

View File

@ -21,7 +21,7 @@ documentation is generated.
To make updates to this documentation, update the function comments above the
function definition in the Flux source code:
https://github.com/influxdata/flux/blob/master/stdlib/experimental/experimental.flux#L677-L677
https://github.com/influxdata/flux/blob/master/stdlib/experimental/experimental.flux#L682-L682
Contributing to Flux: https://github.com/influxdata/flux#contributing
Fluxdoc syntax: https://github.com/influxdata/flux/blob/master/docs/fluxdoc.md

View File

@ -0,0 +1,126 @@
---
title: experimental.diff() function
description: >
`experimental.diff()` takes two table streams as input and produces a diff.
menu:
flux_0_x_ref:
name: experimental.diff
parent: experimental
identifier: experimental/diff
weight: 101
introduced: 0.175.0
---
<!------------------------------------------------------------------------------
IMPORTANT: This page was generated from comments in the Flux source code. Any
edits made directly to this page will be overwritten the next time the
documentation is generated.
To make updates to this documentation, update the function comments above the
function definition in the Flux source code:
https://github.com/influxdata/flux/blob/master/stdlib/experimental/experimental.flux#L1367-L1367
Contributing to Flux: https://github.com/influxdata/flux#contributing
Fluxdoc syntax: https://github.com/influxdata/flux/blob/master/docs/fluxdoc.md
------------------------------------------------------------------------------->
`experimental.diff()` takes two table streams as input and produces a diff.
`experimental.diff()` compares tables with the same group key.
If compared tables are different, the function returns a table for that group key with one or more rows.
If there are no differences, the function does not return a table for that group key.
**Note:** `experimental.diff()` cannot tell the difference between an empty table and a non-existent table.
**Important:** The output format of the diff is not considered stable and the algorithm used to produce the diff may change.
The only guarantees are those mentioned above.
##### Function type signature
```js
(<-got: stream[A], want: stream[A]) => stream[{A with _diff: string}]
```
{{% caption %}}For more information, see [Function type signatures](/flux/v0.x/function-type-signatures/).{{% /caption %}}
## Parameters
### want
({{< req >}})
Input stream for the `-` side of the diff.
### got
Input stream for the `+` side of the diff.
## Examples
- [Output a diff between two streams of tables](#output-a-diff-between-two-streams-of-tables)
- [Return a diff between a stream of tables and the expected output](#return-a-diff-between-a-stream-of-tables-and-the-expected-output)
### Output a diff between two streams of tables
```js
import "sampledata"
import "experimental"
want = sampledata.int()
got =
sampledata.int()
|> map(fn: (r) => ({r with _value: if r._value > 15 then r._value + 1 else r._value}))
experimental.diff(got: got, want: want)
```
{{< expand-wrapper >}}
{{% expand "View example input" %}}
#### Input data
| _diff | *tag | _time | _value |
| ------ | ---- | -------------------- | ------- |
| | t1 | 2021-01-01T00:00:00Z | -2 |
| | t1 | 2021-01-01T00:00:10Z | 10 |
| | t1 | 2021-01-01T00:00:20Z | 7 |
| - | t1 | 2021-01-01T00:00:30Z | 17 |
| + | t1 | 2021-01-01T00:00:30Z | 18 |
| | t1 | 2021-01-01T00:00:40Z | 15 |
| | t1 | 2021-01-01T00:00:50Z | 4 |
| _diff | *tag | _time | _value |
| ------ | ---- | -------------------- | ------- |
| - | t2 | 2021-01-01T00:00:00Z | 19 |
| + | t2 | 2021-01-01T00:00:00Z | 20 |
| | t2 | 2021-01-01T00:00:10Z | 4 |
| | t2 | 2021-01-01T00:00:20Z | -3 |
| - | t2 | 2021-01-01T00:00:30Z | 19 |
| + | t2 | 2021-01-01T00:00:30Z | 20 |
| | t2 | 2021-01-01T00:00:40Z | 13 |
| | t2 | 2021-01-01T00:00:50Z | 1 |
{{% /expand %}}
{{< /expand-wrapper >}}
### Return a diff between a stream of tables and the expected output
```js
import "experimental"
want = from(bucket: "backup-example-bucket") |> range(start: -5m)
from(bucket: "example-bucket")
|> range(start: -5m)
|> experimental.diff(want: want)
```

View File

@ -21,7 +21,7 @@ documentation is generated.
To make updates to this documentation, update the function comments above the
function definition in the Flux source code:
https://github.com/influxdata/flux/blob/master/stdlib/experimental/experimental.flux#L1038-L1038
https://github.com/influxdata/flux/blob/master/stdlib/experimental/experimental.flux#L1043-L1043
Contributing to Flux: https://github.com/influxdata/flux#contributing
Fluxdoc syntax: https://github.com/influxdata/flux/blob/master/docs/fluxdoc.md

View File

@ -21,7 +21,7 @@ documentation is generated.
To make updates to this documentation, update the function comments above the
function definition in the Flux source code:
https://github.com/influxdata/flux/blob/master/stdlib/experimental/experimental.flux#L1072-L1072
https://github.com/influxdata/flux/blob/master/stdlib/experimental/experimental.flux#L1077-L1077
Contributing to Flux: https://github.com/influxdata/flux#contributing
Fluxdoc syntax: https://github.com/influxdata/flux/blob/master/docs/fluxdoc.md

View File

@ -22,7 +22,7 @@ documentation is generated.
To make updates to this documentation, update the function comments above the
function definition in the Flux source code:
https://github.com/influxdata/flux/blob/master/stdlib/experimental/experimental.flux#L1096-L1096
https://github.com/influxdata/flux/blob/master/stdlib/experimental/experimental.flux#L1101-L1101
Contributing to Flux: https://github.com/influxdata/flux#contributing
Fluxdoc syntax: https://github.com/influxdata/flux/blob/master/docs/fluxdoc.md

View File

@ -22,7 +22,7 @@ documentation is generated.
To make updates to this documentation, update the function comments above the
function definition in the Flux source code:
https://github.com/influxdata/flux/blob/master/stdlib/experimental/experimental.flux#L1253-L1257
https://github.com/influxdata/flux/blob/master/stdlib/experimental/experimental.flux#L1258-L1262
Contributing to Flux: https://github.com/influxdata/flux#contributing
Fluxdoc syntax: https://github.com/influxdata/flux/blob/master/docs/fluxdoc.md

View File

@ -22,7 +22,7 @@ documentation is generated.
To make updates to this documentation, update the function comments above the
function definition in the Flux source code:
https://github.com/influxdata/flux/blob/master/stdlib/experimental/experimental.flux#L741-L745
https://github.com/influxdata/flux/blob/master/stdlib/experimental/experimental.flux#L746-L750
Contributing to Flux: https://github.com/influxdata/flux#contributing
Fluxdoc syntax: https://github.com/influxdata/flux/blob/master/docs/fluxdoc.md

View File

@ -84,12 +84,12 @@ requests.peek(response: requests.get(url: "https://api.agify.io", params: ["name
Connection: keep-alive,
Content-Length: 41,
Content-Type: application/json; charset=utf-8,
Date: Tue, 12 Jul 2022 14:05:31 GMT,
Date: Tue, 19 Jul 2022 16:09:23 GMT,
Etag: W/"29-klDahUESBLxHyQ7NiaetCn2CvCI",
Server: nginx/1.16.1,
X-Rate-Limit-Limit: 1000,
X-Rate-Limit-Remaining: 998,
X-Rate-Reset: 35668
X-Rate-Reset: 28237
] | 200 |
{{% /expand %}}

View File

@ -21,7 +21,7 @@ documentation is generated.
To make updates to this documentation, update the function comments above the
function definition in the Flux source code:
https://github.com/influxdata/flux/blob/master/stdlib/experimental/experimental.flux#L639-L643
https://github.com/influxdata/flux/blob/master/stdlib/experimental/experimental.flux#L644-L648
Contributing to Flux: https://github.com/influxdata/flux#contributing
Fluxdoc syntax: https://github.com/influxdata/flux/blob/master/docs/fluxdoc.md

View File

@ -196,10 +196,10 @@ array.from(
#### Output data
| id | color | pendingDuration |
| -------- | ------ | ---------------- |
| 15612462 | red | 3 |
| 15612462 | blue | 16 |
| color | pendingDuration | id |
| ------ | ---------------- | -------- |
| red | 3 | 15612462 |
| blue | 16 | 15612462 |
{{% /expand %}}
{{< /expand-wrapper >}}

View File

@ -22,7 +22,7 @@ documentation is generated.
To make updates to this documentation, update the function comments above the
function definition in the Flux source code:
https://github.com/influxdata/flux/blob/master/stdlib/experimental/experimental.flux#L1011-L1011
https://github.com/influxdata/flux/blob/master/stdlib/experimental/experimental.flux#L1016-L1016
Contributing to Flux: https://github.com/influxdata/flux#contributing
Fluxdoc syntax: https://github.com/influxdata/flux/blob/master/docs/fluxdoc.md

View File

@ -22,7 +22,7 @@ documentation is generated.
To make updates to this documentation, update the function comments above the
function definition in the Flux source code:
https://github.com/influxdata/flux/blob/master/stdlib/experimental/experimental.flux#L1120-L1120
https://github.com/influxdata/flux/blob/master/stdlib/experimental/experimental.flux#L1125-L1125
Contributing to Flux: https://github.com/influxdata/flux#contributing
Fluxdoc syntax: https://github.com/influxdata/flux/blob/master/docs/fluxdoc.md

View File

@ -22,7 +22,7 @@ documentation is generated.
To make updates to this documentation, update the function comments above the
function definition in the Flux source code:
https://github.com/influxdata/flux/blob/master/stdlib/experimental/experimental.flux#L1144-L1144
https://github.com/influxdata/flux/blob/master/stdlib/experimental/experimental.flux#L1149-L1149
Contributing to Flux: https://github.com/influxdata/flux#contributing
Fluxdoc syntax: https://github.com/influxdata/flux/blob/master/docs/fluxdoc.md

View File

@ -22,7 +22,7 @@ documentation is generated.
To make updates to this documentation, update the function comments above the
function definition in the Flux source code:
https://github.com/influxdata/flux/blob/master/stdlib/experimental/experimental.flux#L769-L769
https://github.com/influxdata/flux/blob/master/stdlib/experimental/experimental.flux#L774-L774
Contributing to Flux: https://github.com/influxdata/flux#contributing
Fluxdoc syntax: https://github.com/influxdata/flux/blob/master/docs/fluxdoc.md

View File

@ -22,7 +22,7 @@ documentation is generated.
To make updates to this documentation, update the function comments above the
function definition in the Flux source code:
https://github.com/influxdata/flux/blob/master/stdlib/experimental/experimental.flux#L1168-L1168
https://github.com/influxdata/flux/blob/master/stdlib/experimental/experimental.flux#L1173-L1173
Contributing to Flux: https://github.com/influxdata/flux#contributing
Fluxdoc syntax: https://github.com/influxdata/flux/blob/master/docs/fluxdoc.md

View File

@ -22,7 +22,7 @@ documentation is generated.
To make updates to this documentation, update the function comments above the
function definition in the Flux source code:
https://github.com/influxdata/flux/blob/master/stdlib/experimental/experimental.flux#L803-L803
https://github.com/influxdata/flux/blob/master/stdlib/experimental/experimental.flux#L808-L808
Contributing to Flux: https://github.com/influxdata/flux#contributing
Fluxdoc syntax: https://github.com/influxdata/flux/blob/master/docs/fluxdoc.md

View File

@ -21,7 +21,7 @@ documentation is generated.
To make updates to this documentation, update the function comments above the
function definition in the Flux source code:
https://github.com/influxdata/flux/blob/master/stdlib/experimental/experimental.flux#L1287-L1287
https://github.com/influxdata/flux/blob/master/stdlib/experimental/experimental.flux#L1292-L1292
Contributing to Flux: https://github.com/influxdata/flux#contributing
Fluxdoc syntax: https://github.com/influxdata/flux/blob/master/docs/fluxdoc.md

View File

@ -22,7 +22,7 @@ documentation is generated.
To make updates to this documentation, update the function comments above the
function definition in the Flux source code:
https://github.com/influxdata/flux/blob/master/stdlib/experimental/experimental.flux#L875-L880
https://github.com/influxdata/flux/blob/master/stdlib/experimental/experimental.flux#L880-L885
Contributing to Flux: https://github.com/influxdata/flux#contributing
Fluxdoc syntax: https://github.com/influxdata/flux/blob/master/docs/fluxdoc.md

View File

@ -22,7 +22,7 @@ documentation is generated.
To make updates to this documentation, update the function comments above the
function definition in the Flux source code:
https://github.com/influxdata/flux/blob/master/stdlib/experimental/experimental.flux#L902-L902
https://github.com/influxdata/flux/blob/master/stdlib/experimental/experimental.flux#L907-L907
Contributing to Flux: https://github.com/influxdata/flux#contributing
Fluxdoc syntax: https://github.com/influxdata/flux/blob/master/docs/fluxdoc.md

View File

@ -22,7 +22,7 @@ documentation is generated.
To make updates to this documentation, update the function comments above the
function definition in the Flux source code:
https://github.com/influxdata/flux/blob/master/stdlib/experimental/experimental.flux#L924-L924
https://github.com/influxdata/flux/blob/master/stdlib/experimental/experimental.flux#L929-L929
Contributing to Flux: https://github.com/influxdata/flux#contributing
Fluxdoc syntax: https://github.com/influxdata/flux/blob/master/docs/fluxdoc.md

View File

@ -22,7 +22,7 @@ documentation is generated.
To make updates to this documentation, update the function comments above the
function definition in the Flux source code:
https://github.com/influxdata/flux/blob/master/stdlib/experimental/experimental.flux#L964-L964
https://github.com/influxdata/flux/blob/master/stdlib/experimental/experimental.flux#L969-L969
Contributing to Flux: https://github.com/influxdata/flux#contributing
Fluxdoc syntax: https://github.com/influxdata/flux/blob/master/docs/fluxdoc.md

View File

@ -21,7 +21,7 @@ documentation is generated.
To make updates to this documentation, update the function comments above the
function definition in the Flux source code:
https://github.com/influxdata/flux/blob/master/stdlib/experimental/experimental.flux#L985-L985
https://github.com/influxdata/flux/blob/master/stdlib/experimental/experimental.flux#L990-L990
Contributing to Flux: https://github.com/influxdata/flux#contributing
Fluxdoc syntax: https://github.com/influxdata/flux/blob/master/docs/fluxdoc.md

View File

@ -21,7 +21,7 @@ documentation is generated.
To make updates to this documentation, update the function comments above the
function definition in the Flux source code:
https://github.com/influxdata/flux/blob/master/stdlib/experimental/experimental.flux#L1197-L1197
https://github.com/influxdata/flux/blob/master/stdlib/experimental/experimental.flux#L1202-L1202
Contributing to Flux: https://github.com/influxdata/flux#contributing
Fluxdoc syntax: https://github.com/influxdata/flux/blob/master/docs/fluxdoc.md

View File

@ -21,7 +21,7 @@ documentation is generated.
To make updates to this documentation, update the function comments above the
function definition in the Flux source code:
https://github.com/influxdata/flux/blob/master/stdlib/experimental/experimental.flux#L1295-L1298
https://github.com/influxdata/flux/blob/master/stdlib/experimental/experimental.flux#L1300-L1303
Contributing to Flux: https://github.com/influxdata/flux#contributing
Fluxdoc syntax: https://github.com/influxdata/flux/blob/master/docs/fluxdoc.md

View File

@ -21,7 +21,7 @@ documentation is generated.
To make updates to this documentation, update the function comments above the
function definition in the Flux source code:
https://github.com/influxdata/flux/blob/master/stdlib/experimental/experimental.flux#L571-L586
https://github.com/influxdata/flux/blob/master/stdlib/experimental/experimental.flux#L576-L591
Contributing to Flux: https://github.com/influxdata/flux#contributing
Fluxdoc syntax: https://github.com/influxdata/flux/blob/master/docs/fluxdoc.md

View File

@ -9,7 +9,7 @@ menu:
parent: http
identifier: http/basicAuth
weight: 101
flux/v0.x/tags: [single notification]
introduced: 0.44.0
---

View File

@ -9,7 +9,7 @@ menu:
parent: http
identifier: http/post
weight: 101
flux/v0.x/tags: [single notification]
introduced: 0.40.0
---
@ -22,7 +22,7 @@ documentation is generated.
To make updates to this documentation, update the function comments above the
function definition in the Flux source code:
https://github.com/influxdata/flux/blob/master/stdlib/http/http.flux#L49-L49
https://github.com/influxdata/flux/blob/master/stdlib/http/http.flux#L50-L50
Contributing to Flux: https://github.com/influxdata/flux#contributing
Fluxdoc syntax: https://github.com/influxdata/flux/blob/master/docs/fluxdoc.md

View File

@ -82,12 +82,12 @@ requests.peek(response: requests.get(url: "https://api.agify.io", params: ["name
Connection: keep-alive,
Content-Length: 41,
Content-Type: application/json; charset=utf-8,
Date: Tue, 12 Jul 2022 14:05:33 GMT,
Date: Tue, 19 Jul 2022 16:09:25 GMT,
Etag: W/"29-klDahUESBLxHyQ7NiaetCn2CvCI",
Server: nginx/1.16.1,
X-Rate-Limit-Limit: 1000,
X-Rate-Limit-Remaining: 996,
X-Rate-Reset: 35667
X-Rate-Reset: 28234
] | 200 |
{{% /expand %}}

View File

@ -22,7 +22,7 @@ documentation is generated.
To make updates to this documentation, update the function comments above the
function definition in the Flux source code:
https://github.com/influxdata/flux/blob/master/stdlib/universe/universe.flux#L3745-L3768
https://github.com/influxdata/flux/blob/master/stdlib/universe/universe.flux#L3780-L3803
Contributing to Flux: https://github.com/influxdata/flux#contributing
Fluxdoc syntax: https://github.com/influxdata/flux/blob/master/docs/fluxdoc.md

View File

@ -21,7 +21,7 @@ documentation is generated.
To make updates to this documentation, update the function comments above the
function definition in the Flux source code:
https://github.com/influxdata/flux/blob/master/stdlib/universe/universe.flux#L3024-L3024
https://github.com/influxdata/flux/blob/master/stdlib/universe/universe.flux#L3059-L3059
Contributing to Flux: https://github.com/influxdata/flux#contributing
Fluxdoc syntax: https://github.com/influxdata/flux/blob/master/docs/fluxdoc.md

View File

@ -22,7 +22,7 @@ documentation is generated.
To make updates to this documentation, update the function comments above the
function definition in the Flux source code:
https://github.com/influxdata/flux/blob/master/stdlib/universe/universe.flux#L4015-L4017
https://github.com/influxdata/flux/blob/master/stdlib/universe/universe.flux#L4050-L4052
Contributing to Flux: https://github.com/influxdata/flux#contributing
Fluxdoc syntax: https://github.com/influxdata/flux/blob/master/docs/fluxdoc.md

View File

@ -21,7 +21,7 @@ documentation is generated.
To make updates to this documentation, update the function comments above the
function definition in the Flux source code:
https://github.com/influxdata/flux/blob/master/stdlib/universe/universe.flux#L3042-L3042
https://github.com/influxdata/flux/blob/master/stdlib/universe/universe.flux#L3077-L3077
Contributing to Flux: https://github.com/influxdata/flux#contributing
Fluxdoc syntax: https://github.com/influxdata/flux/blob/master/docs/fluxdoc.md

View File

@ -21,7 +21,7 @@ documentation is generated.
To make updates to this documentation, update the function comments above the
function definition in the Flux source code:
https://github.com/influxdata/flux/blob/master/stdlib/universe/universe.flux#L3436-L3436
https://github.com/influxdata/flux/blob/master/stdlib/universe/universe.flux#L3471-L3471
Contributing to Flux: https://github.com/influxdata/flux#contributing
Fluxdoc syntax: https://github.com/influxdata/flux/blob/master/docs/fluxdoc.md

View File

@ -1,7 +1,7 @@
---
title: count() function
description: >
`count()` returns the number of records in a column.
`count()` returns the number of records in each input table.
menu:
flux_0_x_ref:
name: count
@ -21,14 +21,14 @@ documentation is generated.
To make updates to this documentation, update the function comments above the
function definition in the Flux source code:
https://github.com/influxdata/flux/blob/master/stdlib/universe/universe.flux#L148-L148
https://github.com/influxdata/flux/blob/master/stdlib/universe/universe.flux#L163-L163
Contributing to Flux: https://github.com/influxdata/flux#contributing
Fluxdoc syntax: https://github.com/influxdata/flux/blob/master/docs/fluxdoc.md
------------------------------------------------------------------------------->
`count()` returns the number of records in a column.
`count()` returns the number of records in each input table.
The function counts both null and non-null records.
@ -61,14 +61,17 @@ Column to count values in and store the total count.
### tables
Input data. Default is piped-wforward data (`<-`).
Input data. Default is piped-forward data (`<-`).
## Examples
### Count the number of rows in each input table
- [Count the number of records in each input table](#count-the-number-of-records-in-each-input-table)
- [Count the number of records with a specific value](#count-the-number-of-records-with-a-specific-value)
### Count the number of records in each input table
```js
import "sampledata"
@ -78,3 +81,50 @@ sampledata.string()
```
### Count the number of records with a specific value
1. Use `filter()` to filter data by the specific value you want to count.
2. Use `count()` to count the number of rows in the table.
```js
import "sampledata"
data =
sampledata.int()
|> filter(fn: (r) => r._value > 10)
data
|> count()
```
{{< expand-wrapper >}}
{{% expand "View example input and ouput" %}}
#### Input data
| _time | _value | *tag |
| -------------------- | ------- | ---- |
| 2021-01-01T00:00:30Z | 17 | t1 |
| 2021-01-01T00:00:40Z | 15 | t1 |
| _time | _value | *tag |
| -------------------- | ------- | ---- |
| 2021-01-01T00:00:00Z | 19 | t2 |
| 2021-01-01T00:00:30Z | 19 | t2 |
| 2021-01-01T00:00:40Z | 13 | t2 |
#### Output data
| *tag | _value |
| ---- | ------- |
| t1 | 2 |
| *tag | _value |
| ---- | ------- |
| t2 | 3 |
{{% /expand %}}
{{< /expand-wrapper >}}

View File

@ -21,7 +21,7 @@ documentation is generated.
To make updates to this documentation, update the function comments above the
function definition in the Flux source code:
https://github.com/influxdata/flux/blob/master/stdlib/universe/universe.flux#L3570-L3572
https://github.com/influxdata/flux/blob/master/stdlib/universe/universe.flux#L3605-L3607
Contributing to Flux: https://github.com/influxdata/flux#contributing
Fluxdoc syntax: https://github.com/influxdata/flux/blob/master/docs/fluxdoc.md

View File

@ -21,7 +21,7 @@ documentation is generated.
To make updates to this documentation, update the function comments above the
function definition in the Flux source code:
https://github.com/influxdata/flux/blob/master/stdlib/universe/universe.flux#L177-L180
https://github.com/influxdata/flux/blob/master/stdlib/universe/universe.flux#L192-L195
Contributing to Flux: https://github.com/influxdata/flux#contributing
Fluxdoc syntax: https://github.com/influxdata/flux/blob/master/docs/fluxdoc.md

View File

@ -21,7 +21,7 @@ documentation is generated.
To make updates to this documentation, update the function comments above the
function definition in the Flux source code:
https://github.com/influxdata/flux/blob/master/stdlib/universe/universe.flux#L204-L204
https://github.com/influxdata/flux/blob/master/stdlib/universe/universe.flux#L219-L219
Contributing to Flux: https://github.com/influxdata/flux#contributing
Fluxdoc syntax: https://github.com/influxdata/flux/blob/master/docs/fluxdoc.md

View File

@ -22,7 +22,7 @@ documentation is generated.
To make updates to this documentation, update the function comments above the
function definition in the Flux source code:
https://github.com/influxdata/flux/blob/master/stdlib/universe/universe.flux#L253-L263
https://github.com/influxdata/flux/blob/master/stdlib/universe/universe.flux#L268-L278
Contributing to Flux: https://github.com/influxdata/flux#contributing
Fluxdoc syntax: https://github.com/influxdata/flux/blob/master/docs/fluxdoc.md

View File

@ -21,7 +21,7 @@ documentation is generated.
To make updates to this documentation, update the function comments above the
function definition in the Flux source code:
https://github.com/influxdata/flux/blob/master/stdlib/universe/universe.flux#L280-L280
https://github.com/influxdata/flux/blob/master/stdlib/universe/universe.flux#L295-L295
Contributing to Flux: https://github.com/influxdata/flux#contributing
Fluxdoc syntax: https://github.com/influxdata/flux/blob/master/docs/fluxdoc.md

View File

@ -21,7 +21,7 @@ documentation is generated.
To make updates to this documentation, update the function comments above the
function definition in the Flux source code:
https://github.com/influxdata/flux/blob/master/stdlib/universe/universe.flux#L352-L361
https://github.com/influxdata/flux/blob/master/stdlib/universe/universe.flux#L367-L376
Contributing to Flux: https://github.com/influxdata/flux#contributing
Fluxdoc syntax: https://github.com/influxdata/flux/blob/master/docs/fluxdoc.md

View File

@ -21,7 +21,7 @@ documentation is generated.
To make updates to this documentation, update the function comments above the
function definition in the Flux source code:
https://github.com/influxdata/flux/blob/master/stdlib/universe/universe.flux#L3409-L3409
https://github.com/influxdata/flux/blob/master/stdlib/universe/universe.flux#L3444-L3444
Contributing to Flux: https://github.com/influxdata/flux#contributing
Fluxdoc syntax: https://github.com/influxdata/flux/blob/master/docs/fluxdoc.md

View File

@ -21,7 +21,7 @@ documentation is generated.
To make updates to this documentation, update the function comments above the
function definition in the Flux source code:
https://github.com/influxdata/flux/blob/master/stdlib/universe/universe.flux#L402-L402
https://github.com/influxdata/flux/blob/master/stdlib/universe/universe.flux#L417-L417
Contributing to Flux: https://github.com/influxdata/flux#contributing
Fluxdoc syntax: https://github.com/influxdata/flux/blob/master/docs/fluxdoc.md

View File

@ -23,7 +23,7 @@ documentation is generated.
To make updates to this documentation, update the function comments above the
function definition in the Flux source code:
https://github.com/influxdata/flux/blob/master/stdlib/universe/universe.flux#L4332-L4338
https://github.com/influxdata/flux/blob/master/stdlib/universe/universe.flux#L4367-L4373
Contributing to Flux: https://github.com/influxdata/flux#contributing
Fluxdoc syntax: https://github.com/influxdata/flux/blob/master/docs/fluxdoc.md

View File

@ -21,7 +21,7 @@ documentation is generated.
To make updates to this documentation, update the function comments above the
function definition in the Flux source code:
https://github.com/influxdata/flux/blob/master/stdlib/universe/universe.flux#L439-L442
https://github.com/influxdata/flux/blob/master/stdlib/universe/universe.flux#L454-L457
Contributing to Flux: https://github.com/influxdata/flux#contributing
Fluxdoc syntax: https://github.com/influxdata/flux/blob/master/docs/fluxdoc.md

View File

@ -21,7 +21,7 @@ documentation is generated.
To make updates to this documentation, update the function comments above the
function definition in the Flux source code:
https://github.com/influxdata/flux/blob/master/stdlib/universe/universe.flux#L471-L471
https://github.com/influxdata/flux/blob/master/stdlib/universe/universe.flux#L486-L486
Contributing to Flux: https://github.com/influxdata/flux#contributing
Fluxdoc syntax: https://github.com/influxdata/flux/blob/master/docs/fluxdoc.md

View File

@ -21,7 +21,7 @@ documentation is generated.
To make updates to this documentation, update the function comments above the
function definition in the Flux source code:
https://github.com/influxdata/flux/blob/master/stdlib/universe/universe.flux#L3092-L3092
https://github.com/influxdata/flux/blob/master/stdlib/universe/universe.flux#L3127-L3127
Contributing to Flux: https://github.com/influxdata/flux#contributing
Fluxdoc syntax: https://github.com/influxdata/flux/blob/master/docs/fluxdoc.md

View File

@ -21,7 +21,7 @@ documentation is generated.
To make updates to this documentation, update the function comments above the
function definition in the Flux source code:
https://github.com/influxdata/flux/blob/master/stdlib/universe/universe.flux#L499-L502
https://github.com/influxdata/flux/blob/master/stdlib/universe/universe.flux#L514-L517
Contributing to Flux: https://github.com/influxdata/flux#contributing
Fluxdoc syntax: https://github.com/influxdata/flux/blob/master/docs/fluxdoc.md

View File

@ -22,7 +22,7 @@ documentation is generated.
To make updates to this documentation, update the function comments above the
function definition in the Flux source code:
https://github.com/influxdata/flux/blob/master/stdlib/universe/universe.flux#L543-L545
https://github.com/influxdata/flux/blob/master/stdlib/universe/universe.flux#L558-L560
Contributing to Flux: https://github.com/influxdata/flux#contributing
Fluxdoc syntax: https://github.com/influxdata/flux/blob/master/docs/fluxdoc.md

View File

@ -21,7 +21,7 @@ documentation is generated.
To make updates to this documentation, update the function comments above the
function definition in the Flux source code:
https://github.com/influxdata/flux/blob/master/stdlib/universe/universe.flux#L585-L588
https://github.com/influxdata/flux/blob/master/stdlib/universe/universe.flux#L600-L603
Contributing to Flux: https://github.com/influxdata/flux#contributing
Fluxdoc syntax: https://github.com/influxdata/flux/blob/master/docs/fluxdoc.md

View File

@ -21,7 +21,7 @@ documentation is generated.
To make updates to this documentation, update the function comments above the
function definition in the Flux source code:
https://github.com/influxdata/flux/blob/master/stdlib/universe/universe.flux#L639-L639
https://github.com/influxdata/flux/blob/master/stdlib/universe/universe.flux#L654-L654
Contributing to Flux: https://github.com/influxdata/flux#contributing
Fluxdoc syntax: https://github.com/influxdata/flux/blob/master/docs/fluxdoc.md

View File

@ -22,7 +22,7 @@ documentation is generated.
To make updates to this documentation, update the function comments above the
function definition in the Flux source code:
https://github.com/influxdata/flux/blob/master/stdlib/universe/universe.flux#L2945-L2945
https://github.com/influxdata/flux/blob/master/stdlib/universe/universe.flux#L2980-L2980
Contributing to Flux: https://github.com/influxdata/flux#contributing
Fluxdoc syntax: https://github.com/influxdata/flux/blob/master/docs/fluxdoc.md

View File

@ -22,7 +22,7 @@ documentation is generated.
To make updates to this documentation, update the function comments above the
function definition in the Flux source code:
https://github.com/influxdata/flux/blob/master/stdlib/universe/universe.flux#L2979-L2979
https://github.com/influxdata/flux/blob/master/stdlib/universe/universe.flux#L3014-L3014
Contributing to Flux: https://github.com/influxdata/flux#contributing
Fluxdoc syntax: https://github.com/influxdata/flux/blob/master/docs/fluxdoc.md

View File

@ -21,7 +21,7 @@ documentation is generated.
To make updates to this documentation, update the function comments above the
function definition in the Flux source code:
https://github.com/influxdata/flux/blob/master/stdlib/universe/universe.flux#L663-L663
https://github.com/influxdata/flux/blob/master/stdlib/universe/universe.flux#L678-L678
Contributing to Flux: https://github.com/influxdata/flux#contributing
Fluxdoc syntax: https://github.com/influxdata/flux/blob/master/docs/fluxdoc.md

View File

@ -21,7 +21,7 @@ documentation is generated.
To make updates to this documentation, update the function comments above the
function definition in the Flux source code:
https://github.com/influxdata/flux/blob/master/stdlib/universe/universe.flux#L3136-L3136
https://github.com/influxdata/flux/blob/master/stdlib/universe/universe.flux#L3171-L3171
Contributing to Flux: https://github.com/influxdata/flux#contributing
Fluxdoc syntax: https://github.com/influxdata/flux/blob/master/docs/fluxdoc.md

View File

@ -21,7 +21,7 @@ documentation is generated.
To make updates to this documentation, update the function comments above the
function definition in the Flux source code:
https://github.com/influxdata/flux/blob/master/stdlib/universe/universe.flux#L2884-L2884
https://github.com/influxdata/flux/blob/master/stdlib/universe/universe.flux#L2919-L2919
Contributing to Flux: https://github.com/influxdata/flux#contributing
Fluxdoc syntax: https://github.com/influxdata/flux/blob/master/docs/fluxdoc.md
@ -57,7 +57,10 @@ Input table. Default is piped-forward data (`<-`).
## Examples
### Extract a column from a table
- [Extract an array of column values from a table](#extract-an-array-of-column-values-from-a-table)
- [Extract an array of column values and display them in a table](#extract-an-array-of-column-values-and-display-them-in-a-table)
### Extract an array of column values from a table
```js
import "sampledata"
@ -69,3 +72,19 @@ sampledata.int()
```
### Extract an array of column values and display them in a table
```js
import "array"
import "sampledata"
columnData =
sampledata.int()
|> tableFind(fn: (key) => key.tag == "t1")
|> getColumn(column: "_value")
array.from(rows: [{_value: display(v: columnData)}])
```

View File

@ -21,7 +21,7 @@ documentation is generated.
To make updates to this documentation, update the function comments above the
function definition in the Flux source code:
https://github.com/influxdata/flux/blob/master/stdlib/universe/universe.flux#L2911-L2911
https://github.com/influxdata/flux/blob/master/stdlib/universe/universe.flux#L2946-L2946
Contributing to Flux: https://github.com/influxdata/flux#contributing
Fluxdoc syntax: https://github.com/influxdata/flux/blob/master/docs/fluxdoc.md

View File

@ -21,7 +21,7 @@ documentation is generated.
To make updates to this documentation, update the function comments above the
function definition in the Flux source code:
https://github.com/influxdata/flux/blob/master/stdlib/universe/universe.flux#L716-L716
https://github.com/influxdata/flux/blob/master/stdlib/universe/universe.flux#L731-L731
Contributing to Flux: https://github.com/influxdata/flux#contributing
Fluxdoc syntax: https://github.com/influxdata/flux/blob/master/docs/fluxdoc.md

View File

@ -22,7 +22,7 @@ documentation is generated.
To make updates to this documentation, update the function comments above the
function definition in the Flux source code:
https://github.com/influxdata/flux/blob/master/stdlib/universe/universe.flux#L4100-L4108
https://github.com/influxdata/flux/blob/master/stdlib/universe/universe.flux#L4135-L4143
Contributing to Flux: https://github.com/influxdata/flux#contributing
Fluxdoc syntax: https://github.com/influxdata/flux/blob/master/docs/fluxdoc.md

View File

@ -22,7 +22,7 @@ documentation is generated.
To make updates to this documentation, update the function comments above the
function definition in the Flux source code:
https://github.com/influxdata/flux/blob/master/stdlib/universe/universe.flux#L4135-L4143
https://github.com/influxdata/flux/blob/master/stdlib/universe/universe.flux#L4170-L4178
Contributing to Flux: https://github.com/influxdata/flux#contributing
Fluxdoc syntax: https://github.com/influxdata/flux/blob/master/docs/fluxdoc.md

View File

@ -22,7 +22,7 @@ documentation is generated.
To make updates to this documentation, update the function comments above the
function definition in the Flux source code:
https://github.com/influxdata/flux/blob/master/stdlib/universe/universe.flux#L4063-L4073
https://github.com/influxdata/flux/blob/master/stdlib/universe/universe.flux#L4098-L4108
Contributing to Flux: https://github.com/influxdata/flux#contributing
Fluxdoc syntax: https://github.com/influxdata/flux/blob/master/docs/fluxdoc.md

View File

@ -22,7 +22,7 @@ documentation is generated.
To make updates to this documentation, update the function comments above the
function definition in the Flux source code:
https://github.com/influxdata/flux/blob/master/stdlib/universe/universe.flux#L774-L784
https://github.com/influxdata/flux/blob/master/stdlib/universe/universe.flux#L789-L799
Contributing to Flux: https://github.com/influxdata/flux#contributing
Fluxdoc syntax: https://github.com/influxdata/flux/blob/master/docs/fluxdoc.md

View File

@ -21,7 +21,7 @@ documentation is generated.
To make updates to this documentation, update the function comments above the
function definition in the Flux source code:
https://github.com/influxdata/flux/blob/master/stdlib/universe/universe.flux#L838-L848
https://github.com/influxdata/flux/blob/master/stdlib/universe/universe.flux#L853-L863
Contributing to Flux: https://github.com/influxdata/flux#contributing
Fluxdoc syntax: https://github.com/influxdata/flux/blob/master/docs/fluxdoc.md

View File

@ -21,7 +21,7 @@ documentation is generated.
To make updates to this documentation, update the function comments above the
function definition in the Flux source code:
https://github.com/influxdata/flux/blob/master/stdlib/universe/universe.flux#L931-L942
https://github.com/influxdata/flux/blob/master/stdlib/universe/universe.flux#L952-L964
Contributing to Flux: https://github.com/influxdata/flux#contributing
Fluxdoc syntax: https://github.com/influxdata/flux/blob/master/docs/fluxdoc.md
@ -80,6 +80,7 @@ in the Holt-Winters calculation.
?seasonality: int,
?timeColumn: string,
?withFit: bool,
?withMinSSE: bool,
) => stream[B] where A: Record, B: Record
```
@ -124,6 +125,14 @@ Number of points in a season. Default is `0`.
### withMinSSE
Return minSSE data in results. Default is `false`.
minSSE is the minimum sum squared error found when optimizing the holt winters fit to the data.
A smaller minSSE means a better fit.
Examining the minSSE value can help understand when the algorithm is getting a good fit versus not.
### tables
Input data. Default is piped-forward data (`<-`).
@ -175,21 +184,21 @@ sampledata.int()
| *tag | _time | _value |
| ---- | -------------------- | ------------------ |
| t1 | 2021-01-01T00:01:00Z | 10.955834804389518 |
| t1 | 2021-01-01T00:01:10Z | 10.930165921204969 |
| t1 | 2021-01-01T00:01:20Z | 10.914688653595203 |
| t1 | 2021-01-01T00:01:30Z | 10.905759343909201 |
| t1 | 2021-01-01T00:01:40Z | 10.900719277060372 |
| t1 | 2021-01-01T00:01:50Z | 10.897906726242955 |
| t1 | 2021-01-01T00:01:00Z | 10.955057903416249 |
| t1 | 2021-01-01T00:01:10Z | 10.929417869181442 |
| t1 | 2021-01-01T00:01:20Z | 10.913931836435774 |
| t1 | 2021-01-01T00:01:30Z | 10.9049848302089 |
| t1 | 2021-01-01T00:01:40Z | 10.899928358379444 |
| t1 | 2021-01-01T00:01:50Z | 10.89710330009353 |
| *tag | _time | _value |
| ---- | -------------------- | ------------------ |
| t2 | 2021-01-01T00:01:00Z | 6.781008791726221 |
| t2 | 2021-01-01T00:01:10Z | 6.781069271640753 |
| t2 | 2021-01-01T00:01:20Z | 6.781073869897851 |
| t2 | 2021-01-01T00:01:30Z | 6.7810742195001135 |
| t2 | 2021-01-01T00:01:40Z | 6.781074246080124 |
| t2 | 2021-01-01T00:01:50Z | 6.781074248100982 |
| *tag | _time | _value |
| ---- | -------------------- | ----------------- |
| t2 | 2021-01-01T00:01:00Z | 6.798303631428536 |
| t2 | 2021-01-01T00:01:10Z | 6.798303631555017 |
| t2 | 2021-01-01T00:01:20Z | 6.798303631555328 |
| t2 | 2021-01-01T00:01:30Z | 6.798303631555329 |
| t2 | 2021-01-01T00:01:40Z | 6.798303631555329 |
| t2 | 2021-01-01T00:01:50Z | 6.798303631555329 |
{{% /expand %}}
{{< /expand-wrapper >}}
@ -230,19 +239,19 @@ sampledata.int()
#### Output data
| *tag | _time | _value |
| ---- | -------------------- | ------------------ |
| t1 | 2021-01-01T00:01:00Z | 7.179098046049717 |
| t1 | 2021-01-01T00:01:10Z | 17.01106624302682 |
| t1 | 2021-01-01T00:01:20Z | 14.576432091790977 |
| t1 | 2021-01-01T00:01:30Z | 6.968535480723005 |
| *tag | _time | _value |
| ---- | -------------------- | ----------------- |
| t1 | 2021-01-01T00:01:00Z | 4.6673129595221 |
| t1 | 2021-01-01T00:01:10Z | 9.937498954744212 |
| t1 | 2021-01-01T00:01:20Z | 3.59073602964091 |
| t1 | 2021-01-01T00:01:30Z | 6.523905777397829 |
| *tag | _time | _value |
| ---- | -------------------- | -------------------- |
| t2 | 2021-01-01T00:01:00Z | 0.008498516062705495 |
| t2 | 2021-01-01T00:01:10Z | 4.311588701815885 |
| t2 | 2021-01-01T00:01:20Z | 4.306517319025279 |
| t2 | 2021-01-01T00:01:30Z | 2.473640466434541 |
| *tag | _time | _value |
| ---- | -------------------- | --------------------- |
| t2 | 2021-01-01T00:01:00Z | -0.000320397929233291 |
| t2 | 2021-01-01T00:01:10Z | 4.986867840774593 |
| t2 | 2021-01-01T00:01:20Z | 3.4989671640270354 |
| t2 | 2021-01-01T00:01:30Z | -0.05530077960375555 |
{{% /expand %}}
{{< /expand-wrapper >}}
@ -286,26 +295,26 @@ sampledata.int()
| *tag | _time | _value |
| ---- | -------------------- | ------------------ |
| t1 | 2021-01-01T00:00:00Z | -2 |
| t1 | 2021-01-01T00:00:10Z | 9.218975712746163 |
| t1 | 2021-01-01T00:00:20Z | 10.724838162080957 |
| t1 | 2021-01-01T00:00:30Z | 11.02931521239947 |
| t1 | 2021-01-01T00:00:40Z | 11.0379002238265 |
| t1 | 2021-01-01T00:00:50Z | 10.994404043609528 |
| t1 | 2021-01-01T00:01:00Z | 10.955834804389518 |
| t1 | 2021-01-01T00:01:10Z | 10.930165921204969 |
| t1 | 2021-01-01T00:01:20Z | 10.914688653595203 |
| t1 | 2021-01-01T00:00:10Z | 9.22029510454727 |
| t1 | 2021-01-01T00:00:20Z | 10.72226534418895 |
| t1 | 2021-01-01T00:00:30Z | 11.027321424181121 |
| t1 | 2021-01-01T00:00:40Z | 11.036624575789808 |
| t1 | 2021-01-01T00:00:50Z | 10.993493462224441 |
| t1 | 2021-01-01T00:01:00Z | 10.955057903416249 |
| t1 | 2021-01-01T00:01:10Z | 10.929417869181442 |
| t1 | 2021-01-01T00:01:20Z | 10.913931836435774 |
| *tag | _time | _value |
| ---- | -------------------- | ----------------- |
| t2 | 2021-01-01T00:00:00Z | 19 |
| t2 | 2021-01-01T00:00:10Z | 8.907308429189435 |
| t2 | 2021-01-01T00:00:20Z | 4.983321898435179 |
| t2 | 2021-01-01T00:00:30Z | 6.633066160485693 |
| t2 | 2021-01-01T00:00:40Z | 6.769755828568384 |
| t2 | 2021-01-01T00:00:50Z | 6.780213338483446 |
| t2 | 2021-01-01T00:01:00Z | 6.781008791726221 |
| t2 | 2021-01-01T00:01:10Z | 6.781069271640753 |
| t2 | 2021-01-01T00:01:20Z | 6.781073869897851 |
| *tag | _time | _value |
| ---- | -------------------- | ------------------ |
| t2 | 2021-01-01T00:00:00Z | 19 |
| t2 | 2021-01-01T00:00:10Z | 10.269974995821258 |
| t2 | 2021-01-01T00:00:20Z | 3.343711756293869 |
| t2 | 2021-01-01T00:00:30Z | 6.789784945101966 |
| t2 | 2021-01-01T00:00:40Z | 6.798282676851281 |
| t2 | 2021-01-01T00:00:50Z | 6.798303580010179 |
| t2 | 2021-01-01T00:01:00Z | 6.798303631428536 |
| t2 | 2021-01-01T00:01:10Z | 6.798303631555017 |
| t2 | 2021-01-01T00:01:20Z | 6.798303631555328 |
{{% /expand %}}
{{< /expand-wrapper >}}

View File

@ -21,7 +21,7 @@ documentation is generated.
To make updates to this documentation, update the function comments above the
function definition in the Flux source code:
https://github.com/influxdata/flux/blob/master/stdlib/universe/universe.flux#L989-L997
https://github.com/influxdata/flux/blob/master/stdlib/universe/universe.flux#L1011-L1019
Contributing to Flux: https://github.com/influxdata/flux#contributing
Fluxdoc syntax: https://github.com/influxdata/flux/blob/master/docs/fluxdoc.md

View File

@ -21,7 +21,7 @@ documentation is generated.
To make updates to this documentation, update the function comments above the
function definition in the Flux source code:
https://github.com/influxdata/flux/blob/master/stdlib/universe/universe.flux#L3795-L3798
https://github.com/influxdata/flux/blob/master/stdlib/universe/universe.flux#L3830-L3833
Contributing to Flux: https://github.com/influxdata/flux#contributing
Fluxdoc syntax: https://github.com/influxdata/flux/blob/master/docs/fluxdoc.md

View File

@ -21,7 +21,7 @@ documentation is generated.
To make updates to this documentation, update the function comments above the
function definition in the Flux source code:
https://github.com/influxdata/flux/blob/master/stdlib/universe/universe.flux#L3185-L3185
https://github.com/influxdata/flux/blob/master/stdlib/universe/universe.flux#L3220-L3220
Contributing to Flux: https://github.com/influxdata/flux#contributing
Fluxdoc syntax: https://github.com/influxdata/flux/blob/master/docs/fluxdoc.md

View File

@ -21,7 +21,7 @@ documentation is generated.
To make updates to this documentation, update the function comments above the
function definition in the Flux source code:
https://github.com/influxdata/flux/blob/master/stdlib/universe/universe.flux#L1047-L1056
https://github.com/influxdata/flux/blob/master/stdlib/universe/universe.flux#L1069-L1078
Contributing to Flux: https://github.com/influxdata/flux#contributing
Fluxdoc syntax: https://github.com/influxdata/flux/blob/master/docs/fluxdoc.md

View File

@ -25,7 +25,7 @@ documentation is generated.
To make updates to this documentation, update the function comments above the
function definition in the Flux source code:
https://github.com/influxdata/flux/blob/master/stdlib/universe/universe.flux#L1130-L1130
https://github.com/influxdata/flux/blob/master/stdlib/universe/universe.flux#L1152-L1152
Contributing to Flux: https://github.com/influxdata/flux#contributing
Fluxdoc syntax: https://github.com/influxdata/flux/blob/master/docs/fluxdoc.md

View File

@ -22,7 +22,7 @@ documentation is generated.
To make updates to this documentation, update the function comments above the
function definition in the Flux source code:
https://github.com/influxdata/flux/blob/master/stdlib/universe/universe.flux#L1157-L1157
https://github.com/influxdata/flux/blob/master/stdlib/universe/universe.flux#L1179-L1179
Contributing to Flux: https://github.com/influxdata/flux#contributing
Fluxdoc syntax: https://github.com/influxdata/flux/blob/master/docs/fluxdoc.md

View File

@ -22,7 +22,7 @@ documentation is generated.
To make updates to this documentation, update the function comments above the
function definition in the Flux source code:
https://github.com/influxdata/flux/blob/master/stdlib/universe/universe.flux#L4365-L4368
https://github.com/influxdata/flux/blob/master/stdlib/universe/universe.flux#L4400-L4403
Contributing to Flux: https://github.com/influxdata/flux#contributing
Fluxdoc syntax: https://github.com/influxdata/flux/blob/master/docs/fluxdoc.md

View File

@ -21,7 +21,7 @@ documentation is generated.
To make updates to this documentation, update the function comments above the
function definition in the Flux source code:
https://github.com/influxdata/flux/blob/master/stdlib/universe/universe.flux#L1194-L1197
https://github.com/influxdata/flux/blob/master/stdlib/universe/universe.flux#L1216-L1219
Contributing to Flux: https://github.com/influxdata/flux#contributing
Fluxdoc syntax: https://github.com/influxdata/flux/blob/master/docs/fluxdoc.md

View File

@ -21,7 +21,7 @@ documentation is generated.
To make updates to this documentation, update the function comments above the
function definition in the Flux source code:
https://github.com/influxdata/flux/blob/master/stdlib/universe/universe.flux#L1550-L1550
https://github.com/influxdata/flux/blob/master/stdlib/universe/universe.flux#L1572-L1572
Contributing to Flux: https://github.com/influxdata/flux#contributing
Fluxdoc syntax: https://github.com/influxdata/flux/blob/master/docs/fluxdoc.md

View File

@ -23,7 +23,7 @@ documentation is generated.
To make updates to this documentation, update the function comments above the
function definition in the Flux source code:
https://github.com/influxdata/flux/blob/master/stdlib/universe/universe.flux#L1315-L1318
https://github.com/influxdata/flux/blob/master/stdlib/universe/universe.flux#L1337-L1340
Contributing to Flux: https://github.com/influxdata/flux#contributing
Fluxdoc syntax: https://github.com/influxdata/flux/blob/master/docs/fluxdoc.md

View File

@ -21,7 +21,7 @@ documentation is generated.
To make updates to this documentation, update the function comments above the
function definition in the Flux source code:
https://github.com/influxdata/flux/blob/master/stdlib/universe/universe.flux#L1579-L1579
https://github.com/influxdata/flux/blob/master/stdlib/universe/universe.flux#L1601-L1601
Contributing to Flux: https://github.com/influxdata/flux#contributing
Fluxdoc syntax: https://github.com/influxdata/flux/blob/master/docs/fluxdoc.md

View File

@ -21,7 +21,7 @@ documentation is generated.
To make updates to this documentation, update the function comments above the
function definition in the Flux source code:
https://github.com/influxdata/flux/blob/master/stdlib/universe/universe.flux#L3459-L3459
https://github.com/influxdata/flux/blob/master/stdlib/universe/universe.flux#L3494-L3494
Contributing to Flux: https://github.com/influxdata/flux#contributing
Fluxdoc syntax: https://github.com/influxdata/flux/blob/master/docs/fluxdoc.md

View File

@ -21,7 +21,7 @@ documentation is generated.
To make updates to this documentation, update the function comments above the
function definition in the Flux source code:
https://github.com/influxdata/flux/blob/master/stdlib/universe/universe.flux#L1614-L1614
https://github.com/influxdata/flux/blob/master/stdlib/universe/universe.flux#L1636-L1636
Contributing to Flux: https://github.com/influxdata/flux#contributing
Fluxdoc syntax: https://github.com/influxdata/flux/blob/master/docs/fluxdoc.md

View File

@ -21,7 +21,7 @@ documentation is generated.
To make updates to this documentation, update the function comments above the
function definition in the Flux source code:
https://github.com/influxdata/flux/blob/master/stdlib/universe/universe.flux#L3482-L3482
https://github.com/influxdata/flux/blob/master/stdlib/universe/universe.flux#L3517-L3517
Contributing to Flux: https://github.com/influxdata/flux#contributing
Fluxdoc syntax: https://github.com/influxdata/flux/blob/master/docs/fluxdoc.md

View File

@ -21,7 +21,7 @@ documentation is generated.
To make updates to this documentation, update the function comments above the
function definition in the Flux source code:
https://github.com/influxdata/flux/blob/master/stdlib/universe/universe.flux#L3505-L3505
https://github.com/influxdata/flux/blob/master/stdlib/universe/universe.flux#L3540-L3540
Contributing to Flux: https://github.com/influxdata/flux#contributing
Fluxdoc syntax: https://github.com/influxdata/flux/blob/master/docs/fluxdoc.md

View File

@ -22,7 +22,7 @@ documentation is generated.
To make updates to this documentation, update the function comments above the
function definition in the Flux source code:
https://github.com/influxdata/flux/blob/master/stdlib/universe/universe.flux#L4207-L4215
https://github.com/influxdata/flux/blob/master/stdlib/universe/universe.flux#L4242-L4250
Contributing to Flux: https://github.com/influxdata/flux#contributing
Fluxdoc syntax: https://github.com/influxdata/flux/blob/master/docs/fluxdoc.md

View File

@ -22,7 +22,7 @@ documentation is generated.
To make updates to this documentation, update the function comments above the
function definition in the Flux source code:
https://github.com/influxdata/flux/blob/master/stdlib/universe/universe.flux#L4242-L4250
https://github.com/influxdata/flux/blob/master/stdlib/universe/universe.flux#L4277-L4285
Contributing to Flux: https://github.com/influxdata/flux#contributing
Fluxdoc syntax: https://github.com/influxdata/flux/blob/master/docs/fluxdoc.md

View File

@ -22,7 +22,7 @@ documentation is generated.
To make updates to this documentation, update the function comments above the
function definition in the Flux source code:
https://github.com/influxdata/flux/blob/master/stdlib/universe/universe.flux#L4170-L4180
https://github.com/influxdata/flux/blob/master/stdlib/universe/universe.flux#L4205-L4215
Contributing to Flux: https://github.com/influxdata/flux#contributing
Fluxdoc syntax: https://github.com/influxdata/flux/blob/master/docs/fluxdoc.md

View File

@ -21,7 +21,7 @@ documentation is generated.
To make updates to this documentation, update the function comments above the
function definition in the Flux source code:
https://github.com/influxdata/flux/blob/master/stdlib/universe/universe.flux#L1689-L1689
https://github.com/influxdata/flux/blob/master/stdlib/universe/universe.flux#L1711-L1711
Contributing to Flux: https://github.com/influxdata/flux#contributing
Fluxdoc syntax: https://github.com/influxdata/flux/blob/master/docs/fluxdoc.md

View File

@ -22,7 +22,7 @@ documentation is generated.
To make updates to this documentation, update the function comments above the
function definition in the Flux source code:
https://github.com/influxdata/flux/blob/master/stdlib/universe/universe.flux#L1714-L1714
https://github.com/influxdata/flux/blob/master/stdlib/universe/universe.flux#L1736-L1736
Contributing to Flux: https://github.com/influxdata/flux#contributing
Fluxdoc syntax: https://github.com/influxdata/flux/blob/master/docs/fluxdoc.md

View File

@ -22,7 +22,7 @@ documentation is generated.
To make updates to this documentation, update the function comments above the
function definition in the Flux source code:
https://github.com/influxdata/flux/blob/master/stdlib/universe/universe.flux#L1737-L1737
https://github.com/influxdata/flux/blob/master/stdlib/universe/universe.flux#L1759-L1759
Contributing to Flux: https://github.com/influxdata/flux#contributing
Fluxdoc syntax: https://github.com/influxdata/flux/blob/master/docs/fluxdoc.md

View File

@ -22,7 +22,7 @@ documentation is generated.
To make updates to this documentation, update the function comments above the
function definition in the Flux source code:
https://github.com/influxdata/flux/blob/master/stdlib/universe/universe.flux#L3858-L3860
https://github.com/influxdata/flux/blob/master/stdlib/universe/universe.flux#L3893-L3895
Contributing to Flux: https://github.com/influxdata/flux#contributing
Fluxdoc syntax: https://github.com/influxdata/flux/blob/master/docs/fluxdoc.md

View File

@ -22,7 +22,7 @@ documentation is generated.
To make updates to this documentation, update the function comments above the
function definition in the Flux source code:
https://github.com/influxdata/flux/blob/master/stdlib/universe/universe.flux#L1762-L1762
https://github.com/influxdata/flux/blob/master/stdlib/universe/universe.flux#L1784-L1784
Contributing to Flux: https://github.com/influxdata/flux#contributing
Fluxdoc syntax: https://github.com/influxdata/flux/blob/master/docs/fluxdoc.md

View File

@ -22,7 +22,7 @@ documentation is generated.
To make updates to this documentation, update the function comments above the
function definition in the Flux source code:
https://github.com/influxdata/flux/blob/master/stdlib/universe/universe.flux#L1790-L1790
https://github.com/influxdata/flux/blob/master/stdlib/universe/universe.flux#L1812-L1812
Contributing to Flux: https://github.com/influxdata/flux#contributing
Fluxdoc syntax: https://github.com/influxdata/flux/blob/master/docs/fluxdoc.md

View File

@ -22,7 +22,7 @@ documentation is generated.
To make updates to this documentation, update the function comments above the
function definition in the Flux source code:
https://github.com/influxdata/flux/blob/master/stdlib/universe/universe.flux#L1828-L1830
https://github.com/influxdata/flux/blob/master/stdlib/universe/universe.flux#L1850-L1852
Contributing to Flux: https://github.com/influxdata/flux#contributing
Fluxdoc syntax: https://github.com/influxdata/flux/blob/master/docs/fluxdoc.md

View File

@ -22,7 +22,7 @@ documentation is generated.
To make updates to this documentation, update the function comments above the
function definition in the Flux source code:
https://github.com/influxdata/flux/blob/master/stdlib/universe/universe.flux#L3601-L3601
https://github.com/influxdata/flux/blob/master/stdlib/universe/universe.flux#L3636-L3636
Contributing to Flux: https://github.com/influxdata/flux#contributing
Fluxdoc syntax: https://github.com/influxdata/flux/blob/master/docs/fluxdoc.md

Some files were not shown because too many files have changed in this diff Show More