Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 21 additions & 9 deletions pages/database-management/monitoring.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -268,6 +268,16 @@ three different types:
| ActivePointIndices | Counter | Number of active point indices in the system. |
| ActiveTextIndices | Counter | Number of active text indexes in the system. |

#### Memory metrics

| Name | Type | Description |
| ------------------------------- | --------- | -------------------------------------------------------------------|
| GCLatency_us_50p | Histogram | GC total cleanup time in microseconds (50th percentile). |
| GCLatency_us_90p | Histogram | GC total cleanup time in microseconds (90th percentile). |
| GCLatency_us_99p | Histogram | GC total cleanup time in microseconds (99th percentile). |
| GCSkiplistCleanupLatency_us_50p | Histogram | GC time spent for cleaning skiplists in indexes (50th percentile). |
| GCSkiplistCleanupLatency_us_90p | Histogram | GC time spent for cleaning skiplists in indexes (90th percentile). |
| GCSkiplistCleanupLatency_us_99p | Histogram | GC time spent for cleaning skiplists in indexes (99th percentile). |

#### Operator metrics

Expand Down Expand Up @@ -375,15 +385,17 @@ and describes a particular operation.

#### Transaction metrics

| Name | Type | Description |
| ---------------------- | ------- | ------------------------------------------------------------------------------- |
| ActiveTransactions | Counter | Number of active transactions. |
| CommittedTransactions | Counter | Number of committed transactions. |
| RollbackedTransactions | Counter | Number of rollbacked transactions. |
| FailedQuery | Counter | Number of times executing a query failed (either during parse time or runtime). |
| FailedPrepare | Counter | Number of times preparing a query failed. |
| FailedPull | Counter | Number of times pulling a query failed. |
| SuccessfulQuery | Counter | Number of successful queries. |
| Name | Type | Description |
| ---------------------- | ------- | --------------------------------------------------------------------------------------------------------------------------|
| ActiveTransactions | Counter | Number of active transactions. |
| CommittedTransactions | Counter | Number of committed transactions. |
| RollbackedTransactions | Counter | Number of rollbacked transactions. |
| FailedQuery | Counter | Number of times executing a query failed (either during parse time or runtime). |
| FailedPrepare | Counter | Number of times preparing a query failed. |
| FailedPull | Counter | Number of times pulling a query failed. |
| SuccessfulQuery | Counter | Number of successful queries. |
| TransientErrors | Counter | Number of times a transient error happened. Transient errors are those errors which can be retried. |
| WriteWriteConflicts | Counter | Number of times a write-write conflict happened (2 transactions performing modification to the same node simultaneously). |


#### Trigger metrics
Expand Down
8 changes: 8 additions & 0 deletions pages/database-management/server-stats.md
Original file line number Diff line number Diff line change
Expand Up @@ -202,6 +202,12 @@ SHOW METRICS;
| "DiskUsage" | "Memory" | "Gauge" | 81508835 |
| "MemoryRes" | "Memory" | "Gauge" | 339640320 |
| "PeakMemoryRes" | "Memory" | "Gauge" | 339775488 |
| "GCLatency_us_50p" | "Memory" | "Histogram" | 1000 |
| "GCLatency_us_90p" | "Memory" | "Histogram" | 1000 |
| "GCLatency_us_99p" | "Memory" | "Histogram" | 1000 |
| "GCSkiplistCleanupLatency_us_50p" | "Memory" | "Histogram" | 500 |
| "GCSkiplistCleanupLatency_us_90p" | "Memory" | "Histogram" | 500 |
| "GCSkiplistCleanupLatency_us_99p" | "Memory" | "Histogram" | 500 |
| "AccumulateOperator" | "Operator" | "Counter" | 0 |
| "AggregateOperator" | "Operator" | "Counter" | 0 |
| "ApplyOperator" | "Operator" | "Counter" | 0 |
Expand Down Expand Up @@ -283,6 +289,8 @@ SHOW METRICS;
| "FailedQuery" | "Transaction" | "Counter" | 0 |
| "RollbackedTransactions" | "Transaction" | "Counter" | 0 |
| "SuccessfulQuery" | "Transaction" | "Counter" | 1 |
| "TransientErrors" | "Transaction" | "Counter" | 0 |
| "WriteWriteConflicts" | "Transaction" | "Counter" | 0 |
| "TriggersCreated" | "Trigger" | "Counter" | 0 |
| "TriggersExecuted" | "Trigger" | "Counter" | 0 |
+------------------------------------------+---------------------+-------------+------------+
Expand Down