From c4c0e0253dc2a3f1620a017baa875e8a4679203a Mon Sep 17 00:00:00 2001 From: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com> Date: Tue, 22 Sep 2020 18:41:32 -0400 Subject: [PATCH] Transformations changes (#27716) * Chunking out the long Transformation topic. Also, updated TOC. Local build looks fine. * More changes. * More re-arranging of content. Fixed links in Types and Options page. * Capitalization changes. * Changes to Overview section. * Fixed merge conflicts. * Fixed typo to fix build failure. * Update docs/sources/panels/transformations/types-options.md Co-authored-by: Diana Payton <52059945+oddlittlebird@users.noreply.github.com> * Changes from Diana. * Fixed a typo in a relref. * Fixed broken link. * Update link in Troubleshooting topic. * Added changes. * Fixed a bunch of broken links. Co-authored-by: Diana Payton <52059945+oddlittlebird@users.noreply.github.com> --- docs/sources/manage-users/_index.md | 2 +- .../panels/transformations/apply-transformations.md | 3 ++- docs/sources/panels/transformations/types-options.md | 7 ++++--- docs/sources/panels/visualizations/bar-gauge-panel.md | 2 +- docs/sources/panels/visualizations/gauge-panel.md | 2 +- docs/sources/panels/visualizations/graph-panel.md | 3 ++- docs/sources/panels/visualizations/stat-panel.md | 2 +- docs/sources/panels/visualizations/table-panel.md | 2 +- 8 files changed, 13 insertions(+), 10 deletions(-) diff --git a/docs/sources/manage-users/_index.md b/docs/sources/manage-users/_index.md index d9fe7bcfb8d..cb45aba7faf 100644 --- a/docs/sources/manage-users/_index.md +++ b/docs/sources/manage-users/_index.md @@ -9,7 +9,7 @@ weight = 3 # Manage users -Create users and teams and configure [Permissions]({{< relref "../permissions/overview.md" >}}) to make sure that users only have access to the resources they need. +Create users and teams and configure [Permissions Overview]({{< relref "../permissions/overview.md" >}}) to make sure that users only have access to the resources they need. Only Administrators can manage users and teams. diff --git a/docs/sources/panels/transformations/apply-transformations.md b/docs/sources/panels/transformations/apply-transformations.md index 3d399515673..6f6a059c85c 100644 --- a/docs/sources/panels/transformations/apply-transformations.md +++ b/docs/sources/panels/transformations/apply-transformations.md @@ -31,7 +31,8 @@ To apply a transformation: To remove a transformation that is no longer needed, click the trash can icon. -## Debug transformations +## Debug transformations + To see the input and the output result sets of the transformation, click the bug icon on the right side of the transformation row Grafana displays the transformation debug view below the transformation row. {{< docs-imagebox img="/img/docs/transformations/debug-transformations-7-0.png" class="docs-image--no-shadow" max-width= "1100px" >}} diff --git a/docs/sources/panels/transformations/types-options.md b/docs/sources/panels/transformations/types-options.md index a16ae39b5e5..48c16b9910d 100644 --- a/docs/sources/panels/transformations/types-options.md +++ b/docs/sources/panels/transformations/types-options.md @@ -1,5 +1,5 @@ +++ -title = "Transformation Types and Options" +title = "Transformation types and options" type = "docs" [menu.docs] identifier = "transformation_types_and_options" @@ -161,7 +161,7 @@ Example: Given a query result of two time series 1: labels Server=Server A, Datacenter=EU 2: labels Server=Server B, Datacenter=EU -This would result in a table like this +This would result in a table like this: | Time | Server | Datacenter | Value | | ------------------- | -------- | ---------- | ----- | @@ -169,7 +169,8 @@ This would result in a table like this | 2020-07-07 11:34:20 | Server B | EU | 2 | **Value field name** -If you selected Server as in the **Value field name**, then you would get one field for every value of the Server label. + +If you selected Server as the **Value field name**, then you would get one field for every value of the Server label. | Time | Datacenter | Server A | Server B | | ------------------- | ---------- | -------- | -------- | diff --git a/docs/sources/panels/visualizations/bar-gauge-panel.md b/docs/sources/panels/visualizations/bar-gauge-panel.md index 8d286fd8b06..16926548f79 100644 --- a/docs/sources/panels/visualizations/bar-gauge-panel.md +++ b/docs/sources/panels/visualizations/bar-gauge-panel.md @@ -19,7 +19,7 @@ This panel can show one or more bar gauges depending on how many series, rows, o Bar gauge visualizations allow you to apply: -- [Data transformations]({{< relref "../transformations/prereq.md" >}}) +- [Data transformations]({{< relref "../transformations/_index.md" >}}) - [Field options and overrides]({{< relref "../field-options.md" >}}) - [Thresholds]({{< relref "../thresholds.md" >}}) diff --git a/docs/sources/panels/visualizations/gauge-panel.md b/docs/sources/panels/visualizations/gauge-panel.md index 7458e9a2753..85b9b599925 100644 --- a/docs/sources/panels/visualizations/gauge-panel.md +++ b/docs/sources/panels/visualizations/gauge-panel.md @@ -17,7 +17,7 @@ Gauge is a single value panel that can repeat a gauge for every series, column o Gauge visualizations allow you to apply: -- [Data transformations]({{< relref "../transformations/prereq.md" >}}) +- [Data transformations]({{< relref "../transformations/_index.md" >}}) - [Field options and overrides]({{< relref "../field-options.md" >}}) - [Thresholds]({{< relref "../thresholds.md" >}}) diff --git a/docs/sources/panels/visualizations/graph-panel.md b/docs/sources/panels/visualizations/graph-panel.md index 9e51558a9e7..340047560a2 100644 --- a/docs/sources/panels/visualizations/graph-panel.md +++ b/docs/sources/panels/visualizations/graph-panel.md @@ -15,7 +15,8 @@ This visualization is the most-used in the Grafana ecosystem. It can render as a ## Data and field options Graph visualizations allow you to apply: -- [Data transformations]({{< relref "../transformations/prereq.md" >}}) + +- [Data transformations]({{< relref "../transformations/_index.md" >}}) - [Alerts]({{< relref "../../alerting/alerts-overview.md" >}}) - This is the only type of visualization that allows you to set alerts. - [Thresholds]({{< relref "../thresholds.md" >}}) diff --git a/docs/sources/panels/visualizations/stat-panel.md b/docs/sources/panels/visualizations/stat-panel.md index 0623ab2fe08..977e58add55 100644 --- a/docs/sources/panels/visualizations/stat-panel.md +++ b/docs/sources/panels/visualizations/stat-panel.md @@ -19,7 +19,7 @@ The Stat panel shows a one large stat value with an optional graph sparkline. Yo Stat visualizations allow you to apply: -- [Data transformations]({{< relref "../transformations/prereq.md" >}}) +- [Data transformations]({{< relref "../transformations/_index.md" >}}) - [Field options and overrides]({{< relref "../field-options.md" >}}) - [Thresholds]({{< relref "../thresholds.md" >}}) diff --git a/docs/sources/panels/visualizations/table-panel.md b/docs/sources/panels/visualizations/table-panel.md index c65117af32d..ef63876283f 100644 --- a/docs/sources/panels/visualizations/table-panel.md +++ b/docs/sources/panels/visualizations/table-panel.md @@ -21,7 +21,7 @@ The table panel is very flexible, supporting multiple modes for time series and Table visualizations allow you to apply: -- [Data transformations]({{< relref "../transformations/prereq.md" >}}) +- [Data transformations]({{< relref "../transformations/_index.md" >}}) - [Field options and overrides]({{< relref "../field-options.md" >}}) - [Thresholds]({{< relref "../thresholds.md" >}})