Skip to content

Commit 701dcff

Browse files
Merge pull request #256269 from maud-lv/ml-grafanaplugins
Add plugin management feature
2 parents e71c7f4 + 15c058d commit 701dcff

File tree

7 files changed

+148
-21
lines changed

7 files changed

+148
-21
lines changed

articles/managed-grafana/concept-whats-new.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ author: maud-lv
55
ms.author: malev
66
ms.service: managed-grafana
77
ms.topic: conceptual
8-
ms.date: 10/30/2023
8+
ms.date: 10/01/2023
99

1010
---
1111

@@ -19,7 +19,7 @@ ms.date: 10/30/2023
1919

2020
* [Microsoft Entra groups](how-to-sync-teams-with-azure-ad-groups.md) is available in preview in Azure Managed Grafana.
2121

22-
* Plugin management is available in preview. This feature lets you manage installed Grafana plugins directly within an Azure Managed Grafana workspace.
22+
* [Plugin management](how-to-manage-plugins.md) is available in preview. This feature lets you manage installed Grafana plugins directly within an Azure Managed Grafana workspace.
2323

2424
* Azure Monitor workspaces integration is available in preview. This feature allows you to link your Grafana dashboard to Azure Monitor workspaces. This integration simplifies the process of connecting AKS clusters to an Azure Managed Grafana workspace and collecting metrics.
2525

articles/managed-grafana/how-to-data-source-plugins-managed-identity.md

Lines changed: 69 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,28 @@
11
---
2-
title: How to configure data sources for Azure Managed Grafana
3-
description: In this how-to guide, discover how you can configure data sources for Azure Managed Grafana using Managed Identity.
2+
title: How to manage data sources for Azure Managed Grafana
3+
description: In this how-to guide, discover how you can configure data sources for Azure Managed Grafana
44
author: maud-lv
55
ms.author: malev
66
ms.service: managed-grafana
77
ms.topic: how-to
8-
ms.date: 10/13/2023
8+
ms.date: 10/24/2023
99
---
1010

11-
# How to configure data sources for Azure Managed Grafana
11+
# How to manage data sources in Azure Managed Grafana
12+
13+
In this guide, you learn about data sources supported in each Azure Managed Grana plan and learn how to add, manage and remove these data sources.
1214

1315
## Prerequisites
1416

15-
[An Azure Managed Grafana instance](./how-to-permissions.md)
17+
[An Azure Managed Grafana instance](./how-to-permissions.md).
1618

1719
## Supported Grafana data sources
1820

1921
By design, Grafana can be configured with multiple *data sources*. A data source is an externalized storage backend that holds telemetry information.
2022

21-
Azure Managed Grafana supports many popular data sources. The table below lists the data sources that can be added to Azure Managed Grafana for each service tier.
23+
### Grafana core data sources
24+
25+
Azure Managed Grafana supports many popular data sources. The table below lists the Grafana core data sources that can be added to Azure Managed Grafana for each service tier.
2226

2327
| Data sources | Essential (preview) | Standard |
2428
|-------------------------------------------------------------------------------------------------------------------------------|-----------|----------|
@@ -40,9 +44,11 @@ Azure Managed Grafana supports many popular data sources. The table below lists
4044
| [PostgreSQL](https://grafana.com/docs/grafana/latest/datasources/postgres/) | - ||
4145
| [Prometheus](https://grafana.com/docs/grafana/latest/datasources/prometheus/) |||
4246
| [Tempo](https://grafana.com/docs/grafana/latest/datasources/tempo/) | - ||
43-
| [TestData](https://grafana.com/docs/grafana/latest/datasources/testdata/) |||
47+
| [TestData](https://grafana.com/docs/grafana/latest/datasources/testdata/) |||
4448
| [Zipkin](https://grafana.com/docs/grafana/latest/datasources/zipkin/) | - ||
4549

50+
### Data sources for Grafana Enterprise customers
51+
4652
Within the Standard service tier, users who have subscribed to the Grafana Enterprise option can also access the following data sources.
4753

4854
* [AppDynamics](https://grafana.com/grafana/plugins/dlopes7-appdynamics-datasource)
@@ -62,29 +68,47 @@ Within the Standard service tier, users who have subscribed to the Grafana Enter
6268
* [Splunk Infrastructure monitoring (SignalFx)](https://grafana.com/grafana/plugins/grafana-splunk-monitoring-datasource)
6369
* [Wavefront](https://grafana.com/grafana/plugins/grafana-wavefront-datasource)
6470

71+
### Additional data sources
72+
73+
More data sources can be added from the [Plugin management (preview) feature](how-to-manage-plugins.md).
74+
6575
For more information about data sources, go to [Data sources](https://grafana.com/docs/grafana/latest/datasources/) on the Grafana Labs website.
6676

6777
## Add a data source
6878

69-
A number of data sources, such as Azure Monitor, are added to your Grafana instance by default. To add more data sources, follow the steps below using the Azure portal or the Azure CLI.
79+
To add a data source to Azure Managed Grafana, follow the steps below using the Azure portal or the Azure CLI.
7080

7181
### [Portal](#tab/azure-portal)
7282

83+
### Grafana core data sources
84+
85+
To add a [Grafana core data source](https://grafana.com/docs/grafana/latest/datasources/#built-in-core-data-sources) with the Azure portal:
86+
7387
1. Open your Azure Managed Grafana instance in the Azure portal.
7488
1. Select **Overview** from the left menu, then open the **Endpoint** URL.
75-
1. In the Grafana portal, deploy the menu on the left and select **Connections**.
76-
1. Under Connect data, select a data source from the list, and add the data source to your instance.
77-
1. Fill out the form with the data source settings and select **Save and test** to validate the connection to your data source.
89+
1. In the Grafana portal, deploy the menu on the left and select **Connections** > **Connect data**.
90+
1. Select a data source from the list, and add it to your instance by selecting **Create** or **Add** in the top right hand corner.
91+
1. Fill out the form and select **Save and test** to test and update the data source configuration.
7892

7993
:::image type="content" source="media/data-sources/add-data-source.png" alt-text="Screenshot of the Add data source page.":::
8094

95+
### Other data sources
96+
97+
1. To add a data source that isn't part of the Grafana built-in core data sources, start by [installing the corresponding data source plugin](how-to-manage-plugins.md#add-a-plugin).
98+
99+
1. Then add the datasource from the Grafana portal.
100+
101+
1. In the Grafana portal, go to **Connections** > **Connect data**.
102+
1. Select a data source from the list, and add the data source to your instance by selecting **Create** in the top right hand corner.
103+
1. Fill out the form and select **Save and test** to test and update the data source configuration.
104+
81105
### [Azure CLI](#tab/azure-cli)
82106

83-
Run the [az grafana data-source create](/cli/azure/grafana/data-source#az-grafana-data-source-create) command to add and manage Azure Managed Grafana data sources with the Azure CLI.
107+
Run the [az grafana data-source create](/cli/azure/grafana/data-source#az-grafana-data-source-create) command to add a [Grafana core data source](https://grafana.com/docs/grafana/latest/datasources/#built-in-core-data-sources) with the Azure CLI.
84108

85109
For example, to add an Azure SQL data source, run:
86110

87-
```azurecli-interactive
111+
```azurecli
88112
89113
az grafana data-source create --name <instance-name> --definition '{
90114
"access": "proxy",
@@ -103,12 +127,16 @@ az grafana data-source create --name <instance-name> --definition '{
103127
}'
104128
```
105129

130+
Other data sources can be added [from the Azure portal](#other-data-sources).
131+
106132
---
107133

108134
> [!TIP]
109135
> If you can't connect to a data source, you may need to [modify access permissions](how-to-permissions.md) to allow access from your Azure Managed Grafana instance.
110136
111-
## Update a data source
137+
## Configure a data source
138+
139+
The content below, shows how to configure some of the most popular data sources in Azure Managed Grafana: Azure Monitor and Azure Data Explorer. A similar process can be used to configure other types of data sources. For more information about a specific data source, refer to [Grafana's documentation](https://grafana.com/docs/grafana/latest/datasources/#built-in-core-data-sources).
112140

113141
### Azure Monitor configuration
114142

@@ -216,10 +244,33 @@ Azure Managed Grafana can also access data sources using a service principal set
216244

217245
---
218246

219-
## Next steps
247+
## Remove a data source
220248

221-
> [!div class="nextstepaction"]
222-
> [Connect to a data source privately](./how-to-connect-to-data-source-privately.md)
249+
This section describes the steps for removing a data source.
250+
251+
> [!CAUTION]
252+
> Removing a data source that is used in a dashboard will make the dashboard unable to collect the corresponding data and will trigger an error or result in no data being shown in the panel.
253+
254+
### [Portal](#tab/azure-portal)
255+
256+
Remove a data source in the Azure portal:
257+
258+
1. Open your Azure Managed Grafana instance in the Azure portal.
259+
1. Select **Overview** from the left menu, then open the **Endpoint** URL.
260+
1. In the Grafana portal, go to **Connections** > **Your connections**
261+
1. Select the data source you want to remove and select **Delete**.
262+
263+
### [Azure CLI](#tab/azure-cli)
264+
265+
Run the [az grafana data-source delete](/cli/azure/grafana/data-source#az-grafana-data-source-delete) command to remove an Azure Managed Grafana data source using the Azure CLI. In the sample below, replace the placeholders `<instance-name>` and `<id>` with the name of the Azure Managed Grafana workspace and the name, ID or UID of the data source.
266+
267+
```azurecli
268+
az grafana data-source delete --name <instance-name> --data-source <id>
269+
```
270+
271+
---
272+
273+
## Next steps
223274

224275
> [!div class="nextstepaction"]
225-
> [Share an Azure Managed Grafana instance](./how-to-share-grafana-workspace.md)
276+
> [Create a dashboard](how-to-create-dashboard.md)
Lines changed: 72 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,72 @@
1+
---
2+
title: How to manage plugins in Azure Managed Grafana
3+
description: In this how-to guide, discover how you can add a Grafana plugin or remove a Grafana plugin you no longer need.
4+
author: maud-lv
5+
ms.author: malev
6+
ms.service: managed-grafana
7+
ms.topic: how-to
8+
ms.date: 10/26/2023
9+
---
10+
11+
# How to manage Grafana plugins (Preview)
12+
13+
Grafana supports data source, panel, and app plugins. When you create a new Grafana instance, some plugins, such as Azure Monitor, are installed by default. In the following guide, learn how you can add or remove optional plugins.
14+
15+
> [!NOTE]
16+
> Installing and removing plugins isn't available from the Grafana UI or the Azure CLI at this stage. Plugin management is done from the Azure Managed Grafana workspace in the Azure portal.
17+
18+
> [!IMPORTANT]
19+
> Plugin management is currently in PREVIEW.
20+
> See the [Supplemental Terms of Use for Microsoft Azure Previews](https://azure.microsoft.com/support/legal/preview-supplemental-terms/) for legal terms that apply to Azure features that are in beta, preview, or otherwise not yet released into general availability.
21+
22+
## Prerequisites
23+
24+
[An Azure Managed Grafana instance](./how-to-permissions.md)
25+
26+
## Add a plugin
27+
28+
To install Grafana plugins, follow the process below.
29+
30+
1. Open your Azure Managed Grafana instance in the Azure portal.
31+
1. Select **Plugin management (Preview)**. This page shows a table with three columns containing checkboxes, plugin names, and plugin IDs. Review the checkboxes. A checked box indicates that the corresponding plugin is already installed and can be removed, an unchecked box indicates that the corresponding plugin isn't installed and can be added.
32+
33+
> [!NOTE]
34+
> This page only shows optional plugins. Core Grafana plugins that are included in your pricing plan by default aren't listed here.
35+
36+
1. Select a plugin to add to your Grafana instance by checking its checkbox. A refresh icon appears in the table next to the plugin you selected, indicating that a change is pending.
37+
38+
:::image type="content" source="media/plugin-management/add-plugin.png" alt-text="Screenshot of the Plugin management feature data source page.":::
39+
40+
1. Select **Save**. Azure displays a message stating which plugins will be added or removed. Select **Yes** to confirm.
41+
1. An **Updating** status bar indicates that the update is in progress. The update might take a while.
42+
1. A notification appears, indicating if the update operation has been successful.
43+
1. Select **Refresh** above the table to get an updated list of installed plugins.
44+
45+
## Remove a plugin
46+
47+
To remove a plugin that isn't part of the Grafana built-in core plugins, follow the steps below:
48+
49+
1. Open your Azure Managed Grafana instance in the Azure portal.
50+
1. Select **Plugin management (Preview)**. This page displays a table with data source plugins. It contains three columns including checkboxes, plugin names, and plugin IDs. Review the checkboxes. A checked box indicates that the corresponding plugin is already installed and can be removed, an unchecked box indicates that the corresponding plugin can be added.
51+
1. Select a plugin to remove from your Grafana instance by unchecking its checkbox. A refresh icon appears in the table next to the plugin you selected, indicating that a change is pending.
52+
53+
:::image type="content" source="media/plugin-management/remove-plugin.png" alt-text="Screenshot of the Plugin management feature data source page. Remove plugin.":::
54+
55+
1. Select **Save**. Azure displays a message stating which plugins will be added or removed. Select **Yes** to confirm.
56+
1. An **Updating** status bar indicates that the update is in progress. The update might take a while.
57+
1. A notification appears, indicating if the update operation has been successful.
58+
1. Select **Refresh** above the table to get an updated list of installed plugins.
59+
60+
> [!IMPORTANT]
61+
> Plugin management is currently in PREVIEW.
62+
> See the [Supplemental Terms of Use for Microsoft Azure Previews](https://azure.microsoft.com/support/legal/preview-supplemental-terms/) for legal terms that apply to Azure features that are in beta, preview, or otherwise not yet released into general availability.
63+
64+
> [!CAUTION]
65+
> Removing a data source that is used in a dashboard will make the dashboard unable to collect the corresponding data and will trigger an error or result in no data being shown in the panel.
66+
67+
## Next steps
68+
69+
Now that you know how to add and remove plugins, learn how to manage data sources.
70+
71+
> [!div class="nextstepaction"]
72+
> [Configure a data source](./how-to-data-source-plugins-managed-identity.md)

articles/managed-grafana/index.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,10 @@ landingContent:
3333
linkLists:
3434
- linkListType: how-to-guide
3535
links:
36-
- text: Configure data sources with Managed Identity
36+
- text: Configure data sources
3737
url: how-to-data-source-plugins-managed-identity.md
38+
- text: Manage plugins
39+
url: how-to-manage-plugins.md
3840
- text: Call Grafana APIs programmatically
3941
url: how-to-api-calls.md
4042
- text: Enable zone redundancy
55.9 KB
Loading
55.4 KB
Loading

articles/managed-grafana/toc.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,8 @@ items:
4747
href: how-to-permissions.md
4848
- name: Enable Grafana Enterprise
4949
href: how-to-grafana-enterprise.md
50+
- name: Manage plugins
51+
href: how-to-manage-plugins.md
5052
- name: Dashboards
5153
expanded: false
5254
items:

0 commit comments

Comments
 (0)