Skip to content

Commit a93785d

Browse files
authored
fix: out of date monitoring metrics (#1623)
* Sync monitoring metrics docs with memgraph emit Add Constraint, SchemaInfo and StorageInfo sections; extend Index, Memory, Operator and HA tables with metrics introduced in recent memgraph releases; fix four operator names (HashJoin, IndexedJoin, PeriodicCommit, PeriodicSubquery) that were missing the Operator suffix; correct CommittedTransactions to match the emitted name CommitedTransactions. * Fix indexes -> indices in index metrics table
1 parent 6339bb7 commit a93785d

1 file changed

Lines changed: 50 additions & 11 deletions

File tree

pages/database-management/monitoring.mdx

Lines changed: 50 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -268,17 +268,45 @@ three different types:
268268

269269
#### Index metrics
270270

271-
| Name | Type | Description |
272-
| -------------------------- | ------- | ------------------------------------------------------ |
273-
| ActiveLabelIndices | Counter | Number of active label indexes in the system. |
274-
| ActiveLabelPropertyIndices | Counter | Number of active label property indexes in the system. |
275-
| ActivePointIndices | Counter | Number of active point indices in the system. |
276-
| ActiveTextIndices | Counter | Number of active text indexes in the system. |
271+
| Name | Type | Description |
272+
| ----------------------------- | ------- | ------------------------------------------------------------ |
273+
| ActiveLabelIndices | Counter | Number of active label indices in the system. |
274+
| ActiveLabelPropertyIndices | Counter | Number of active label property indices in the system. |
275+
| ActiveEdgeTypeIndices | Counter | Number of active edge-type indices in the system. |
276+
| ActiveEdgeTypePropertyIndices | Counter | Number of active edge-type property indices in the system. |
277+
| ActiveEdgePropertyIndices | Counter | Number of active edge property indices in the system. |
278+
| ActivePointIndices | Counter | Number of active point indices in the system. |
279+
| ActiveTextIndices | Counter | Number of active text indices in the system. |
280+
| ActiveTextEdgeIndices | Counter | Number of active text edge indices in the system. |
281+
| ActiveVectorIndices | Counter | Number of active vector indices in the system. |
282+
| ActiveVectorEdgeIndices | Counter | Number of active vector edge indices in the system. |
283+
284+
#### Constraint metrics
285+
286+
| Name | Type | Description |
287+
| --------------------------- | ------- | ---------------------------------------------------- |
288+
| ActiveExistenceConstraints | Counter | Number of active existence constraints in the system. |
289+
| ActiveUniqueConstraints | Counter | Number of active unique constraints in the system. |
290+
| ActiveTypeConstraints | Counter | Number of active type constraints in the system. |
291+
292+
#### Schema info metrics
293+
294+
| Name | Type | Description |
295+
| ---------- | ------- | ------------------------------------------------------ |
296+
| ShowSchema | Counter | Number of times the user called `SHOW SCHEMA INFO`. |
297+
298+
#### Storage info metrics
299+
300+
| Name | Type | Description |
301+
| ------------------------- | ------- | ------------------------------------------------------------------ |
302+
| ShowStorageInfoOnDatabase | Counter | Number of times the user called `SHOW STORAGE INFO ON DATABASE`. |
277303

278304
#### Memory metrics
279305

280306
| Name | Type | Description |
281307
| ------------------------------- | --------- | -------------------------------------------------------------------|
308+
| UnreleasedDeltaObjects | Counter | Total number of unreleased delta objects in memory. |
309+
| PeakMemoryRes | Gauge | Peak resident memory in the system. |
282310
| GCLatency_us_50p | Histogram | GC total cleanup time in microseconds (50th percentile). |
283311
| GCLatency_us_90p | Histogram | GC total cleanup time in microseconds (90th percentile). |
284312
| GCLatency_us_99p | Histogram | GC total cleanup time in microseconds (99th percentile). |
@@ -331,13 +359,19 @@ and describes a particular operation.
331359
| ForeachOperator | Counter | Number of times Foreach operator was used. |
332360
| EvaluatePatternFilterOperator | Counter | Number of times EvaluatePatternFilter operator was used. |
333361
| ApplyOperator | Counter | Number of times Apply operator was used. |
334-
| HashJoin | Counter | Number of times HashJoin operator was used. |
335-
| IndexedJoin | Counter | Number of times IndexedJoin operator was used. |
336-
| PeriodicCommit | Counter | Number of times PeriodicCommit operator was used. |
337-
| PeriodicSubquery | Counter | Number of times PeriodicSubquery operator was used. |
362+
| HashJoinOperator | Counter | Number of times HashJoin operator was used. |
363+
| IndexedJoinOperator | Counter | Number of times IndexedJoin operator was used. |
364+
| PeriodicCommitOperator | Counter | Number of times PeriodicCommit operator was used. |
365+
| PeriodicSubqueryOperator | Counter | Number of times PeriodicSubquery operator was used. |
338366
| RollUpApplyOperator | Counter | Number of times RollUpApply operator was used. |
367+
| RemoveNestedPropertyOperator | Counter | Number of times RemoveNestedProperty operator was used. |
368+
| SetNestedPropertyOperator | Counter | Number of times SetNestedProperty operator was used. |
369+
| ScanAllByIdOperator | Counter | Number of times ScanAllById operator was used. |
339370
| ScanAllByEdgeIdOperator | Counter | Number of times ScanAllByEdgeId operator was used. |
340371
| ScanAllByEdgeOperator | Counter | Number of times ScanAllByEdge operator was used. |
372+
| ScanAllByEdgePropertyOperator | Counter | Number of times ScanAllByEdgeProperty operator was used. |
373+
| ScanAllByEdgePropertyRangeOperator | Counter | Number of times ScanAllByEdgePropertyRange operator was used. |
374+
| ScanAllByEdgePropertyValueOperator | Counter | Number of times ScanAllByEdgePropertyValue operator was used. |
341375
| ScanAllByEdgeTypeOperator | Counter | Number of times ScanAllByEdgeType operator was used. |
342376
| ScanAllByEdgeTypePropertyOperator | Counter | Number of times ScanAllByEdgeTypeProperty operator was used. |
343377
| ScanAllByEdgeTypePropertyRangeOperator | Counter | Number of times ScanAllByEdgeTypePropertyRange operator was used. |
@@ -395,7 +429,7 @@ and describes a particular operation.
395429
| Name | Type | Description |
396430
| ---------------------- | ------- | --------------------------------------------------------------------------------------------------------------------------|
397431
| ActiveTransactions | Counter | Number of active transactions. |
398-
| CommittedTransactions | Counter | Number of committed transactions. |
432+
| CommitedTransactions | Counter | Number of committed transactions. |
399433
| RollbackedTransactions | Counter | Number of rollbacked transactions. |
400434
| FailedQuery | Counter | Number of times executing a query failed (either during parse time or runtime). |
401435
| FailedPrepare | Counter | Number of times preparing a query failed. |
@@ -489,6 +523,9 @@ and describes a particular operation.
489523
| UnregisterReplicaRpc_us_50p | Histogram | UnregisterReplicaRpc latency in microseconds (50th percentile). |
490524
| UnregisterReplicaRpc_us_90p | Histogram | UnregisterReplicaRpc latency in microseconds (90th percentile). |
491525
| UnregisterReplicaRpc_us_99p | Histogram | UnregisterReplicaRpc latency in microseconds (99th percentile). |
526+
| UpdateDataInstanceConfigRpc_us_50p | Histogram | UpdateDataInstanceConfigRpc latency in microseconds (50th percentile). |
527+
| UpdateDataInstanceConfigRpc_us_90p | Histogram | UpdateDataInstanceConfigRpc latency in microseconds (90th percentile). |
528+
| UpdateDataInstanceConfigRpc_us_99p | Histogram | UpdateDataInstanceConfigRpc latency in microseconds (99th percentile). |
492529
| BecomeLeaderSuccess | Counter | The number of times coordinators successfully became leaders. |
493530
| FailedToBecomeLeader | Counter | The number of times coordinators failed to become leaders. |
494531
| SuccessfulFailovers | Counter | The number of times failover was done successfully. |
@@ -515,6 +552,8 @@ and describes a particular operation.
515552
| SwapMainUUIDRpcSuccess | Counter | The number of times coordinators received successful response to SwapMainUUIDRpc. |
516553
| GetDatabaseHistoriesRpcFail | Counter | The number of times coordinators received unsuccessful or no response to GetDatabaseHistoriesRpc. |
517554
| GetDatabaseHistoriesRpcSuccess | Counter | The number of times coordinators received successful response to GetDatabaseHistoriesRpc. |
555+
| UpdateDataInstanceConfigRpcFail | Counter | The number of times coordinators received unsuccessful or no response to UpdateDataInstanceConfigRpc. |
556+
| UpdateDataInstanceConfigRpcSuccess | Counter | The number of times coordinators received successful response to UpdateDataInstanceConfigRpc. |
518557
| ReplicaRecoverySuccess | Counter | The number of times the replica recovery process finished successfully. |
519558
| ReplicaRecoveryFail | Counter | The number of times the replica recovery process finished unsuccessfully. |
520559
| ReplicaRecoverySkip | Counter | The number of times the replica recovery task was skipped. |

0 commit comments

Comments
 (0)