added used function lists to influxdb v1 functions

pull/50/head
Scott Anderson 2019-02-07 19:06:30 -07:00
parent 1274d9e38b
commit 742fafa127
8 changed files with 33 additions and 3 deletions

View File

@ -1,7 +1,8 @@
---
title: InfluxDB v1 Flux functions
description: >
InfluxDB v1 Flux functions provide tools for managing data from an InfluxDB v1.x database.
InfluxDB v1 Flux functions provide tools for managing data from an InfluxDB v1.x
database or structured using the InfluxDB v1 data structure.
To use them, import the "influxdata/influxdb/v1" package.
menu:
v2_0_ref:

View File

@ -43,3 +43,6 @@ fieldsAsCols = (tables=<-) =>
valueColumn: "_value"
)
```
_**Used functions:**
[pivot()](/v2.0/reference/flux/functions/built-in/transformations/pivot)_

View File

@ -29,3 +29,6 @@ _**Data type:** String_
measurements = (bucket) =>
tagValues(bucket: bucket, tag: "_measurement")
```
_**Used functions:**
[tagValues()](/v2.0/reference/flux/functions/influxdb-v1/tagvalues)_

View File

@ -39,3 +39,6 @@ measurementTagKeys = (bucket, measurement) =>
bucket: bucket,
predicate: (r) => r._measurement == measurement)
```
_**Used functions:**
[tagKeys()](/v2.0/reference/flux/functions/influxdb-v1/tagkeys)_

View File

@ -50,3 +50,6 @@ measurementTagValues = (bucket, measurement, tag) =>
predicate: (r) => r._measurement == measurement
)
```
_**Used functions:**
[tagValues()](/v2.0/reference/flux/functions/influxdb-v1/tagvalues)_

View File

@ -61,3 +61,10 @@ tagKeys = (bucket, predicate=(r) => true, start=-30d) =>
|> keys()
|> keep(columns: ["_value"])
```
_**Used functions:**
[from](/v2.0/reference/flux/functions/built-in/inputs/from/),
[range](/v2.0/reference/flux/functions/built-in/transformations/range/),
[filter](/v2.0/reference/flux/functions/built-in/transformations/filter/),
[keys](/v2.0/reference/flux/functions/built-in/transformations/keys/),
[keep](/v2.0/reference/flux/functions/built-in/transformations/keep/)_

View File

@ -71,3 +71,11 @@ tagValues = (bucket, tag, predicate=(r) => true, start=-30d) =>
|> distinct(column: tag)
|> keep(columns: ["_value"])
```
_**Used functions:**
[from](/v2.0/reference/flux/functions/built-in/inputs/from/),
[range](/v2.0/reference/flux/functions/built-in/transformations/range/),
[filter](/v2.0/reference/flux/functions/built-in/transformations/filter/),
[group](/v2.0/reference/flux/functions/built-in/transformations/group/),
[distinct](/v2.0/reference/flux/functions/built-in/transformations/selectors/distinct/),
[keep](/v2.0/reference/flux/functions/built-in/transformations/keep/)_

View File

@ -1,6 +1,8 @@
---
title: String Flux functions
description: placeholder
description: >
String functions provide tools for manipulating strings in Flux.
To use them, import the "strings" package:
menu:
v2_0_ref:
name: Strings
@ -8,7 +10,7 @@ menu:
weight: 203
---
String functions provide tools for manipulating strings in flux.
String functions provide tools for manipulating strings in Flux.
To use them, import the `strings` package:
```js