You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Each database metric is reported for a particular database only.
@@ -62,16 +63,17 @@ In particular, the `neo4j.database.mydb.transaction.started` metric has a defaul
62
63
63
64
By default, database metrics include:
64
65
65
-
* Transaction metrics
66
-
* Checkpoint metrics
67
-
* Log rotation metrics
68
-
* Database data metrics
69
-
* Cypher metrics
70
-
* Clustering metrics
66
+
* <<db-tx-metrics, Transaction metrics>>
67
+
* <<checkpointing-metrics, Checkpoint metrics>>
68
+
* <<db-tx-log-metrics, Log rotation metrics>>
69
+
* <<db-data-metrics, Database data metrics>>
70
+
* <<cypher-metrics, Cypher metrics>>
71
+
* <<clustering-metrics, Clustering metrics>>
71
72
72
73
[[metrics-general-purpose]]
73
74
== General-purpose metrics
74
75
76
+
[[bolt-metrics]]
75
77
.Bolt metrics
76
78
77
79
[options="header",cols="<3m,<4"]
@@ -96,6 +98,7 @@ By default, database metrics include:
96
98
|<prefix>.bolt_driver.execute_calls|The total number of driver-level execute function calls. (counter)
97
99
|===
98
100
101
+
[[checkpointing-metrics]]
99
102
.Database checkpointing metrics
100
103
101
104
[options="header",cols="<3m,<4"]
@@ -112,6 +115,7 @@ By default, database metrics include:
112
115
|<prefix>.check_point.io_limit|The IO limit used during the last checkpoint event. (gauge)
113
116
|===
114
117
118
+
[[cypher-metrics]]
115
119
.Cypher metrics
116
120
117
121
[options="header",cols="<3m,<4"]
@@ -121,6 +125,7 @@ By default, database metrics include:
121
125
|<prefix>.cypher.replan_wait_time|The total number of seconds waited between query replans. (counter)
122
126
|===
123
127
128
+
[[db-data-count-metrics]]
124
129
.Database data count metrics
125
130
126
131
[options="header",cols="<3m,<4"]
@@ -130,6 +135,7 @@ By default, database metrics include:
130
135
|<prefix>.neo4j.count.node|The total number of nodes in the database. A rough metric of how big your graph is. And if you are running a bulk insert operation you can see this tick up. (gauge)
131
136
|===
132
137
138
+
[[db-neo4j-pool-metrics]]
133
139
.Database neo4j pools metrics
134
140
135
141
[options="header",cols="<3m,<4"]
@@ -142,6 +148,8 @@ By default, database metrics include:
142
148
|<prefix>.pool.<pool>.<database>.free|Available unused memory in the pool, in bytes. (gauge)
143
149
|===
144
150
151
+
152
+
[[db-operation-count-metrics]]
145
153
.Database operation count metrics
146
154
147
155
[options="header",cols="<3m,<4"]
@@ -155,6 +163,7 @@ By default, database metrics include:
155
163
|<prefix>.db.operation.count.recovered|Count of database operations that failed previously but have recovered. (counter)
156
164
|===
157
165
166
+
[[db-state-count-metrics]]
158
167
.Database state count metrics
159
168
160
169
[options="header",cols="<3m,<4"]
@@ -165,6 +174,7 @@ By default, database metrics include:
165
174
|<prefix>.db.state.count.desired_started|Databases that desire to be started on this server. (gauge)
166
175
|===
167
176
177
+
[[db-data-metrics]]
168
178
.Database data metrics
169
179
170
180
[options="header",cols="<3m,<4"]
@@ -176,6 +186,7 @@ By default, database metrics include:
176
186
|<prefix>.ids_in_use.node|The total number of internally generated reusable IDs for the nodes stored in the database. These IDs do not reflect changes in the actual data. If you want to have a rough metric of how big your graph is, use `<prefix>.neo4j.count.node` instead. (gauge)
177
187
|===
178
188
189
+
[[global-neo4j-pools-metrics]]
179
190
.Global neo4j pools metrics
180
191
181
192
[options="header",cols="<3m,<4"]
@@ -188,6 +199,7 @@ By default, database metrics include:
188
199
|<prefix>.dbms.pool.<pool>.free|Available unused memory in the pool, in bytes. (gauge)
189
200
|===
190
201
202
+
[[db-page-cache-metrics]]
191
203
.Database page cache metrics
192
204
193
205
[options="header",cols="<3m,<4"]
@@ -218,6 +230,7 @@ By default, database metrics include:
218
230
|<prefix>.page_cache.pages_copied|The total number of page copies happened in the page cache. (counter)
219
231
|===
220
232
233
+
[[query-execution-metrics]]
221
234
.Query execution metrics
222
235
223
236
[options="header",cols="<3m,<4"]
@@ -237,6 +250,7 @@ By default, database metrics include:
237
250
|<prefix>.db.query.execution.slotted.latency.millis|Execution time in milliseconds of queries executed successfully in slotted runtime. (histogram)
238
251
|===
239
252
253
+
[[query-routing-metrics]]
240
254
.Query routing metrics
241
255
242
256
[options="header",cols="<3m,<4"]
@@ -250,6 +264,7 @@ The total number of queries executed remotely to a member of the same cluster. (
250
264
The total number of queries executed remotely to a member of a different cluster. (counter)
251
265
|===
252
266
267
+
[[db-store-size-metrics]]
253
268
.Database store size metrics
254
269
255
270
[options="header",cols="<3m,<4"]
@@ -259,6 +274,7 @@ The total number of queries executed remotely to a member of a different cluster
259
274
|<prefix>.store.size.database|The size of the database, in bytes. The total size of the database helps determine how much cache page is required. It also helps compare the total disk space used by the data store and how much is available. (gauge)
260
275
|===
261
276
277
+
[[db-tx-log-metrics]]
262
278
.Database transaction log metrics
263
279
264
280
[options="header",cols="<3m,<4"]
@@ -272,6 +288,7 @@ The total number of queries executed remotely to a member of a different cluster
272
288
|<prefix>.log.append_batch_size|The size of the last transaction append batch. (gauge)
273
289
|===
274
290
291
+
[[db-tx-metrics]]
275
292
.Database transaction metrics
276
293
277
294
[options="header",cols="<3m,<4"]
@@ -297,6 +314,7 @@ The total number of queries executed remotely to a member of a different cluster
297
314
|<prefix>.transaction.tx_size_native|The transactions' size in native memory in bytes. (histogram)
298
315
|===
299
316
317
+
[[db-index-metrics]]
300
318
.Database index metrics
301
319
302
320
[options="header",cols="<3m,<4"]
@@ -321,6 +339,7 @@ The total number of queries executed remotely to a member of a different cluster
321
339
|<prefix>.index.vector.populated|The total number of vector index population jobs that have been completed. (counter)
322
340
|===
323
341
342
+
[[server-metrics]]
324
343
.Server metrics
325
344
326
345
[options="header",cols="<3m,<4"]
@@ -334,6 +353,7 @@ The total number of queries executed remotely to a member of a different cluster
334
353
[[clustering-metrics]]
335
354
== Metrics specific to clustering
336
355
356
+
[[catchup-metrics]]
337
357
.Catchup metrics
338
358
339
359
[options="header",cols="<3m,<4"]
@@ -342,6 +362,7 @@ The total number of queries executed remotely to a member of a different cluster
342
362
|<prefix>.cluster.catchup.tx_pull_requests_received|TX pull requests received from secondaries. (counter)
343
363
|===
344
364
365
+
[[discovery-db-primary-metrics]]
345
366
.Discovery database primary metrics
346
367
347
368
[options="header",cols="<3m,<4"]
@@ -355,6 +376,7 @@ The total number of queries executed remotely to a member of a different cluster
@@ -388,6 +410,7 @@ The total number of queries executed remotely to a member of a different cluster
388
410
|<prefix>.cluster.raft.last_leader_message|The time elapsed since the last message from a leader in milliseconds. Should reset periodically. (gauge)
389
411
|===
390
412
413
+
[[store-copy-metrics]]
391
414
.Store copy metrics
392
415
393
416
[options="header",cols="<3m,<4"]
@@ -413,7 +436,8 @@ The buffer pools are space outside of the memory managed by the garbage collecto
413
436
Neo4j allocates buffers in those pools as it needs them.
414
437
You can limit this memory using JVM settings, but there is never any good reason for you to set them.
415
438
416
-
.JVM file descriptor metrics.
439
+
[[jvm-file-descriptor-metrics]]
440
+
.JVM file descriptor metrics
417
441
418
442
[options="header",cols="<3m,<4"]
419
443
|===
@@ -422,7 +446,8 @@ You can limit this memory using JVM settings, but there is never any good reason
422
446
|<prefix>.vm.file.descriptors.maximum|(OS setting) The maximum number of open file descriptors. It is recommended to be set to 40K file handles, because of the native and Lucene indexing Neo4j uses. If this metric gets close to the limit, you should consider raising it. (gauge)
423
447
|===
424
448
425
-
.GC metrics.
449
+
[[gc-metrics]]
450
+
.GC metrics
426
451
427
452
[options="header",cols="<3m,<4"]
428
453
|===
@@ -431,7 +456,8 @@ You can limit this memory using JVM settings, but there is never any good reason
431
456
|<prefix>.vm.gc.count.<gc>|Total number of garbage collections. (counter)
432
457
|===
433
458
434
-
.JVM Heap metrics.
459
+
[[jvm-heap-metrics]]
460
+
.JVM heap metrics
435
461
436
462
[options="header",cols="<3m,<4"]
437
463
|===
@@ -441,7 +467,8 @@ You can limit this memory using JVM settings, but there is never any good reason
441
467
|<prefix>.vm.heap.max|Maximum amount of heap memory (in bytes) that can be used. This is the amount of heap space currently used at a given point in time. Monitor this to identify if you are maxing out consistently, in which case, you should increase the initial and max heap size, or if you are underutilizing, you should decrease the initial and max heap sizes. (gauge)
442
468
|===
443
469
444
-
.JVM memory buffers metrics.
470
+
[[jvm-memory-buffers-metrics]]
471
+
.JVM memory buffers metrics
445
472
446
473
[options="header",cols="<3m,<4"]
447
474
|===
@@ -451,23 +478,26 @@ You can limit this memory using JVM settings, but there is never any good reason
451
478
|<prefix>.vm.memory.buffer.<bufferpool>.capacity|Estimated total capacity of buffers in the pool. (gauge)
452
479
|===
453
480
454
-
.JVM memory pools metrics.
481
+
[[jvm-memory-pools-metrics]]
482
+
.JVM memory pools metrics
455
483
456
484
[options="header",cols="<3m,<4"]
457
485
|===
458
486
|Name |Description
459
487
|<prefix>.vm.memory.pool.<pool>|Estimated amount of memory in bytes used by the pool. (gauge)
460
488
|===
461
489
462
-
.JVM pause time metrics.
490
+
[[jvm-pause-time-metrics]]
491
+
.JVM pause time metrics
463
492
464
493
[options="header",cols="<3m,<4"]
465
494
|===
466
495
|Name |Description
467
496
|<prefix>.vm.pause_time|Accumulated detected VM pause time. (counter)
0 commit comments