Merge pull request #5529 from vlastahajek/fix/csv-from-dupl

fix: making each csv.from unique
pull/5524/head
Vlasta Hajek 2020-07-07 11:44:15 +02:00 committed by GitHub
commit d3e70920b4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 14 additions and 2 deletions

View File

@ -14,6 +14,8 @@
1. [#5516](https://github.com/influxdata/chronograf/pull/5516): Fall back to point timestamp in log viewer
1. [#5517](https://github.com/influxdata/chronograf/pull/5517): Add global functions and string trimmming to alert message validation
1. [#5519](https://github.com/influxdata/chronograf/pull/5519): Merge query results with unique column names
1. [#5529](https://github.com/influxdata/chronograf/pull/5529): Multiplication of `csv.from` in functions list
### Features

View File

@ -463,13 +463,23 @@ export const FUNCTIONS: FluxToolbarFunction[] = [
'https://docs.influxdata.com/flux/latest/stdlib/built-in/transformations/aggregates/covariance/',
},
{
name: 'csv.from',
name: 'csv.from (file)',
args: [
{
name: 'file',
desc: 'The file path of the CSV file to query.',
type: 'String',
},
],
package: 'csv',
desc: 'Retrieves data from a comma-separated value (CSV) data source.',
example: 'csv.from(file: path)',
category: 'Inputs',
link: 'https://docs.influxdata.com/flux/latest/stdlib/csv/from/',
},
{
name: 'csv.from (csvData)',
args: [
{
name: 'csv',
desc:
@ -484,7 +494,7 @@ export const FUNCTIONS: FluxToolbarFunction[] = [
link: 'https://docs.influxdata.com/flux/latest/stdlib/csv/from/',
},
{
name: 'csv.from',
name: 'csv.from (url)',
args: [
{
name: 'url',