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: content/embeds/rs-prometheus-metrics-v2.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -78,6 +78,7 @@
78
78
| <spanclass="break-all">total_node_count{cluster_wd=<node_uid>}</span> | gauge| Number of nodes |
79
79
| <spanclass="break-all">total_primary_selection_ended{cluster_wd=<node_uid>}</span> | counter | Monotonic counter for each selection process that ended |
80
80
| <spanclass="break-all">total_primary_selections{cluster_wd=<node_uid>}</span> | counter | Monotonic counter for each selection process that started|
81
+
| users_count | gauge | Current number of users on the cluster |
Copy file name to clipboardExpand all lines: content/operate/rs/references/rest-api/objects/cluster/alert_settings.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -29,6 +29,7 @@ weight: $weight
29
29
| cluster_ocsp_status_revoked | boolean (default: false) | OCSP certificate status is REVOKED |
30
30
| cluster_ram_overcommit | boolean (default: false) | RAM committed to databases is larger than cluster total RAM |
31
31
| cluster_too_few_nodes_for_replication | boolean (default: false) | Replication requires at least 2 nodes in the cluster |
32
+
| cluster_users_count_approaches_limit | <spanclass="break-all">[cluster_alert_settings_with_threshold]({{< relref "/operate/rs/references/rest-api/objects/cluster/cluster_alert_settings_with_threshold" >}})</span> object | Number of users approaches the maximum limit of 32,000 users. This alert is enabled with a 90% threshold by default on new clusters. |
| node_checks_error | boolean (default: false) | Some node checks have failed |
34
35
| node_cpu_utilization | <spanclass="break-all">[cluster_alert_settings_with_threshold]({{< relref "/operate/rs/references/rest-api/objects/cluster/cluster_alert_settings_with_threshold" >}})</span> object | Node CPU utilization has reached the threshold value (% of the utilization limit) |
Copy file name to clipboardExpand all lines: content/operate/rs/references/rest-api/objects/user.md
+7-6Lines changed: 7 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,17 +14,18 @@ weight: $weight
14
14
|------|------------|-------------|
15
15
| uid | integer | User's unique ID |
16
16
| account_id | integer | SM account ID |
17
-
| action_uid | string | Action UID. If it exists, progress can be tracked by the `GET` `/actions/{uid}` API request (read-only) |
17
+
| action_uid | string | Action UID. If it exists, progress can be tracked by the <spanclass="break-all">`GET/actions/{uid}`</span> API request (read-only) |
| bdbs_email_alerts | complex object | UIDs of databases that user will receive alerts for |
20
-
| certificate_subject_line | string | The certificate’s subject line as defined by RFC2253. Used for certificate-based authentication users only. |
20
+
|<spanclass="break-all">certificate_subject_line</span>| string | The certificate’s subject line as defined by RFC2253. Used for certificate-based authentication users only. |
21
21
| cluster_email_alerts | boolean | Activate cluster email alerts for a user |
| email_alerts | boolean (default: true) | Activate email alerts for a user |
23
+
| email_alerts | boolean (default: true) | Activate email alerts for a user |
24
+
| last_login | integer | UNIX timestamp of the user's last login time. This denotes the last time an authentication with the user's credentials was successful. (read-only) |
24
25
| name | string | User's name (pattern does not allow non-ASCII and special characters &,\<,>,") |
25
-
| password | string | User's password. If `password_hash_method` is set to `1`, the password should be hashed using SHA-256. The format before hashing is `username:clustername:password`. |
26
-
| password_hash_method | '1' | Used when password is passed pre-hashed to specify the hashing method |
27
-
| password_issue_date | string | The date in which the password was set (read-only) |
26
+
| password | string | User's password. If `password_hash_method` is set to `1`, the password should be hashed using SHA-256. The format before hashing is <spanclass="break-all">`username:clustername:password`</span>. |
27
+
|<spanclass="break-all">password_hash_method</span>| '1' | Used when password is passed pre-hashed to specify the hashing method |
28
+
|<spanclass="break-all">password_issue_date</span>| string | The date in which the password was set (read-only) |
| role_uids | array of integers | UIDs of user's roles for role-based access control |
30
31
| status | 'active'<br />'locked'<br />'password_expired' | User sign-in status (read-only)<br />**active**: able to sign in<br />**locked**: unable to sign in<br />**password_expired**: unable to sign in because the password expired |
- Added a check to block new user creation after the maximum limit of 32,000 users has been reached:
137
+
138
+
- Added a [cluster alert]({{<relref "operate/rs/references/rest-api/objects/cluster/alert_settings">}}) `cluster_users_count_approaches_limit`, which triggers when the number of users surpasses a threshold percentage of the maximum user limit. This alert is enabled with a 90% threshold by default on new clusters.
139
+
140
+
- Added a `users_count` cluster metric to [Prometheus metrics v2]({{<relref "/operate/rs/references/metrics/prometheus-metrics-v2">}}) that shows the current number of users on the cluster.
141
+
136
142
- New [database configuration]({{<relref "/operate/rs/references/rest-api/requests/bdbs">}}) fields in the REST API for automatic shard balancing:
@@ -145,6 +151,8 @@ The [metrics stream engine]({{<relref "/operate/rs/monitoring/metrics_stream_eng
145
151
146
152
- Additional REST API enhancements:
147
153
154
+
- New `last_login` field for [users]({{<relref "/operate/rs/references/rest-api/requests/users">}}), which stores the UNIX timestamp of the user's last successful login to the Cluster Manager UI or REST API.
- `disconnect_clients_on_password_removal`: Controls whether client connections using removed, revoked, or rotated passwords are actively disconnected.
0 commit comments