You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: documentation/docs/admin/roles/access-control/labels.md
+8-6Lines changed: 8 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -8,7 +8,7 @@ With label-based access control, you can associate multiple labels with a role,
8
8
9
9
## Standard vs custom labels
10
10
11
-
PMM supports standard as well as custom labels. When the user adds a service to monitoring, PMM automatically assigns some standard labels. Thease labels are mostly based on the type of service being added to monitoring, such as `service_type`, `agent_type`, `node_name`, etc. Some other labels are auto-generated by PMM, for example, `service_id`, `node_id`, etc. Normally, the user can override standard labels when an object –– Node, Service, or Agent –– is created. There is also a possibility to define custom labels when adding objects. Custom labels, however, are assigned and updated only by the user.
11
+
PMM supports standard as well as custom labels. When the user adds a service to monitoring, PMM automatically assigns some standard labels. Thease labels are mostly based on the type of service being added to monitoring, such as `service_type`, `agent_type`, `node_name`, etc. Some other labels are auto-generated by PMM, for example, `service_id`, `node_id`, etc. Normally, the user can override standard labels when an object — Node, Service, or Agent — is created. There is also a possibility to define custom labels when adding objects. Custom labels, however, are assigned and updated only by the user.
12
12
13
13
It's important to note that standard labels are not always available for all objects. For example, the `service_type` label is only available for services, while the `agent_type` label is only available for agents.
14
14
@@ -17,20 +17,22 @@ Both standard and custom labels are persisted during the metrics collection proc
17
17
**Examples**
18
18
19
19
|**Label Type**|**Object**|**Label name **|**Example**|
|**Standard**| Service | service_type | mysql, mongodb, postgresql etc. |
23
23
|**Custom**| Node, Service, Agent | Any string matching the regular expression: <br /> [a-zA-Z_][a-zA-Z0-9_]*. <br /> Also, it cannot start with two underscores.| owner="joe"<br/> _rack="12345"|
24
24
25
25
## Assigning labels
26
26
27
-
You can assign custom or standard labels while adding a service to monitoring in PMM.
27
+
You can assign standard or custom labels while adding a service to monitoring in PMM.
28
28
29
29
## Modifying labels
30
30
31
31
Currently, PMM does not support modifying standard labels. To modify a standard label, you first need to remove the service and re-add it with a new set of standard labels.
32
32
33
-
However, you can modify custom labels.
33
+
However, you can modify custom labels of a service via an [API endpoint](https://percona-pmm.readme.io/reference/changeservice).
0 commit comments