From 91825be1ddbe8c97bd10d44bd60393313b2764f8 Mon Sep 17 00:00:00 2001 From: Marie Cruz Date: Mon, 21 Jul 2025 13:43:33 +0100 Subject: [PATCH] add data transformations learning journey to transform data docs (#108325) * add data transformations learning journey to transform data docs * add shortcode to typescript file instead --- .../query-transform-data/transform-data/index.md | 4 +++- scripts/docs/generate-transformations.ts | 2 ++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/docs/sources/panels-visualizations/query-transform-data/transform-data/index.md b/docs/sources/panels-visualizations/query-transform-data/transform-data/index.md index 7782acad459..033115c665c 100644 --- a/docs/sources/panels-visualizations/query-transform-data/transform-data/index.md +++ b/docs/sources/panels-visualizations/query-transform-data/transform-data/index.md @@ -88,6 +88,8 @@ Transformations are a powerful way to manipulate data returned by a query before - Perform mathematical operations across queries - Use the output of one transformation as the input to another transformation +{{< docs/learning-journeys title="Transform data in a Grafana Cloud dashboard" url="https://grafana.com/docs/learning-journeys/data-transformation/" >}} + For users that rely on multiple views of the same dataset, transformations offer an efficient method of creating and maintaining numerous dashboards. You can also use the output of one transformation as the input to another transformation, which results in a performance gain. @@ -645,7 +647,7 @@ After choosing which field you want to group your data by, you can add various c | server 2 | 88.6 | | server 3 | 59.6 | -If you had added the count stat to the group by, there would be an extra column showing that the count of each server from above was 3. +If you had added the count stat to the group by transformation, there would be an extra column showing that the count of each server from above was 3. | Server ID | CPU Temperature (mean) | Server ID (count) | | --------- | ---------------------- | ----------------- | diff --git a/scripts/docs/generate-transformations.ts b/scripts/docs/generate-transformations.ts index a8e52c07fc9..bc13c8cb413 100644 --- a/scripts/docs/generate-transformations.ts +++ b/scripts/docs/generate-transformations.ts @@ -102,6 +102,8 @@ Transformations are a powerful way to manipulate data returned by a query before - Perform mathematical operations across queries - Use the output of one transformation as the input to another transformation +{{< docs/learning-journeys title="Transform data in a Grafana Cloud dashboard" url="https://grafana.com/docs/learning-journeys/data-transformation/" >}} + For users that rely on multiple views of the same dataset, transformations offer an efficient method of creating and maintaining numerous dashboards. You can also use the output of one transformation as the input to another transformation, which results in a performance gain.