This repository was archived by the owner on Jan 15, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 90
PMM-13251 #1281
Open
catalinaadam
wants to merge
9
commits into
main
Choose a base branch
from
Manage_dashboards
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
PMM-13251 #1281
Changes from 3 commits
Commits
Show all changes
9 commits
Select commit
Hold shift + click to select a range
36a893f
PMM-13251
catalinaadam 7e3eeff
formatting
catalinaadam d09a6af
formatting
catalinaadam a2c2c33
Update docs/details/dashboards/dashboard-manage-dashboards.md
catalinaadam eed1fad
Update docs/details/dashboards/dashboard-manage-dashboards.md
catalinaadam cef0a7c
Update docs/details/dashboards/dashboard-manage-dashboards.md
catalinaadam 4b66846
Merge branch 'main' into Manage_dashboards
catalinaadam 200873c
Merge branch 'main' into Manage_dashboards
catalinaadam 8a973e4
Merge branch 'Manage_dashboards' of https://github.com/percona/pmm-do…
catalinaadam File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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. | ||
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*. | ||
|
||
|
||
 | ||
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**. | ||
|
||
 | ||
|
||
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. | ||
|
||
 | ||
|
||
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. | ||
|
||
 | ||
|
||
## 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. | ||
|
||
 | ||
|
||
|
||
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. | ||
|
||
 | ||
|
||
4. Click *Save*. | ||
|
||
|
||
|
||
|
||
4. Click **Save**. |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.