fix(fluxFunctions): fix category on fromRange (#16991)
* fix(fluxFunctions): fix category on fromRange * fix(fluxFunctions): update to use example-bucket * fix(fluxFunctions): run prettier * fix(fluxFunctions): update description for experimental/query functions * fix(fluxFunctions): update category for inBucket * chore(changelog): update changelogpull/16998/head
parent
9f71cad966
commit
8d9e3550bd
|
@ -1,6 +1,7 @@
|
||||||
## v2.0.0-beta.5 [unreleased]
|
## v2.0.0-beta.5 [unreleased]
|
||||||
|
|
||||||
### Features
|
### Features
|
||||||
|
1. [16991](https://github.com/influxdata/influxdb/pull/16991): Update Flux functions list for v0.61
|
||||||
|
|
||||||
### Bug Fixes
|
### Bug Fixes
|
||||||
1. [16919](https://github.com/influxdata/influxdb/pull/16919): Sort dashboards on homepage alphabetically
|
1. [16919](https://github.com/influxdata/influxdb/pull/16919): Sort dashboards on homepage alphabetically
|
||||||
|
|
|
@ -17,7 +17,7 @@ export const FROM: FluxToolbarFunction = {
|
||||||
package: '',
|
package: '',
|
||||||
desc:
|
desc:
|
||||||
'Used to retrieve data from an InfluxDB data source. It returns a stream of tables from the specified bucket. Each unique series is contained within its own table. Each record in the table represents a single point in the series.',
|
'Used to retrieve data from an InfluxDB data source. It returns a stream of tables from the specified bucket. Each unique series is contained within its own table. Each record in the table represents a single point in the series.',
|
||||||
example: 'from(bucket: "telegraf")',
|
example: 'from(bucket: "example-bucket")',
|
||||||
category: 'Inputs',
|
category: 'Inputs',
|
||||||
link:
|
link:
|
||||||
'https://v2.docs.influxdata.com/v2.0/reference/flux/stdlib/built-in/inputs/from/',
|
'https://v2.docs.influxdata.com/v2.0/reference/flux/stdlib/built-in/inputs/from/',
|
||||||
|
@ -3271,10 +3271,10 @@ export const FLUX_FUNCTIONS: FluxToolbarFunction[] = [
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
package: 'experimental/query',
|
package: 'experimental/query',
|
||||||
desc: 'Filters input data by measurement.',
|
desc: 'Returns all data from a specified bucket within given time bounds.',
|
||||||
example:
|
example:
|
||||||
'query.fromRange(bucket: "example-bucket", start: v.timeRangeStart)',
|
'query.fromRange(bucket: "example-bucket", start: v.timeRangeStart)',
|
||||||
category: 'Input',
|
category: 'Inputs',
|
||||||
link:
|
link:
|
||||||
'https://v2.docs.influxdata.com/v2.0/reference/flux/stdlib/experimental/query/fromrange/',
|
'https://v2.docs.influxdata.com/v2.0/reference/flux/stdlib/experimental/query/fromrange/',
|
||||||
},
|
},
|
||||||
|
@ -3313,10 +3313,11 @@ export const FLUX_FUNCTIONS: FluxToolbarFunction[] = [
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
package: 'experimental/query',
|
package: 'experimental/query',
|
||||||
desc: 'Filters input data by measurement.',
|
desc:
|
||||||
|
'Queries data from a specified bucket within given time bounds, filters data by measurement, field, and optional predicate expressions.',
|
||||||
example:
|
example:
|
||||||
'query.inBucket(bucket: "example-bucket", start: v.timeRangeStart, measurement: "measurement_name", fields: ["field_name"], predicate: (r) => r.host == "host1")',
|
'query.inBucket(bucket: "example-bucket", start: v.timeRangeStart, measurement: "measurement_name", fields: ["field_name"], predicate: (r) => r.host == "host1")',
|
||||||
category: 'Input',
|
category: 'Inputs',
|
||||||
link:
|
link:
|
||||||
'https://v2.docs.influxdata.com/v2.0/reference/flux/stdlib/experimental/query/inbucket/',
|
'https://v2.docs.influxdata.com/v2.0/reference/flux/stdlib/experimental/query/inbucket/',
|
||||||
},
|
},
|
||||||
|
@ -4805,7 +4806,7 @@ export const FLUX_FUNCTIONS: FluxToolbarFunction[] = [
|
||||||
],
|
],
|
||||||
package: '',
|
package: '',
|
||||||
desc: 'The `to()` function writes data to an InfluxDB v2.0 bucket.',
|
desc: 'The `to()` function writes data to an InfluxDB v2.0 bucket.',
|
||||||
example: 'to(bucket:"my-bucket", org:"my-org")',
|
example: 'to(bucket: "example-bucket", org: "example-org")',
|
||||||
category: 'Outputs',
|
category: 'Outputs',
|
||||||
link:
|
link:
|
||||||
'https://v2.docs.influxdata.com/v2.0/reference/flux/stdlib/built-in/outputs/to/',
|
'https://v2.docs.influxdata.com/v2.0/reference/flux/stdlib/built-in/outputs/to/',
|
||||||
|
@ -5002,7 +5003,8 @@ export const FLUX_FUNCTIONS: FluxToolbarFunction[] = [
|
||||||
],
|
],
|
||||||
package: 'influxdata/influxdb/v1',
|
package: 'influxdata/influxdb/v1',
|
||||||
desc: 'Returns a list of tag keys for a specific measurement.',
|
desc: 'Returns a list of tag keys for a specific measurement.',
|
||||||
example: 'v1.measurementTagKeys(bucket: "telegraf", measurement: "mem")',
|
example:
|
||||||
|
'v1.measurementTagKeys(bucket: "example-bucket", measurement: "mem")',
|
||||||
category: 'Transformations',
|
category: 'Transformations',
|
||||||
link:
|
link:
|
||||||
'https://v2.docs.influxdata.com/v2.0/reference/flux/stdlib/influxdb-v1/measurementtagkeys/',
|
'https://v2.docs.influxdata.com/v2.0/reference/flux/stdlib/influxdb-v1/measurementtagkeys/',
|
||||||
|
@ -5030,7 +5032,7 @@ export const FLUX_FUNCTIONS: FluxToolbarFunction[] = [
|
||||||
package: 'influxdata/influxdb/v1',
|
package: 'influxdata/influxdb/v1',
|
||||||
desc: 'Returns a list of tag values for a specific measurement.',
|
desc: 'Returns a list of tag values for a specific measurement.',
|
||||||
example:
|
example:
|
||||||
'v1.measurementTagValues(bucket: "telegraf", measurement: "mem", tag: "host")',
|
'v1.measurementTagValues(bucket: "example-bucket", measurement: "mem", tag: "host")',
|
||||||
category: 'Transformations',
|
category: 'Transformations',
|
||||||
link:
|
link:
|
||||||
'https://v2.docs.influxdata.com/v2.0/reference/flux/stdlib/influxdb-v1/measurementtagvalues/',
|
'https://v2.docs.influxdata.com/v2.0/reference/flux/stdlib/influxdb-v1/measurementtagvalues/',
|
||||||
|
@ -5046,7 +5048,7 @@ export const FLUX_FUNCTIONS: FluxToolbarFunction[] = [
|
||||||
],
|
],
|
||||||
package: 'influxdata/influxdb/v1',
|
package: 'influxdata/influxdb/v1',
|
||||||
desc: 'Returns a list of measurements in a specific bucket.',
|
desc: 'Returns a list of measurements in a specific bucket.',
|
||||||
example: 'v1.measurements(bucket: "telegraf")',
|
example: 'v1.measurements(bucket: "example-bucket")',
|
||||||
category: 'Transformations',
|
category: 'Transformations',
|
||||||
link:
|
link:
|
||||||
'https://v2.docs.influxdata.com/v2.0/reference/flux/stdlib/influxdb-v1/measurements/',
|
'https://v2.docs.influxdata.com/v2.0/reference/flux/stdlib/influxdb-v1/measurements/',
|
||||||
|
@ -5074,7 +5076,7 @@ export const FLUX_FUNCTIONS: FluxToolbarFunction[] = [
|
||||||
],
|
],
|
||||||
package: 'influxdata/influxdb/v1',
|
package: 'influxdata/influxdb/v1',
|
||||||
desc: 'Returns a list of tag keys for all series that match the predicate.',
|
desc: 'Returns a list of tag keys for all series that match the predicate.',
|
||||||
example: 'v1.tagKeys(bucket: "telegraf")',
|
example: 'v1.tagKeys(bucket: "example-bucket")',
|
||||||
category: 'Transformations',
|
category: 'Transformations',
|
||||||
link:
|
link:
|
||||||
'https://v2.docs.influxdata.com/v2.0/reference/flux/stdlib/influxdb-v1/tagkeys/',
|
'https://v2.docs.influxdata.com/v2.0/reference/flux/stdlib/influxdb-v1/tagkeys/',
|
||||||
|
@ -5107,7 +5109,7 @@ export const FLUX_FUNCTIONS: FluxToolbarFunction[] = [
|
||||||
],
|
],
|
||||||
package: 'influxdata/influxdb/v1',
|
package: 'influxdata/influxdb/v1',
|
||||||
desc: 'Returns a list of unique values for a given tag.',
|
desc: 'Returns a list of unique values for a given tag.',
|
||||||
example: 'v1.tagValues(bucket: "telegraf")',
|
example: 'v1.tagValues(bucket: "example-bucket")',
|
||||||
category: 'Transformations',
|
category: 'Transformations',
|
||||||
link:
|
link:
|
||||||
'https://v2.docs.influxdata.com/v2.0/reference/flux/stdlib/influxdb-v1/tagvalues/',
|
'https://v2.docs.influxdata.com/v2.0/reference/flux/stdlib/influxdb-v1/tagvalues/',
|
||||||
|
|
Loading…
Reference in New Issue