Skip to content

Create access roles

Roles are a vital part of Access control. Roles provide users with access to specific, role-based metrics.

To create access roles in PMM, do the following:

  1. From the main menu, go to PMM Configuration > Settings > Advanced Settings and enable the Access Roles option.
  2. Go to Administration > Users and access > Access Roles.

    !

  3. Click Create.

  4. On the Create role page, enter the Role name and Role description.
  5. Select the following from the drop-downs for metrics access:

    • Label
    • Operator
    • Value of the label

    If you want to add more than one label for a role, click + and select the values from the drop-down.

    For information on how the Prometheus selectors work, see Prometheus selectors.

  6. Click Create role.

Note

To create roles, you must have admin privileges. For more information, see Manage users.

Get expert help

If you need assistance, visit the community forum for comprehensive and free database knowledge, or contact our Percona Database Experts for professional support and services.