Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PMM-13251 #1281

Open
wants to merge 9 commits into
base: main
Choose a base branch
from
125 changes: 62 additions & 63 deletions docs/details/dashboards/dashboard-manage-dashboards.md
Original file line number Diff line number Diff line change
@@ -1,118 +1,117 @@
# Manage dashboards
# Manage PMM dashboards

PMM offers various types of dashboards for monitoring and managing the performance of your databases:

This section describes how to manage your PMM dashboards and the widgets on those dashboards, including:
1. **Standard dashboards**: include database overviews, database-specific dashboards, query analytics, system-level metrics, replication, and high availability dashboards. These offer comprehensive insights into various aspects of your database environment.
2. **Experimental dashboards**: newer, or less stable dashboards that usually introduce new metrics or visualizations or monitoring approaches.
catalinaadam marked this conversation as resolved.
Show resolved Hide resolved
3. **Custom dashboards**: user-created dashboards tailored to specific metrics or needs, allowing you to combine data from different sources for customized monitoring and analysis.

- Creating dashboard folders
Standard and experimental dashboards are "provisioned dashboards", meaning they are:

- Managing dashboard folders
- created by PMM out of the box based on predefined configurations to ensure consistency across deployments.
- protected from editing through the UI to prevent accidental modifications. Trying to modify these dashboards via the UI will result in a `Cannot save provisioned dashboard` error.
- replaced during PMM upgrades, to ensure they are always up-to-date with the latest version. Any manual changes made by setting `allowUIUpdates: true` in `/usr/share/grafana/conf/provisioning/dashboards/default.yml` will be overwritten.

catalinaadam marked this conversation as resolved.
Show resolved Hide resolved
- Setting custom Home dashboard
Remember:

- Always work with cloned copies of PMM dashboards
- Changes to original PMM dashboards will be lost during updates
- Experimental dashboards may change more frequently, therefore consider re-cloning them after upgrades.

## Create dashboard folders

Folders help you organize and group PMM dashboards, which is crucial when you have multiple dashboards or teams using the same PMM instance.
Folders help you organize and group PMM dashboards, especially useful for numerous dashboards and multiple teams using the same PMM instance.

!!! note alert alert-primary "Note"
To create a dashboard folder, you must have PMM's *Admin* privileges.
To create a dashboard folder (requires **Admin** privileges):

To create a dashboard folder:
1. On the PMM dashboards page, from the side menu, go to <i class="uil uil-plus"></i> **Dashboards > New folder**.

1. On the PMM dashboards page, from the side menu, go to <i class="uil uil-plus"></i> *Dashboards > New folder*.
2. Enter a unique name for your folder and click **Create**.

2. Enter a unique name for your folder and click *Create*.


## Managing dashboard folders

This section describes how to delete multiple dashboards, move dashboards from one folder to another and navigate to a folder page where you can assign folder and dashboard permissions.
## Manage dashboard folders

### Delete multiple dashboards

To delete multiple dashboards at once:

From the side menu, go to <i class="uil uil-apps"></i> *Dashboards > Browse* and check the dashboards that you want to delete, and click *Delete*.


![!image](../../_images/PMM_Delete_multiple_dashboards.png)
1. From the side menu, go to <i class="uil uil-apps"></i> **Dashboards > Browse**.
2. Select the dashboards that you want to delete, and click **Delete**.

### Move dashboards from one folder to another
### Move dashboards between folders

You can move dashboards from one folder to another in the following two ways:
To move dashboards from one folder to another (requires **Editor** rights):

#### Method 1

1. From the side menu, go to <i class="uil uil-apps"></i> *Dashboards > Browse* and check the dashboards that you want to move. Click *Move*.
1. Go to **Dashboards > Browse**.
2. Select the dashboards that you want to move and click **Move**.

![!image](../../_images/PMM_Move_dashboards.png)

2. On the *Choose Dashboard Folder* dialog box select the dashboards that you want to move from the drop-down. Click *Move*.
3. On the **Choose Dashboard Folder** dialog box select the dashboards that you want to move from the drop-down. Click **Move**.

The other way of moving dashboards from one folder to another is:
#### Method 2

The other way of moving dashboards from one folder to another is:

1. Open the dashboard that you want to move to another folder.
2. Click on {{icon.configuration}} icon to open *Dashboard Settings*.
3. On the *General* page, under *Folder* select the folder name that you want to move from the dropdown.
2. Click on {{icon.configuration}} icon to open **Dashboard Settings**.
3. On the **General** page, under **Folder** select the folder name that you want to move from the drop-down menu.

![!image](../../_images/PMM_Move_dashboards-way2.png)

4. Click *Save Dashboard* on the the left to save the change.

!!! note alert alert-primary "Note"
You should have atleast an *Editor* role to move a dashboard.
4. Click **Save Dashboard** on the left.

### Navigate to a dashboard folder page to assign permissions
### Navigate to a dashboard folder page to assign folder permissions

1. From the side menu, go to <i class="uil uil-apps"></i> *Dashboards > Browse* and hover over the dashboard folder whose permissions you want to set. Click *Go to Folder*.
2. Go to the *Permissions* tab and select the requisite permission from the drop-down for the various roles.
1. From the side menu, go to <i class="uil uil-apps"></i> **Dashboards > Browse** and hover over the dashboard folder whose permissions you want to set.
2. Click **Go to Folder**.
3. Go to the **Permissions** tab and select the requisite permission from the drop-down for the various roles.

![!image](../../_images/PMM_Permissions_dashboards_folder.png)

## Edit dashboards

You cannot directly edit provisioned dashboards. Instead, clone the dashboard and edit or move the cloned dashboard freely:

1. Open the dashboard.
2. Click the settings icon.
3. Select **Save as** to create a copy.
4. Name your copy and choose where to save it.

## Setting custom Home Dashboard
## Setting a custom Home dashboard

The home dashboard you set is the dashboard all the users will see after logging in to PMM UI. You can set the home dashboard for a server, an organization, a team, or your user account.
The Home dashboard you set is the dashboard all the users will see after logging in to PMM UI. You can set the home dashboard for a server, an organization, a team, or your user account.

### Set home dashboard for your organization
### For your organization

Organization Admins can set the home dashboard for their organization. For information on managing users in an organization, see [Manage Users](../../how-to/manage-users.md)
Organization Admins can set the home dashboard for their organization. For information on managing users in an organization, see [Manage Users](../../how-to/manage-users.md).

1. Navigate to the dashboard that you want to set as the home dashboard.
2. Click the <i class="uil uil-star"></i> star next to the dashboard title to mark the dashboard as a favorite.
3. Hover your cursor over {{icon.configuration}} *Configuration*
4. Click *Preferences*.
5. In the Home Dashboard field, select the dashboard that you want to set as your home dashboard.
6. Click *Save*.
3. Hover your cursor over {{icon.configuration}} **Configuration**.
4. Click **Preferences**.
5. In the **Home Dashboard** field, select the dashboard that you want to set as your home dashboard.
6. Click **Save**.

#### For a team

### Set home dashboard for your team

Organization and team Admins can set the home dashboard for their team as follows:
Organization and team Admins can set the home dashboard for their team:

1. Navigate to the dashboard that you want to set as your home dashboard.
2. Click <i class="uil uil-star"></i> star next to the dashboard to mark the dashboard as a favorite.
3. On the main menu, hover your cursor over {{icon.configuration}} *Configuration*.
4. Click *Teams*. Grafana displays the team list.
5. Click on the team for whom you want to set the home dashboard and then navigate to the *Settings* tab.
6. In the Home Dashboard field, select the dashboard that you want to use for your home dashboard.
7. Click *Save*.

3. On the main menu, hover your cursor over {{icon.configuration}} **Configuration**.
4. Click **Teams**. Grafana displays the team list.
5. Click on the team for whom you want to set the home dashboard and then navigate to the **Settings** tab.
6. In the **Home Dashboard** field, select the dashboard that you want to use for your home dashboard.
7. Click **Save**.

### Set your Personal Home Dashboard
### Set your personal Home dashboard

1. From the main menu, go to <i class="uil uil-apps"></i> *Dashboards > Browse* and select the dashboard you want to set as your home dashboard.
1. From the main menu, go to <i class="uil uil-apps"></i> **Dashboards > Browse** and select the dashboard you want to set as your home dashboard.
2. Click the <i class="uil uil-star"></i> star next to the dashboard title to mark it as a favorite.

![!image](../../_images/PMM_click_to_add_favorite_dashboard.png)


3. From the side menu go to {{icon.configuration}} *Configuration > Preferences*. In the *Home Dashboard* field, select the dashboard that you want to set as your home dashboard.
3. From the side menu go to {{icon.configuration}} **Configuration > Preferences**. In the **Home Dashboard** field, select the dashboard that you want to set as your home dashboard.

![!image](../../_images/PMM_set_home_dashboard.png)

4. Click *Save*.




4. Click **Save**.
Loading