mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Tonypowa/tutorials (#96747)
* replaced request bin * advanced options * test data + screenshot
This commit is contained in:
@@ -217,16 +217,6 @@ Create a notification policy if you want to handle metrics returned by alert rul
|
||||
|
||||
The alert rule that you are about to create is meant to monitor web traffic page views. The objective is to explore what an alert instance is and how to leverage routing individual alert instances by using label matchers and notification policies.
|
||||
|
||||
### Add a data source
|
||||
|
||||
Grafana includes a [test data source](https://grafana.com/docs/grafana/latest/datasources/testdata/) that creates simulated time series data.
|
||||
|
||||
1. In Grafana navigate to **Connections > Add new connection**.
|
||||
1. Search for **TestData**.
|
||||
1. Click **Add new data source**.
|
||||
1. Click **Save & test**.
|
||||
|
||||
You should see a message confirming that the data source is working.
|
||||
<!-- INTERACTIVE page step5.md END -->
|
||||
<!-- INTERACTIVE page step6.md START -->
|
||||
|
||||
@@ -243,6 +233,8 @@ Make it short and descriptive as this will appear in your alert notification. Fo
|
||||
|
||||
In this section, we use the default options for Grafana-managed alert rule creation. The default options let us define the query, a expression (used to manipulate the data -- the `WHEN` field in the UI), and the condition that must be met for the alert to be triggered (in default mode is the threshold).
|
||||
|
||||
Grafana includes a [test data source](https://grafana.com/docs/grafana/latest/datasources/testdata/) that creates simulated time series data. This data source is included in the demo environment for this tutorial. If you're working in Grafana Cloud or your own local Grafana instance, you can add the data source through the **Connections** menu.
|
||||
|
||||
1. Select **TestData** data source from the drop-down menu.
|
||||
1. From **Scenario** select **CSV Content**.
|
||||
1. In the Query editor, switch to **Code** mode by clicking the button on the right.
|
||||
|
||||
Reference in New Issue
Block a user