Skip to content

Commit fb2148c

Browse files
Josipmrdenmatea16
andauthored
Add new metrics for v3.6 (#1438)
* Add new metrics * Typo --------- Co-authored-by: Matea Pesic <80577904+matea16@users.noreply.github.com>
1 parent 4b55023 commit fb2148c

File tree

2 files changed

+29
-9
lines changed

2 files changed

+29
-9
lines changed

pages/database-management/monitoring.mdx

Lines changed: 21 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -268,6 +268,16 @@ three different types:
268268
| ActivePointIndices | Counter | Number of active point indices in the system. |
269269
| ActiveTextIndices | Counter | Number of active text indexes in the system. |
270270

271+
#### Memory metrics
272+
273+
| Name | Type | Description |
274+
| ------------------------------- | --------- | -------------------------------------------------------------------|
275+
| GCLatency_us_50p | Histogram | GC total cleanup time in microseconds (50th percentile). |
276+
| GCLatency_us_90p | Histogram | GC total cleanup time in microseconds (90th percentile). |
277+
| GCLatency_us_99p | Histogram | GC total cleanup time in microseconds (99th percentile). |
278+
| GCSkiplistCleanupLatency_us_50p | Histogram | GC time spent for cleaning skiplists in indexes (50th percentile). |
279+
| GCSkiplistCleanupLatency_us_90p | Histogram | GC time spent for cleaning skiplists in indexes (90th percentile). |
280+
| GCSkiplistCleanupLatency_us_99p | Histogram | GC time spent for cleaning skiplists in indexes (99th percentile). |
271281

272282
#### Operator metrics
273283

@@ -375,15 +385,17 @@ and describes a particular operation.
375385

376386
#### Transaction metrics
377387

378-
| Name | Type | Description |
379-
| ---------------------- | ------- | ------------------------------------------------------------------------------- |
380-
| ActiveTransactions | Counter | Number of active transactions. |
381-
| CommittedTransactions | Counter | Number of committed transactions. |
382-
| RollbackedTransactions | Counter | Number of rollbacked transactions. |
383-
| FailedQuery | Counter | Number of times executing a query failed (either during parse time or runtime). |
384-
| FailedPrepare | Counter | Number of times preparing a query failed. |
385-
| FailedPull | Counter | Number of times pulling a query failed. |
386-
| SuccessfulQuery | Counter | Number of successful queries. |
388+
| Name | Type | Description |
389+
| ---------------------- | ------- | --------------------------------------------------------------------------------------------------------------------------|
390+
| ActiveTransactions | Counter | Number of active transactions. |
391+
| CommittedTransactions | Counter | Number of committed transactions. |
392+
| RollbackedTransactions | Counter | Number of rollbacked transactions. |
393+
| FailedQuery | Counter | Number of times executing a query failed (either during parse time or runtime). |
394+
| FailedPrepare | Counter | Number of times preparing a query failed. |
395+
| FailedPull | Counter | Number of times pulling a query failed. |
396+
| SuccessfulQuery | Counter | Number of successful queries. |
397+
| TransientErrors | Counter | Number of times a transient error happened. Transient errors are those errors which can be retried. |
398+
| WriteWriteConflicts | Counter | Number of times a write-write conflict happened (2 transactions performing modification to the same node simultaneously). |
387399

388400

389401
#### Trigger metrics

pages/database-management/server-stats.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -202,6 +202,12 @@ SHOW METRICS;
202202
| "DiskUsage" | "Memory" | "Gauge" | 81508835 |
203203
| "MemoryRes" | "Memory" | "Gauge" | 339640320 |
204204
| "PeakMemoryRes" | "Memory" | "Gauge" | 339775488 |
205+
| "GCLatency_us_50p" | "Memory" | "Histogram" | 1000 |
206+
| "GCLatency_us_90p" | "Memory" | "Histogram" | 1000 |
207+
| "GCLatency_us_99p" | "Memory" | "Histogram" | 1000 |
208+
| "GCSkiplistCleanupLatency_us_50p" | "Memory" | "Histogram" | 500 |
209+
| "GCSkiplistCleanupLatency_us_90p" | "Memory" | "Histogram" | 500 |
210+
| "GCSkiplistCleanupLatency_us_99p" | "Memory" | "Histogram" | 500 |
205211
| "AccumulateOperator" | "Operator" | "Counter" | 0 |
206212
| "AggregateOperator" | "Operator" | "Counter" | 0 |
207213
| "ApplyOperator" | "Operator" | "Counter" | 0 |
@@ -283,6 +289,8 @@ SHOW METRICS;
283289
| "FailedQuery" | "Transaction" | "Counter" | 0 |
284290
| "RollbackedTransactions" | "Transaction" | "Counter" | 0 |
285291
| "SuccessfulQuery" | "Transaction" | "Counter" | 1 |
292+
| "TransientErrors" | "Transaction" | "Counter" | 0 |
293+
| "WriteWriteConflicts" | "Transaction" | "Counter" | 0 |
286294
| "TriggersCreated" | "Trigger" | "Counter" | 0 |
287295
| "TriggersExecuted" | "Trigger" | "Counter" | 0 |
288296
+------------------------------------------+---------------------+-------------+------------+

0 commit comments

Comments
 (0)