From 7a6f47143be0c7c2c427196f3fc3601fe7c73123 Mon Sep 17 00:00:00 2001 From: Jack Baldry Date: Fri, 21 Jul 2023 08:44:02 +0100 Subject: [PATCH] Remove relrefs for tutorials pages that have been moved (#71428) Moved in grafana/grafana#69864. Signed-off-by: Jack Baldry --- docs/sources/developers/_index.md | 2 +- docs/sources/developers/angular_deprecation.md | 4 ++-- docs/sources/developers/plugins/_index.md | 12 ++++++------ .../plugins/add-support-for-annotations.md | 2 +- .../plugins/add-support-for-explore-queries.md | 2 +- .../plugins/build-a-logs-data-source-plugin.md | 2 +- .../plugins/build-a-streaming-data-source-plugin.md | 2 +- docs/sources/enterprise/recorded-queries.md | 2 +- docs/sources/live/_index.md | 4 ++-- docs/sources/whatsnew/whats-new-in-v7-0.md | 8 ++++---- 10 files changed, 20 insertions(+), 20 deletions(-) diff --git a/docs/sources/developers/_index.md b/docs/sources/developers/_index.md index dc2b82a18fe..0d2673c8a41 100644 --- a/docs/sources/developers/_index.md +++ b/docs/sources/developers/_index.md @@ -11,6 +11,6 @@ This section of the documentation contains pages with resources for Grafana deve - [Grafana Contribution Guide - learn how you can contribute your skills to make Grafana even better.]({{< relref "contribute.md" >}}) - [How to build a plugin]({{< relref "plugins" >}}) -- [Grafana Tutorials - step-by-step guides that help you make the most of Grafana](https://grafana.com/tutorials/) +- [Grafana Tutorials - step-by-step guides that help you make the most of Grafana](/tutorials/) - [Grafana Community Forums - get technical support for open source Grafana, Loki, and Tempo.](https://community.grafana.com) - [Grafana design system - library of reusable Grafana components and guidelines that help you with contribution and plugin development](https://developers.grafana.com) diff --git a/docs/sources/developers/angular_deprecation.md b/docs/sources/developers/angular_deprecation.md index 42d65aa11be..3006b2969e4 100644 --- a/docs/sources/developers/angular_deprecation.md +++ b/docs/sources/developers/angular_deprecation.md @@ -32,5 +32,5 @@ For panels, the rendering logic could in some cases be easily preserved but all ### Links - [Migrate Angular to React](https://grafana.com/docs/grafana/latest/developers/plugins/migration-guide/#migrate-a-plugin-from-angular-to-react) -- [Build a panel plugin](https://grafana.com/tutorials/build-a-panel-plugin/) -- [Build a data source plugin](https://grafana.com/tutorials/build-a-data-source-plugin/) +- [Build a panel plugin](/tutorials/build-a-panel-plugin/) +- [Build a data source plugin](/tutorials/build-a-data-source-plugin/) diff --git a/docs/sources/developers/plugins/_index.md b/docs/sources/developers/plugins/_index.md index b3f3a50c29a..c31978cde22 100644 --- a/docs/sources/developers/plugins/_index.md +++ b/docs/sources/developers/plugins/_index.md @@ -22,8 +22,8 @@ npx @grafana/toolkit plugin:create my-grafana-plugin If you want a more guided introduction to plugin development, check out our tutorials: -- [Build a panel plugin]({{< relref "/tutorials/build-a-panel-plugin.md" >}}) -- [Build a data source plugin]({{< relref "/tutorials/build-a-data-source-plugin.md" >}}) +- [Build a panel plugin](/tutorials/build-a-panel-plugin/) +- [Build a data source plugin](/tutorials/build-a-data-source-plugin/) ## Go further @@ -33,13 +33,13 @@ Learn more about specific areas of plugin development. If you're looking to build your first plugin, check out these introductory tutorials: -- [Build a panel plugin]({{< relref "/tutorials/build-a-panel-plugin.md" >}}) -- [Build a data source plugin]({{< relref "/tutorials/build-a-data-source-plugin.md" >}}) -- [Build a data source backend plugin]({{< relref "/tutorials/build-a-data-source-backend-plugin.md" >}}) +- [Build a panel plugin](/tutorials/build-a-panel-plugin/) +- [Build a data source plugin](/tutorials/build-a-data-source-plugin/) +- [Build a data source backend plugin](/tutorials/build-a-data-source-backend-plugin/) Ready to learn more? Check out our other tutorials: -- [Build a panel plugin with D3.js]({{< relref "/tutorials/build-a-panel-plugin-with-d3.md" >}}) +- [Build a panel plugin with D3.js](/tutorials/build-a-panel-plugin-with-d3/) ### Guides diff --git a/docs/sources/developers/plugins/add-support-for-annotations.md b/docs/sources/developers/plugins/add-support-for-annotations.md index 9784489146b..ffdc9a97ef1 100644 --- a/docs/sources/developers/plugins/add-support-for-annotations.md +++ b/docs/sources/developers/plugins/add-support-for-annotations.md @@ -6,7 +6,7 @@ title: Add support for annotations This guide explains how to add support for [annotations]({{< relref "../../dashboards/annotations.md" >}}) to an existing data source plugin. -This guide assumes that you're already familiar with how to [Build a data source plugin]({{< relref "/tutorials/build-a-data-source-plugin.md" >}}). +This guide assumes that you're already familiar with how to [Build a data source plugin](/tutorials/build-a-data-source-plugin/). > **Note:** Annotation support for React plugins was released in Grafana 7.2. To support earlier versions, refer to the [Add support for annotation for Grafana 7.1](https://grafana.com/docs/grafana/v7.1/developers/plugins/add-support-for-annotations/). diff --git a/docs/sources/developers/plugins/add-support-for-explore-queries.md b/docs/sources/developers/plugins/add-support-for-explore-queries.md index 4eb5ab72a8c..4f250c18291 100644 --- a/docs/sources/developers/plugins/add-support-for-explore-queries.md +++ b/docs/sources/developers/plugins/add-support-for-explore-queries.md @@ -6,7 +6,7 @@ title: Add support for Explore queries This guide explains how to improve support for [Explore]({{< relref "../../explore/_index.md" >}}) in an existing data source plugin. -This guide assumes that you're already familiar with how to [Build a data source plugin]({{< relref "/tutorials/build-a-data-source-plugin.md" >}}). +This guide assumes that you're already familiar with how to [Build a data source plugin](/tutorials/build-a-data-source-plugin/). With Explore, users can make ad-hoc queries without the use of a dashboard. This is useful when users want to troubleshoot or to learn more about the data. diff --git a/docs/sources/developers/plugins/build-a-logs-data-source-plugin.md b/docs/sources/developers/plugins/build-a-logs-data-source-plugin.md index 69e22e2e320..1140cb26968 100644 --- a/docs/sources/developers/plugins/build-a-logs-data-source-plugin.md +++ b/docs/sources/developers/plugins/build-a-logs-data-source-plugin.md @@ -6,7 +6,7 @@ title: Build a logs data source plugin This guide explains how to build a logs data source plugin. -Data sources in Grafana supports both metrics and log data. The steps to build a logs data source plugin are largely the same as for a metrics data source. This guide assumes that you're already familiar with how to [Build a data source plugin]({{< relref "/tutorials/build-a-data-source-plugin.md" >}}) for metrics. +Data sources in Grafana supports both metrics and log data. The steps to build a logs data source plugin are largely the same as for a metrics data source. This guide assumes that you're already familiar with how to [Build a data source plugin](/tutorials/build-a-data-source-plugin/) for metrics. ## Add logs support to your data source diff --git a/docs/sources/developers/plugins/build-a-streaming-data-source-plugin.md b/docs/sources/developers/plugins/build-a-streaming-data-source-plugin.md index f8c6cf7f635..feae0039a72 100644 --- a/docs/sources/developers/plugins/build-a-streaming-data-source-plugin.md +++ b/docs/sources/developers/plugins/build-a-streaming-data-source-plugin.md @@ -6,7 +6,7 @@ title: Build a streaming data source plugin This guide explains how to build a streaming data source plugin. -This guide assumes that you're already familiar with how to [Build a data source plugin]({{< relref "/tutorials/build-a-data-source-plugin.md" >}}). +This guide assumes that you're already familiar with how to [Build a data source plugin](/tutorials/build-a-data-source-plugin/). When monitoring critical applications, you want your dashboard to refresh as soon as your data does. In Grafana, you can set your dashboards to automatically refresh at a certain interval, no matter what data source you use. Unfortunately, this means that your queries are requesting all the data to be sent again, regardless of whether the data has actually changed. diff --git a/docs/sources/enterprise/recorded-queries.md b/docs/sources/enterprise/recorded-queries.md index da29e2f04e9..0bf0e69ebe3 100644 --- a/docs/sources/enterprise/recorded-queries.md +++ b/docs/sources/enterprise/recorded-queries.md @@ -19,7 +19,7 @@ For our plugins that do not return time series, it might be useful to plot histo > **Note:** An administrator must configure a Prometheus data source and associate it with a [Remote write target](#remote-write-target) before recorded queries can be used. -Recorded queries only work with backend data source plugins. Refer to [Backend data source plugin](https://grafana.com/tutorials/build-a-data-source-backend-plugin/) for more information about backend data source plugins. You can recorded three types of queries: +Recorded queries only work with backend data source plugins. Refer to [Backend data source plugin](/tutorials/build-a-data-source-backend-plugin/) for more information about backend data source plugins. You can recorded three types of queries: - single row and column - A query that returns a single row and column. - row count - A query that returns meaningful rows to be counted. diff --git a/docs/sources/live/_index.md b/docs/sources/live/_index.md index 5971a785846..4543855f085 100644 --- a/docs/sources/live/_index.md +++ b/docs/sources/live/_index.md @@ -37,7 +37,7 @@ For data source plugin channels, Grafana uses `ds` scope. Namespace in the case For example, a data source channel looks like this: `ds//`. -Refer to the tutorial about [building a streaming data source backend plugin](https://grafana.com/tutorials/build-a-streaming-data-source-plugin/) for more details. +Refer to the tutorial about [building a streaming data source backend plugin](/tutorials/build-a-streaming-data-source-plugin/) for more details. The basic streaming example included in Grafana core streams frames with some generated data to a panel. To look at it create a new panel and point it to the `-- Grafana --` data source. Next, choose `Live Measurements` and select the `plugin/testdata/random-20Hz-stream` channel. @@ -45,4 +45,4 @@ The basic streaming example included in Grafana core streams frames with some ge A new API endpoint `/api/live/push/:streamId` allows accepting metrics data in Influx format from Telegraf. These metrics are transformed into Grafana data frames and published to channels. -Refer to the tutorial about [streaming metrics from Telegraf to Grafana](https://grafana.com/tutorials/stream-metrics-from-telegraf-to-grafana/) for more information. +Refer to the tutorial about [streaming metrics from Telegraf to Grafana](/tutorials/stream-metrics-from-telegraf-to-grafana/) for more information. diff --git a/docs/sources/whatsnew/whats-new-in-v7-0.md b/docs/sources/whatsnew/whats-new-in-v7-0.md index 3a3298bd392..dbe2f57104f 100644 --- a/docs/sources/whatsnew/whats-new-in-v7-0.md +++ b/docs/sources/whatsnew/whats-new-in-v7-0.md @@ -154,10 +154,10 @@ To learn more, start with the [overview]({{< relref "../developers/plugins/backe To help you get started with Grafana, we’ve launched a brand new tutorials platform. We’ll continue to expand the platform with more tutorials, but here are some of the ones you can try out now: -- [Grafana fundamentals](https://grafana.com/tutorials/grafana-fundamentals/) -- [Create users and teams](https://grafana.com/tutorials/create-users-and-teams/) -- [Build a panel plugin](https://grafana.com/tutorials/build-a-panel-plugin/) -- [Build a data source plugin](https://grafana.com/tutorials/build-a-data-source-plugin/) +- [Grafana fundamentals](/tutorials/grafana-fundamentals/) +- [Create users and teams](/tutorials/create-users-and-teams/) +- [Build a panel plugin](/tutorials/build-a-panel-plugin/) +- [Build a data source plugin](/tutorials/build-a-data-source-plugin/) ## Rollup indicator for Metrictank queries