chore(flux): add flux 0.66 functions (#17741)

* chore(flux): add flux 0.66 functions
* chore(flux): fix syntax issues in flux functions list
pull/17848/head^2
Scott Anderson 2020-04-23 10:54:53 -06:00 committed by GitHub
parent d764ca3798
commit decddb4710
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 28 additions and 0 deletions

View File

@ -942,6 +942,22 @@ export const FLUX_FUNCTIONS: FluxToolbarFunction[] = [
link: link:
'https://v2.docs.influxdata.com/v2.0/reference/flux/stdlib/experimental/addduration/', 'https://v2.docs.influxdata.com/v2.0/reference/flux/stdlib/experimental/addduration/',
}, },
{
name: 'experimental.alignTime',
args: [
{
name: 'alignTo',
desc: 'UTC time to align tables to. Default is 1970-01-01T00:00:00Z.',
type: 'Time',
},
],
package: 'experimental',
desc: 'Aligns input tables to a common start time.',
example: 'experimental.alignTime(alignTo: v.timeRangeStart)',
category: 'Transformations',
link:
'https://v2.docs.influxdata.com/v2.0/reference/flux/stdlib/experimental/aligntime/',
},
{ {
name: 'experimental.group', name: 'experimental.group',
args: [ args: [
@ -4954,6 +4970,12 @@ export const FLUX_FUNCTIONS: FluxToolbarFunction[] = [
desc: 'The stream that contains the expected data to test against.', desc: 'The stream that contains the expected data to test against.',
type: 'Stream of tables', type: 'Stream of tables',
}, },
{
name: 'epsilon',
desc:
'How far apart two float values can be, but still considered equal. Defaults to `0.000000001`.',
type: 'Float',
},
], ],
package: 'testing', package: 'testing',
desc: 'Produces a diff between two streams.', desc: 'Produces a diff between two streams.',
@ -5440,6 +5462,12 @@ export const FLUX_FUNCTIONS: FluxToolbarFunction[] = [
'The column containing the window stop time. Defaults to `"_stop"`.', 'The column containing the window stop time. Defaults to `"_stop"`.',
type: 'String', type: 'String',
}, },
{
name: 'createEmpty',
desc:
'Specifies whether empty tables should be created. Defaults to `false`.',
type: 'Boolean',
},
], ],
package: '', package: '',
desc: desc: