|
91 | 91 | metric_type: "Request Units" |
92 | 92 | metric_ui_tab: [ Overview, "Request Units"] |
93 | 93 | metric_ui_graph: "Request Units" |
| 94 | + how_to_use: 'The CPU and I/O resources being used by queries in the cluster. Simple queries consume few RUs, while complicated queries with many reads and writes consume more RUs. To learn more about how RUs are calculated, refer to Resource Usage.' |
94 | 95 |
|
95 | 96 | - metric_id: livebytes |
96 | 97 | deploy_selfhosted: true |
|
103 | 104 | metric_type: Storage |
104 | 105 | metric_ui_tab: [ Overview ] |
105 | 106 | metric_ui_graph: Storage |
| 107 | + how_to_use: 'The amount of data being stored in the cluster. In the Storage Used graph, this is the logical number of live bytes and does not account for compression or replication.' |
106 | 108 |
|
107 | 109 | - metric_id: tenant.consumption.sql_pods_cpu_seconds |
108 | 110 | deploy_selfhosted: false |
|
115 | 117 | metric_type: "Request Units" |
116 | 118 | metric_ui_tab: [ "Request Units" ] |
117 | 119 | metric_ui_graph: "CPU" |
| 120 | + how_to_use: | |
| 121 | + The number of RUs consumed by CPU usage of SQL processes (not storage processes). The CPU seconds is converted to Request Units using this equivalency: |
| 122 | + |
| 123 | + 1 RU = 3 milliseconds SQL CPU. |
| 124 | + |
| 125 | + Correlate this metric with Request Units (RUs) and determine if your workload is CPU-intensive. To learn more about how RUs are calculated, refer to Resource Usage. |
118 | 126 |
|
119 | 127 | - metric_id: tenant.consumption.pgwire_egress_bytes |
120 | 128 | deploy_selfhosted: false |
|
127 | 135 | metric_type: "Request Units" |
128 | 136 | metric_ui_tab: [ "Request Units" ] |
129 | 137 | metric_ui_graph: "Egress" |
| 138 | + how_to_use: | |
| 139 | + The number of RUs consumed by byte traffic to the client. Egress bytes are converted to Request Units using this equivalency: |
| 140 | + |
| 141 | + 1 RU = 1 KiB Network egress. |
| 142 | + |
| 143 | + Correlate this metric with Request Units (RUs). To learn more about how RUs are calculated, refer to Resource Usage. |
130 | 144 |
|
131 | 145 | - metric_id: tenant.consumption.external_io_egress_bytes |
132 | 146 | deploy_selfhosted: false |
|
139 | 153 | metric_type: "Request Units" |
140 | 154 | metric_ui_tab: [ "Request Units" ] |
141 | 155 | metric_ui_graph: "Egress" |
| 156 | + how_to_use: | |
| 157 | + The number of RUs consumed by byte traffic for cluster bulk I/O operations (e.g., CDC). Egress bytes are converted to Request Units using this equivalency: |
| 158 | + |
| 159 | + 1 RU = 1 KiB Network egress. |
| 160 | + |
| 161 | + Correlate this metric with Request Units (RUs). To learn more about how RUs are calculated, refer to Resource Usage. |
142 | 162 |
|
143 | 163 | - metric_id: tenant.consumption.read_requests |
144 | 164 | deploy_selfhosted: false |
|
151 | 171 | metric_type: "Request Units" |
152 | 172 | metric_ui_tab: [ "Request Units" ] |
153 | 173 | metric_ui_graph: "Reads" |
154 | | - |
| 174 | + how_to_use: | |
| 175 | + The number of RUs consumed by KV storage layer reads, broken down by requests. SQL statements are translated into lower-level KV read requests that are sent in batches. Batches may contain any number of requests. Requests can have a payload containing any number of bytes. Storage layer I/O is converted to Request Units using this equivalency: |
| 176 | + |
| 177 | + 1 RU = 8 storage read requests |
| 178 | + |
| 179 | + Correlate this metric with Request Units (RUs). To learn more about how RUs are calculated, refer to Resource Usage. |
| 180 | +
|
155 | 181 | - metric_id: tenant.consumption.read_batches |
156 | 182 | deploy_selfhosted: false |
157 | 183 | deploy_dedicated: false |
|
163 | 189 | metric_type: "Request Units" |
164 | 190 | metric_ui_tab: [ "Request Units" ] |
165 | 191 | metric_ui_graph: "Reads" |
| 192 | + how_to_use: | |
| 193 | + The number of RUs consumed by KV storage layer reads, broken down by batches. SQL statements are translated into lower-level KV read requests that are sent in batches. Batches may contain any number of requests. Requests can have a payload containing any number of bytes. Storage layer I/O is converted to Request Units using this equivalency: |
| 194 | + |
| 195 | + 1 RU = 2 storage read batches |
| 196 | + |
| 197 | + Correlate this metric with Request Units (RUs). To learn more about how RUs are calculated, refer to Resource Usage. |
166 | 198 |
|
167 | 199 | - metric_id: tenant.consumption.read_bytes |
168 | 200 | deploy_selfhosted: false |
|
175 | 207 | metric_type: "Request Units" |
176 | 208 | metric_ui_tab: [ "Request Units" ] |
177 | 209 | metric_ui_graph: "Reads" |
| 210 | + how_to_use: | |
| 211 | + The number of RUs consumed by KV storage layer reads, broken down by bytes. SQL statements are translated into lower-level KV read requests that are sent in batches. Batches may contain any number of requests. Requests can have a payload containing any number of bytes. Storage layer I/O is converted to Request Units using this equivalency: |
| 212 | + |
| 213 | + 1 RU = 64 KiB read request payload (prorated) |
| 214 | + |
| 215 | + Correlate this metric with Request Units (RUs). To learn more about how RUs are calculated, refer to Resource Usage. |
178 | 216 |
|
179 | 217 | - metric_id: tenant.consumption.write_requests |
180 | 218 | deploy_selfhosted: false |
|
187 | 225 | metric_type: "Request Units" |
188 | 226 | metric_ui_tab: [ "Request Units" ] |
189 | 227 | metric_ui_graph: "Writes" |
| 228 | + how_to_use: | |
| 229 | + The number of RUs consumed by KV writes, broken down by requests. SQL statements are translated into lower-level KV write requests that are sent in batches. Batches may contain any number of requests. Requests can have a payload containing any number of bytes. Write operations are replicated to multiple storage processes (3 by default), with each replica counted as a separate write operation. Storage layer I/O is converted to Request Units using this equivalency: |
| 230 | + |
| 231 | + 1 RU = 1 storage write request |
| 232 | + |
| 233 | + Correlate this metric with Request Units (RUs). To learn more about how RUs are calculated, refer to Resource Usage. |
190 | 234 | |
191 | 235 | - metric_id: tenant.consumption.write_batches |
192 | 236 | deploy_selfhosted: false |
|
199 | 243 | metric_type: "Request Units" |
200 | 244 | metric_ui_tab: [ "Request Units" ] |
201 | 245 | metric_ui_graph: "Writes" |
| 246 | + how_to_use: | |
| 247 | + The number of RUs consumed by KV writes, broken down by batches. SQL statements are translated into lower-level KV write requests that are sent in batches. Batches may contain any number of requests. Requests can have a payload containing any number of bytes. Write operations are replicated to multiple storage processes (3 by default), with each replica counted as a separate write operation. Storage layer I/O is converted to Request Units using this equivalency: |
| 248 | + |
| 249 | + 1 RU = 1 storage write batch |
| 250 | + |
| 251 | + Correlate this metric with Request Units (RUs). To learn more about how RUs are calculated, refer to Resource Usage. |
202 | 252 |
|
203 | 253 | - metric_id: tenant.consumption.write_bytes |
204 | 254 | deploy_selfhosted: false |
|
211 | 261 | metric_type: "Request Units" |
212 | 262 | metric_ui_tab: [ "Request Units" ] |
213 | 263 | metric_ui_graph: "Writes" |
| 264 | + how_to_use: | |
| 265 | + The number of RUs consumed by KV writes, broken down by bytes. SQL statements are translated into lower-level KV write requests that are sent in batches. Batches may contain any number of requests. Requests can have a payload containing any number of bytes. Write operations are replicated to multiple storage processes (3 by default), with each replica counted as a separate write operation. Storage layer I/O is converted to Request Units using this equivalency: |
| 266 | +
|
| 267 | + 1 RU = 1 KiB write request payload (prorated) |
| 268 | + |
| 269 | + Correlate this metric with Request Units (RUs). To learn more about how RUs are calculated, refer to Resource Usage. |
214 | 270 |
|
215 | 271 | - metric_id: tenant.consumption.cross_region_network_ru |
216 | 272 | deploy_selfhosted: false |
|
223 | 279 | metric_type: "Request Units" |
224 | 280 | metric_ui_tab: [ "Request Units" ] |
225 | 281 | metric_ui_graph: "Cross-region Networking" |
| 282 | + how_to_use: 'The number of RUs consumed by cross-region networking. Correlate these metrics with Request Units (RUs). For more information about multi-region clusters and networking, refer to Multi-region clusters.' |
226 | 283 |
|
227 | 284 | - metric_id: sql.conn.latency |
228 | 285 | deploy_selfhosted: true |
|
331 | 388 | metric_type: SQL |
332 | 389 | metric_ui_tab: [ SQL ] |
333 | 390 | metric_ui_graph: "Transaction Restarts" |
| 391 | + how_to_use: 'This metric is one measure of the impact of contention conflicts on workload performance. For guidance on contention conflicts, review transaction contention best practices and performance tuning recipes. Tens of restarts per minute may be a high value, a signal of an elevated degree of contention in the workload, which should be investigated. For the specific error, refer to the transaction retry error reference for more details.' |
334 | 392 |
|
335 | 393 | - metric_id: txn.restarts.serializable |
336 | 394 | deploy_selfhosted: true |
|
355 | 413 | metric_type: SQL |
356 | 414 | metric_ui_tab: [ SQL ] |
357 | 415 | metric_ui_graph: "Transaction Restarts" |
| 416 | + how_to_use: 'This metric is one measure of the impact of contention conflicts on workload performance. For guidance on contention conflicts, review transaction contention best practices and performance tuning recipes. Tens of restarts per minute may be a high value, a signal of an elevated degree of contention in the workload, which should be investigated. For the specific error, refer to the transaction retry error reference for more details.' |
358 | 417 |
|
359 | 418 | - metric_id: txn.restarts.readwithinuncertainty |
360 | 419 | deploy_selfhosted: false |
|
367 | 426 | metric_type: SQL |
368 | 427 | metric_ui_tab: [ SQL ] |
369 | 428 | metric_ui_graph: "Transaction Restarts" |
| 429 | + how_to_use: 'This metric is one measure of the impact of contention conflicts on workload performance. For guidance on contention conflicts, review transaction contention best practices and performance tuning recipes. Tens of restarts per minute may be a high value, a signal of an elevated degree of contention in the workload, which should be investigated. For the specific error, refer to the transaction retry error reference for more details.' |
370 | 430 |
|
371 | 431 | - metric_id: txn.restarts.txnaborted |
372 | 432 | deploy_selfhosted: true |
|
0 commit comments