Merge pull request #4776 from fntlnz/flux/fix-pivot-keys

fix(flux/pivot): specify the right named parameters for columnKey and valueKey
fix/ci-pivot
Lorenzo Fontana 2018-11-09 15:55:44 -08:00 committed by GitHub
commit 286d23dee4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 3 deletions

View File

@ -33,6 +33,7 @@
1. [#4772](https://github.com/influxdata/chronograf/pull/4772): Add protoboards enviroment variables to dockerfile
1. [#4763](https://github.com/influxdata/chronograf/pull/4763): Fix log columns not rendering
1. [#4767](https://github.com/influxdata/chronograf/pull/4767): Fix scroll loading indicator not hiding in logs
1. [#4776](https://github.com/influxdata/chronograf/pull/4776): Fix flux pivot function using wrong named parameters
## v1.7.0 [2018-11-06]

View File

@ -857,13 +857,13 @@ export const functions: FluxToolbarFunction[] = [
type: 'Array of Strings',
},
{
name: 'colKey',
name: 'columnKey',
desc:
'List of columns used to pivot values onto each row identified by the rowKey.',
type: 'Array of Strings',
},
{
name: 'valueCol',
name: 'valueColumn',
desc:
'The single column that contains the value to be moved around the pivot.',
type: 'String',
@ -871,7 +871,7 @@ export const functions: FluxToolbarFunction[] = [
],
desc:
'Collects values stored vertically (column-wise) in a table and aligns them horizontally (row-wise) into logical sets.',
example: 'pivot(rowKey:["_time"], colKey: ["_field"], valueCol: "_value")',
example: 'pivot(rowKey:["_time"], columnKey: ["_field"], valueColumn: "_value")',
category: 'Transformations',
link:
'https://docs.influxdata.com/flux/latest/functions/transformations/pivot',