You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/managed-grafana/how-to-upgrade-grafana-10.md
+65-16Lines changed: 65 additions & 16 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,7 +12,7 @@ ms.topic: how-to
12
12
13
13
# Upgrade to Grafana 10
14
14
15
-
Azure Managed Grafana will stop offering Grafana 9 as a supported software version on 31 August 2024. This guide provides information about the retirement of Grafana 9 and shows you how to update your Azure Managed Grafana workspace to Grafana 10.
15
+
Azure Managed Grafana will stop offering Grafana 9 as a supported software version on 31 August 2024. This guide provides information about the retirement of Grafana 9 and shows you how to update your Azure Managed Grafana workspace to Grafana 10.
16
16
We recommend that you upgrade your workspace to Grafana 10 before the end of August 2024.
17
17
18
18
In September 2024, if your workspace is still on Grafana version 9, it will be automatically upgraded to Grafana 10.
@@ -22,47 +22,96 @@ In September 2024, if your workspace is still on Grafana version 9, it will be a
22
22
- An Azure account with an active subscription. [Create an account for free](https://azure.microsoft.com/free).
23
23
- An existing Azure Managed Grafana instance. [Create one if you haven't already](quickstart-managed-grafana-portal.md).
24
24
25
-
## Check the version of your Grafana workspace
25
+
## Retirement timeline
26
26
27
-
To find out if your Azure Managed Grafana workspace needs to be upgraded, start by checking which version of Grafana your workspace is on.
27
+
The following table outlines the retirement timeline.
28
28
29
-
1. Open your Azure Managed Grafana workspace.
30
-
1. In the left menu, under **Settings** select **Configuration**.
31
-
1. Review the Grafana version listed under **Grafana Version (Preview)**. If version 9 is selected in the dropdown menu, your workspace is on the Grafana version that is reaching end of life and is scheduled for retirement. We recommend that you upgrade your workspace to Grafana 10 by following the steps below. If your Grafana version is Grafana 10 or more, no further action is necessary.
| March 2024 | Users can start to upgrade existing workspaces to Grafana 10. |
32
+
| July 1-31, 2024 | <li>All new workspaces use Grafana 10. Creating new workspaces on Grafana 9 is disabled. <li> Users can still upgrade existing workspaces to Grafana 10. |
33
+
| September 1-30, 2024 | <li>All workspaces are forcibly upgraded to Grafana 10. <li> Grafana 9 no longer receives updates from Microsoft. |
32
34
33
-
## Check if you use legacy alerting
35
+
## Check the version of your Grafana workspace
36
+
37
+
To find out if your Azure Managed Grafana workspace needs to be upgraded, start by checking which version of Grafana your workspace is on.
38
+
39
+
### [Portal](#tab/azure-portal)
40
+
41
+
In the Azure portal:
42
+
43
+
1. Open your Azure Managed Grafana workspace.
44
+
1. In the left menu, under **Settings** select **Configuration**.
45
+
1. Review the Grafana version listed under **Grafana Version (Preview)**. If version 9 is selected in the dropdown menu, your workspace is on the Grafana version that is reaching end of life and is scheduled for retirement. We recommend that you upgrade your workspace to Grafana 10 by following the steps below. If your Grafana version is Grafana 10 or more, no further action is necessary.
46
+
47
+
:::image type="content" source="media/grafana-10-upgrade/check-grafana-version.png" alt-text="Screenshot of the Grafana interface showing the unified alerting menu.":::
48
+
49
+
### [Azure CLI](#tab/azure-cli)
50
+
51
+
Run the command [az grafana show](/cli/azure/grafana#az-grafana-show) in the Azure CLI to retrieve the properties of the Azure Managed Grafana workspace. Replace the placeholder `<azure-managed-grafana-workspace>` with the name of the Azure Managed Grafana instance.
52
+
53
+
```azurecli
54
+
az grafana show --name <azure-managed-grafana-workspace>
55
+
```
56
+
57
+
The version number is listed in the output after `grafanaMajorVersion`. If version is `9`, your workspace is on the Grafana version that is reaching end of life and is scheduled for retirement. We recommend that you upgrade your workspace to Grafana 10 by following the steps below. If your Grafana version is `10` or more, no further action is necessary.
58
+
59
+
---
60
+
61
+
## Check if you use legacy alerting
34
62
35
63
Some Grafana 9 workspaces have legacy alerting enabled. Legacy alerting is an outdated version of the current unified alerting feature.
36
64
37
65
> [!CAUTION]
38
-
> For workspaces that have legacy alerting enabled, the upgrade to Grafana 10 comes with an upgrade of the alerting feature from legacy alerting to unified alerting. After this upgrade, alerts might not work or need adjustments.
66
+
> For workspaces that have legacy alerting enabled, the upgrade to Grafana 10 comes with an upgrade of the alerting feature from legacy alerting to unified alerting. After this upgrade, alerts might not work or need adjustments.
39
67
40
-
Check if your workspace uses legacy alerting or unified alerting by going to the left-hand menu in the Grafana user interface:
68
+
Check if your workspace uses legacy alerting or unified alerting by going to the left menu in the Grafana user interface:
41
69
42
70
- If the menu shows **Alerting (legacy)**, the older version of the alerting feature is enabled. It will be updated to unified alerting when the workspace is upgraded to Grafana 10.
43
71
- If the menu shows **Alerting**, unified alerting is enabled. Alerting will remain unchanged by the upgrade.
44
72
45
73
:::image type="content" source="media/grafana-10-upgrade/unified-alerting.png" alt-text="Screenshot of the Grafana interface showing the unified alerting menu.":::
46
74
47
-
## Upgrade to Grafana 10
75
+
## Upgrade Grafana 9 to Grafana 10
48
76
49
-
Now let’s upgrade an Azure Managed Grafana instance running Grafana 9.
77
+
This section details how to upgrade an Azure Managed Grafana instance from Grafana 9 to Grafana 10.
50
78
51
79
> [!CAUTION]
52
80
> Upgrading to Grafana 10 is irreversible.
53
81
54
-
1. In the Azure portal, open your Azure Managed Grafana workspace and in the left menu, under **Settings**, select **Configuration**.
82
+
### [Portal](#tab/azure-portal)
83
+
84
+
In the Azure portal:
85
+
86
+
1. In the Azure portal, open your Azure Managed Grafana workspace and in the left menu, under **Settings**, select **Configuration**.
55
87
1. Under **Grafana Version (Preview)**, select **10** to indicate that you want to upgrade your workspace to Grafana 10.
56
-
1. The Azure portal displays a warning message. Read the message carefully and check the box to acknowledge that you're aware of the risks.
57
-
1. Select **Save** on top to save the new settings and trigger the upgrade to Grafana version 10.
58
-
1. A notification appears, indicating that the upgrade is in progress. In the **Overview** page, Grafana’s **Provisioning State** is **Provisioning** until the upgrade is complete. After a few minutes, a notification appears, and the provisioning state becomes **Succeeded**.
88
+
1. The Azure portal displays a warning message. Read the message carefully and check the box to acknowledge that you're aware of the risks.
89
+
1. Select **Save** on top to save the new settings and trigger the upgrade to Grafana version 10.
90
+
91
+
:::image type="content" source="media/grafana-10-upgrade/save-upgrade.png" alt-text="Screenshot of the Grafana interface showing the unified alerting menu.":::
92
+
93
+
1. A notification appears, indicating that the upgrade is in progress. In the **Overview** page, Grafana’s **Provisioning State** is **Provisioning** until the upgrade is complete. After a few minutes, a notification appears, and the provisioning state becomes **Succeeded**.
94
+
95
+
### [Azure CLI](#tab/azure-cli)
96
+
97
+
In the Azure CLI:
98
+
99
+
1. Run the [az grafana update](/cli/azure/grafana#az-grafana-update) command. In the command below, replace `<azure-managed-grafana-workspace>` with the name of the Azure Managed Grafana instance to upgrade.
100
+
101
+
```azurecli
102
+
az grafana update --name <azure-managed-grafana-workspace> --major-version 10
103
+
```
104
+
105
+
1. The CLI displays a warning indicating that upgrading to Grafana version 10 is a permanent an irreversible operation. Grafana alerting has been deprecated and any migrated legacy alert may require manual adjustments to function properly under the new alerting system. To acknowledge this information and proceed to the upgrade, enter `Y`. Otherwise, enter `N`to cancel the upgrade.
106
+
107
+
---
59
108
60
109
## Check Grafana alerts
61
110
62
111
If your workspace previously had legacy alerting enabled, check that your alerts are still working propertly within your upgraded instance of Grafana.
63
112
64
113
1. Open the Grafana portal.
65
-
1. Open the left menu. The alerting feature is now called **Alerting**. Open this menu and check the state of your alerts to make sure that they're set up the way you want.
114
+
1. Open the left menu. The alerting feature is now called **Alerting**. Check the state of your alerts to make sure that they're set up the way you want.
0 commit comments