Skip to content
Open
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
61 changes: 50 additions & 11 deletions pages/database-management/monitoring.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -268,17 +268,45 @@ three different types:

#### Index metrics

| Name | Type | Description |
| -------------------------- | ------- | ------------------------------------------------------ |
| ActiveLabelIndices | Counter | Number of active label indexes in the system. |
| ActiveLabelPropertyIndices | Counter | Number of active label property indexes in the system. |
| ActivePointIndices | Counter | Number of active point indices in the system. |
| ActiveTextIndices | Counter | Number of active text indexes in the system. |
| Name | Type | Description |
| ----------------------------- | ------- | ------------------------------------------------------------ |
| ActiveLabelIndices | Counter | Number of active label indexes in the system. |
| ActiveLabelPropertyIndices | Counter | Number of active label property indexes in the system. |
| ActiveEdgeTypeIndices | Counter | Number of active edge-type indices in the system. |
| ActiveEdgeTypePropertyIndices | Counter | Number of active edge-type property indices in the system. |
| ActiveEdgePropertyIndices | Counter | Number of active edge property indices in the system. |
| ActivePointIndices | Counter | Number of active point indices in the system. |
| ActiveTextIndices | Counter | Number of active text indices in the system. |
| ActiveTextEdgeIndices | Counter | Number of active text edge indices in the system. |
| ActiveVectorIndices | Counter | Number of active vector indices in the system. |
| ActiveVectorEdgeIndices | Counter | Number of active vector edge indices in the system. |

#### Constraint metrics

| Name | Type | Description |
| --------------------------- | ------- | ---------------------------------------------------- |
| ActiveExistenceConstraints | Counter | Number of active existence constraints in the system. |
| ActiveUniqueConstraints | Counter | Number of active unique constraints in the system. |
| ActiveTypeConstraints | Counter | Number of active type constraints in the system. |

#### Schema info metrics

| Name | Type | Description |
| ---------- | ------- | ------------------------------------------------------ |
| ShowSchema | Counter | Number of times the user called `SHOW SCHEMA INFO`. |

#### Storage info metrics

| Name | Type | Description |
| ------------------------- | ------- | ------------------------------------------------------------------ |
| ShowStorageInfoOnDatabase | Counter | Number of times the user called `SHOW STORAGE INFO ON DATABASE`. |

#### Memory metrics

| Name | Type | Description |
| ------------------------------- | --------- | -------------------------------------------------------------------|
| UnreleasedDeltaObjects | Counter | Total number of unreleased delta objects in memory. |
| PeakMemoryRes | Gauge | Peak resident memory in the system. |
| 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). |
Expand Down Expand Up @@ -331,13 +359,19 @@ and describes a particular operation.
| ForeachOperator | Counter | Number of times Foreach operator was used. |
| EvaluatePatternFilterOperator | Counter | Number of times EvaluatePatternFilter operator was used. |
| ApplyOperator | Counter | Number of times Apply operator was used. |
| HashJoin | Counter | Number of times HashJoin operator was used. |
| IndexedJoin | Counter | Number of times IndexedJoin operator was used. |
| PeriodicCommit | Counter | Number of times PeriodicCommit operator was used. |
| PeriodicSubquery | Counter | Number of times PeriodicSubquery operator was used. |
| HashJoinOperator | Counter | Number of times HashJoin operator was used. |
| IndexedJoinOperator | Counter | Number of times IndexedJoin operator was used. |
| PeriodicCommitOperator | Counter | Number of times PeriodicCommit operator was used. |
| PeriodicSubqueryOperator | Counter | Number of times PeriodicSubquery operator was used. |
| RollUpApplyOperator | Counter | Number of times RollUpApply operator was used. |
| RemoveNestedPropertyOperator | Counter | Number of times RemoveNestedProperty operator was used. |
| SetNestedPropertyOperator | Counter | Number of times SetNestedProperty operator was used. |
| ScanAllByIdOperator | Counter | Number of times ScanAllById operator was used. |
| ScanAllByEdgeIdOperator | Counter | Number of times ScanAllByEdgeId operator was used. |
| ScanAllByEdgeOperator | Counter | Number of times ScanAllByEdge operator was used. |
| ScanAllByEdgePropertyOperator | Counter | Number of times ScanAllByEdgeProperty operator was used. |
| ScanAllByEdgePropertyRangeOperator | Counter | Number of times ScanAllByEdgePropertyRange operator was used. |
| ScanAllByEdgePropertyValueOperator | Counter | Number of times ScanAllByEdgePropertyValue operator was used. |
| ScanAllByEdgeTypeOperator | Counter | Number of times ScanAllByEdgeType operator was used. |
| ScanAllByEdgeTypePropertyOperator | Counter | Number of times ScanAllByEdgeTypeProperty operator was used. |
| ScanAllByEdgeTypePropertyRangeOperator | Counter | Number of times ScanAllByEdgeTypePropertyRange operator was used. |
Expand Down Expand Up @@ -395,7 +429,7 @@ and describes a particular operation.
| Name | Type | Description |
| ---------------------- | ------- | --------------------------------------------------------------------------------------------------------------------------|
| ActiveTransactions | Counter | Number of active transactions. |
| CommittedTransactions | Counter | Number of committed transactions. |
| CommitedTransactions | 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. |
Expand Down Expand Up @@ -489,6 +523,9 @@ and describes a particular operation.
| UnregisterReplicaRpc_us_50p | Histogram | UnregisterReplicaRpc latency in microseconds (50th percentile). |
| UnregisterReplicaRpc_us_90p | Histogram | UnregisterReplicaRpc latency in microseconds (90th percentile). |
| UnregisterReplicaRpc_us_99p | Histogram | UnregisterReplicaRpc latency in microseconds (99th percentile). |
| UpdateDataInstanceConfigRpc_us_50p | Histogram | UpdateDataInstanceConfigRpc latency in microseconds (50th percentile). |
| UpdateDataInstanceConfigRpc_us_90p | Histogram | UpdateDataInstanceConfigRpc latency in microseconds (90th percentile). |
| UpdateDataInstanceConfigRpc_us_99p | Histogram | UpdateDataInstanceConfigRpc latency in microseconds (99th percentile). |
| BecomeLeaderSuccess | Counter | The number of times coordinators successfully became leaders. |
| FailedToBecomeLeader | Counter | The number of times coordinators failed to become leaders. |
| SuccessfulFailovers | Counter | The number of times failover was done successfully. |
Expand All @@ -515,6 +552,8 @@ and describes a particular operation.
| SwapMainUUIDRpcSuccess | Counter | The number of times coordinators received successful response to SwapMainUUIDRpc. |
| GetDatabaseHistoriesRpcFail | Counter | The number of times coordinators received unsuccessful or no response to GetDatabaseHistoriesRpc. |
| GetDatabaseHistoriesRpcSuccess | Counter | The number of times coordinators received successful response to GetDatabaseHistoriesRpc. |
| UpdateDataInstanceConfigRpcFail | Counter | The number of times coordinators received unsuccessful or no response to UpdateDataInstanceConfigRpc. |
| UpdateDataInstanceConfigRpcSuccess | Counter | The number of times coordinators received successful response to UpdateDataInstanceConfigRpc. |
| ReplicaRecoverySuccess | Counter | The number of times the replica recovery process finished successfully. |
| ReplicaRecoveryFail | Counter | The number of times the replica recovery process finished unsuccessfully. |
| ReplicaRecoverySkip | Counter | The number of times the replica recovery task was skipped. |
Expand Down