From 742fafa12776b530b6ce479a83dc05fff75e5af7 Mon Sep 17 00:00:00 2001 From: Scott Anderson Date: Thu, 7 Feb 2019 19:06:30 -0700 Subject: [PATCH] added used function lists to influxdb v1 functions --- .../v2.0/reference/flux/functions/influxdb-v1/_index.md | 3 ++- .../reference/flux/functions/influxdb-v1/fieldsascols.md | 3 +++ .../reference/flux/functions/influxdb-v1/measurements.md | 3 +++ .../flux/functions/influxdb-v1/measurementtagkeys.md | 3 +++ .../flux/functions/influxdb-v1/measurementtagvalues.md | 3 +++ .../v2.0/reference/flux/functions/influxdb-v1/tagkeys.md | 7 +++++++ .../reference/flux/functions/influxdb-v1/tagvalues.md | 8 ++++++++ content/v2.0/reference/flux/functions/strings/_index.md | 6 ++++-- 8 files changed, 33 insertions(+), 3 deletions(-) diff --git a/content/v2.0/reference/flux/functions/influxdb-v1/_index.md b/content/v2.0/reference/flux/functions/influxdb-v1/_index.md index fd22f1689..8a3cc8d66 100644 --- a/content/v2.0/reference/flux/functions/influxdb-v1/_index.md +++ b/content/v2.0/reference/flux/functions/influxdb-v1/_index.md @@ -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: diff --git a/content/v2.0/reference/flux/functions/influxdb-v1/fieldsascols.md b/content/v2.0/reference/flux/functions/influxdb-v1/fieldsascols.md index 948442d67..9ea26ddf8 100644 --- a/content/v2.0/reference/flux/functions/influxdb-v1/fieldsascols.md +++ b/content/v2.0/reference/flux/functions/influxdb-v1/fieldsascols.md @@ -43,3 +43,6 @@ fieldsAsCols = (tables=<-) => valueColumn: "_value" ) ``` + +_**Used functions:** +[pivot()](/v2.0/reference/flux/functions/built-in/transformations/pivot)_ diff --git a/content/v2.0/reference/flux/functions/influxdb-v1/measurements.md b/content/v2.0/reference/flux/functions/influxdb-v1/measurements.md index 6c815ad14..dd1f3d99f 100644 --- a/content/v2.0/reference/flux/functions/influxdb-v1/measurements.md +++ b/content/v2.0/reference/flux/functions/influxdb-v1/measurements.md @@ -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)_ diff --git a/content/v2.0/reference/flux/functions/influxdb-v1/measurementtagkeys.md b/content/v2.0/reference/flux/functions/influxdb-v1/measurementtagkeys.md index 5b652bbf2..aab6a50c1 100644 --- a/content/v2.0/reference/flux/functions/influxdb-v1/measurementtagkeys.md +++ b/content/v2.0/reference/flux/functions/influxdb-v1/measurementtagkeys.md @@ -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)_ diff --git a/content/v2.0/reference/flux/functions/influxdb-v1/measurementtagvalues.md b/content/v2.0/reference/flux/functions/influxdb-v1/measurementtagvalues.md index 576374b31..50c36a52f 100644 --- a/content/v2.0/reference/flux/functions/influxdb-v1/measurementtagvalues.md +++ b/content/v2.0/reference/flux/functions/influxdb-v1/measurementtagvalues.md @@ -50,3 +50,6 @@ measurementTagValues = (bucket, measurement, tag) => predicate: (r) => r._measurement == measurement ) ``` + +_**Used functions:** +[tagValues()](/v2.0/reference/flux/functions/influxdb-v1/tagvalues)_ diff --git a/content/v2.0/reference/flux/functions/influxdb-v1/tagkeys.md b/content/v2.0/reference/flux/functions/influxdb-v1/tagkeys.md index 7cfd6f8c4..6cf9d319a 100644 --- a/content/v2.0/reference/flux/functions/influxdb-v1/tagkeys.md +++ b/content/v2.0/reference/flux/functions/influxdb-v1/tagkeys.md @@ -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/)_ diff --git a/content/v2.0/reference/flux/functions/influxdb-v1/tagvalues.md b/content/v2.0/reference/flux/functions/influxdb-v1/tagvalues.md index 17f5845e0..a731be381 100644 --- a/content/v2.0/reference/flux/functions/influxdb-v1/tagvalues.md +++ b/content/v2.0/reference/flux/functions/influxdb-v1/tagvalues.md @@ -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/)_ diff --git a/content/v2.0/reference/flux/functions/strings/_index.md b/content/v2.0/reference/flux/functions/strings/_index.md index bc69dd17c..e58cd4da2 100644 --- a/content/v2.0/reference/flux/functions/strings/_index.md +++ b/content/v2.0/reference/flux/functions/strings/_index.md @@ -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