Редактиране

Споделяне чрез


How to manage Grafana plugins

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.

Note

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.

Prerequisites

An Azure Managed Grafana instance

Add a plugin

To install Grafana plugins, follow the process below.

Important

Before adding plugins to your Grafana instance, we recommend that you evaluate these plugins to ensure that they meet your organizational standards for quality, compliance, and security. Third-party plugins have their own release frequency, security implications, testing and update processes that are outside of Microsoft control. Ultimately, it is up to you to determine which plugins meet your requirements and security needs.

  1. Open your Azure Managed Grafana instance in the Azure portal.

  2. Select Plugin management. 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.

    Note

    This page only shows optional plugins. Core Grafana plugins that are included in your pricing plan by default aren't listed here.

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

    Screenshot of the Plugin management feature data source page.

  4. Select Save. Azure displays a message stating which plugins will be added or removed. Select Yes to confirm.

  5. An Updating status bar indicates that the update is in progress. The update might take a while.

  6. A notification appears, indicating if the update operation has been successful.

  7. Select Refresh above the table to get an updated list of installed plugins.

Remove a plugin

To remove a plugin that isn't part of the Grafana built-in core plugins, follow the steps below:

  1. Open your Azure Managed Grafana instance in the Azure portal.

  2. Select Plugin management. 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.

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

    Screenshot of the Plugin management feature data source page. Remove plugin.

  4. Select Save. Azure displays a message stating which plugins will be added or removed. Select Yes to confirm.

  5. An Updating status bar indicates that the update is in progress. The update might take a while.

  6. A notification appears, indicating if the update operation has been successful.

  7. Select Refresh above the table to get an updated list of installed plugins.

Caution

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.

Next steps

Now that you know how to add and remove plugins, learn how to manage data sources.