Skip to content

Commit f8af4b4

Browse files
committed
Add timeline and CLI commands
1 parent f4d667c commit f8af4b4

File tree

3 files changed

+65
-16
lines changed

3 files changed

+65
-16
lines changed

articles/managed-grafana/how-to-upgrade-grafana-10.md

Lines changed: 65 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ ms.topic: how-to
1212

1313
# Upgrade to Grafana 10
1414

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.
1616
We recommend that you upgrade your workspace to Grafana 10 before the end of August 2024.
1717

1818
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
2222
- An Azure account with an active subscription. [Create an account for free](https://azure.microsoft.com/free).
2323
- An existing Azure Managed Grafana instance. [Create one if you haven't already](quickstart-managed-grafana-portal.md).
2424

25-
## Check the version of your Grafana workspace
25+
## Retirement timeline
2626

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.
2828

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.
29+
| Key dates | Status |
30+
|----------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------|
31+
| 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. |
3234

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
3462

3563
Some Grafana 9 workspaces have legacy alerting enabled. Legacy alerting is an outdated version of the current unified alerting feature.
3664

3765
> [!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.
3967
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:
4169

4270
- 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.
4371
- If the menu shows **Alerting**, unified alerting is enabled. Alerting will remain unchanged by the upgrade.
4472

4573
:::image type="content" source="media/grafana-10-upgrade/unified-alerting.png" alt-text="Screenshot of the Grafana interface showing the unified alerting menu.":::
4674

47-
## Upgrade to Grafana 10
75+
## Upgrade Grafana 9 to Grafana 10
4876

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.
5078

5179
> [!CAUTION]
5280
> Upgrading to Grafana 10 is irreversible.
5381
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**.
5587
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+
---
59108
60109
## Check Grafana alerts
61110
62111
If your workspace previously had legacy alerting enabled, check that your alerts are still working propertly within your upgraded instance of Grafana.
63112
64113
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.
66115
67116
## Next step
68117
107 KB
Loading
153 KB
Loading

0 commit comments

Comments
 (0)