Skip to content

Commit 2f803a7

Browse files
committed
Review
1 parent 243ac86 commit 2f803a7

File tree

3 files changed

+44
-36
lines changed

3 files changed

+44
-36
lines changed

articles/managed-grafana/create-grafana-dashboard.md renamed to articles/managed-grafana/how-to-create-grafana-dashboard.md

Lines changed: 42 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,9 @@ In this guide, learn how to create a dashboard in Azure Managed Grafana to visua
1414

1515
A Grafana dashboard contains panels and rows. You can import a Grafana dashboard and adapt it to your own scenario, create a new Grafana dashboard, or duplicate an existing dashboard.
1616

17+
> [!NOTE]
18+
> The Grafana UI may change periodically. This article shows the Grafana interface and user flow at a given point. Your experience may slightly differ from the examples below at the time of reading this document. If this is the case, refer to the [Grafana Labs documentation.](https://grafana.com/docs/grafana/latest/dashboards/)
19+
1720
## Prerequisites
1821

1922
- An Azure account with an active subscription. [Create an account for free](https://azure.microsoft.com/free).
@@ -26,30 +29,31 @@ To quickly create a dashboard, import a dashboard template from the Grafana Labs
2629

2730
1. From the Grafana Labs website, browse through [Grafana dashboards templates](https://grafana.com/grafana/dashboards/?category=azure) and select a dashboard to import.
2831
1. Select **Copy ID to clipboard**.
32+
1. For the next steps, use the Azure portal or the Azure CLI.
2933

30-
### [Portal](#tab/azure-portal)
34+
### [Portal](#tab/azure-portal)
3135

32-
3. In the Azure portal, open your Azure Managed Grafana workspace and select the **Endpoint** URL.
33-
1. In your Grafana endpoint, go to **Dashboards > Import**.
34-
1. On the **Import** page, under **Import via grafana.com**, paste the Grafana dashboard ID copied earlier, and select **Load**.
36+
1. In the Azure portal, open your Azure Managed Grafana workspace and select the **Endpoint** URL.
37+
1. In your Grafana endpoint, go to **Dashboards > Import**.
38+
1. On the **Import** page, under **Import via grafana.com**, paste the Grafana dashboard ID copied earlier, and select **Load**.
3539

36-
:::image type="content" source="media/dashboard/import-load.png" alt-text="Screenshot of the Grafana instance. Load dashboard to import.":::
40+
:::image type="content" source="media/dashboard/import-load.png" alt-text="Screenshot of the Grafana instance. Load dashboard to import.":::
3741

38-
1. Optionally update the dashboard name, folder and UID.
39-
1. Select a datasource and select **Import**.
40-
1. A new dashboard is displayed.
41-
1. Review the visualizations displayed and edit the dashboard if necessary.
42+
1. Optionally update the dashboard name, folder and UID.
43+
1. Select a datasource and select **Import**.
44+
1. A new dashboard is displayed.
45+
1. Review the visualizations displayed and edit the dashboard if necessary.
4246

43-
### [Azure CLI](#tab/azure-cli)
47+
### [Azure CLI](#tab/azure-cli)
4448

45-
1. Open a CLI and run the `az login` command.
46-
1. Run the [az grafana dashboard import](/cli/azure/grafana/dashboard#az-grafana-update)command and replace the placeholders `<AMG-name>`, `<AMG-resource-group>`, and `<dashboard-id>` with the name of the Azure Managed Grafana instance, its resource group, and the dashboard ID you copied earlier.
49+
1. Open a CLI and run the `az login` command.
50+
1. Run the [az grafana dashboard import](/cli/azure/grafana/dashboard#az-grafana-update)command and replace the placeholders `<AMG-name>`, `<AMG-resource-group>`, and `<dashboard-id>` with the name of the Azure Managed Grafana instance, its resource group, and the dashboard ID you copied earlier.
4751

48-
```azurecli
49-
az grafana dashboard import --name <AMG-name> --resource-group <AMG-resource-group> --definition <dashboard-id>
50-
```
52+
```azurecli
53+
az grafana dashboard import --name <AMG-name> --resource-group <AMG-resource-group> --definition <dashboard-id>
54+
```
5155
52-
---
56+
---
5357
5458
## Create a new Grafana dashboard
5559
@@ -94,6 +98,8 @@ az grafana dashboard create --name myGrafana --resource-group myResourceGroup --
9498

9599
## Duplicate a Grafana dashboard
96100

101+
Duplicate a Grafana dashboard using your preferred method.
102+
97103
### [Portal](#tab/azure-portal)
98104

99105
To copy a Grafana dashboard:
@@ -110,35 +116,37 @@ To copy a Grafana dashboard:
110116
1. Run the [az grafana dashboard show](/cli/azure/grafana/dashboard#az-grafana-dashboard-show) command to show the definition of the dashboard you want to duplicate, and copy the output.
111117

112118
```azurecli
113-
az grafana dashboard show --name <AMG-name> --dashboard <dashboard-UID>
119+
az grafana dashboard show --name <AMG-name> --resource-group <AMG-resource-group> --dashboard <dashboard-UID>
114120
```
115121
116122
1. Run the [az grafana dashboard create](/cli/azure/grafana/dashboard#az-grafana-dashboard-create) command and replace the placeholders `<AMG-name>`, `<AMG-resource-group>`, `<title>`, and `<dashboard-id>` with your own information. Replace `<definition>` with the output you copied in the previous step, and remove the `uid`and `id`.
117123
118-
```azurecli
119-
az grafana dashboard create --name <AMG-name> --resource-group <AMG-resource-group> --title <title>--definition <definition>
120-
```
124+
```azurecli
125+
az grafana dashboard create --name <AMG-name> --resource-group <AMG-resource-group> --title <title>--definition <definition>
126+
```
121127
122-
For example:
128+
For example:
123129
124-
```azurecli
125-
az grafana dashboard create --name myGrafana --resource-group myResourceGroup --title "My dashboard" --folder folder1 --definition '{
126-
"dashboard": {
127-
"annotations": {
128-
...
129-
},
130-
"panels": {
131-
...
132-
}
133-
},
134-
"message": "Create a new test dashboard"
135-
}'
136-
```
130+
```azurecli
131+
az grafana dashboard create --name myGrafana --resource-group myResourceGroup --title "My dashboard" --folder folder1 --definition '{
132+
"dashboard": {
133+
"annotations": {
134+
...
135+
},
136+
"panels": {
137+
...
138+
}
139+
},
140+
"message": "Create a new test dashboard"
141+
}'
142+
```
137143
138144
---
139145
140146
## Edit a dashboard panel
141147
148+
Edit a Grafana dashboard panel using your preferred method.
149+
142150
### [Portal](#tab/azure-portal)
143151
144152
To update a Grafana panel, follow the steps below.

articles/managed-grafana/index.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ landingContent:
4040
- text: Set up authentication and permissions
4141
url: how-to-authentication-permissions.md
4242
- text: Create a dashboard
43-
url: create-grafana-dashboard.md
43+
url: how-to-create-grafana-dashboard.md
4444
- title: Manage Azure Managed Grafana
4545
linkLists:
4646
- linkListType: how-to-guide

articles/managed-grafana/toc.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ items:
3434
- name: Modify access permissions to Azure Monitor
3535
href: how-to-permissions.md
3636
- name: Create a dashboard
37-
href: create-grafana-dashboard.md
37+
href: how-to-create-grafana-dashboard.md
3838
- name: Share a Managed Grafana instance
3939
href: how-to-share-grafana-workspace.md
4040
- name: Monitor a Managed Grafana instance

0 commit comments

Comments
 (0)