Skip to content

Commit 7b59c22

Browse files
Add anchors to the metrics tables (#1225) (#1231)
Co-authored-by: Reneta Popova <[email protected]>
1 parent bcf9dc6 commit 7b59c22

File tree

1 file changed

+48
-18
lines changed

1 file changed

+48
-18
lines changed

modules/ROOT/pages/monitoring/metrics/reference.adoc

Lines changed: 48 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -39,14 +39,15 @@ In particular, the `neo4j.dbms.vm.thread.count` metric has a default user-config
3939
By default, global metrics include:
4040

4141

42-
* Bolt metrics
43-
* Page cache metrics
44-
* GC metrics
42+
* <<bolt-metrics, Bolt metrics>>
43+
* <<db-page-cache-metrics, Page cache metrics>>
44+
* <<gc-metrics, GC metrics>>
4545
* Thread metrics
46-
* Database operation metrics
46+
* <<db-operation-count-metrics, Database operation metrics>>
4747
* Web Server metrics
48-
* JVM metrics
48+
* <<jvm-metrics, JVM metrics>>
4949

50+
[[database-metrics]]
5051
=== Database metrics
5152

5253
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
6263

6364
By default, database metrics include:
6465

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>>
7172

7273
[[metrics-general-purpose]]
7374
== General-purpose metrics
7475

76+
[[bolt-metrics]]
7577
.Bolt metrics
7678

7779
[options="header",cols="<3m,<4"]
@@ -96,6 +98,7 @@ By default, database metrics include:
9698
|<prefix>.bolt_driver.execute_calls|The total number of driver-level execute function calls. (counter)
9799
|===
98100

101+
[[checkpointing-metrics]]
99102
.Database checkpointing metrics
100103

101104
[options="header",cols="<3m,<4"]
@@ -112,6 +115,7 @@ By default, database metrics include:
112115
|<prefix>.check_point.io_limit|The IO limit used during the last checkpoint event. (gauge)
113116
|===
114117

118+
[[cypher-metrics]]
115119
.Cypher metrics
116120

117121
[options="header",cols="<3m,<4"]
@@ -121,6 +125,7 @@ By default, database metrics include:
121125
|<prefix>.cypher.replan_wait_time|The total number of seconds waited between query replans. (counter)
122126
|===
123127

128+
[[db-data-count-metrics]]
124129
.Database data count metrics
125130

126131
[options="header",cols="<3m,<4"]
@@ -130,6 +135,7 @@ By default, database metrics include:
130135
|<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)
131136
|===
132137

138+
[[db-neo4j-pool-metrics]]
133139
.Database neo4j pools metrics
134140

135141
[options="header",cols="<3m,<4"]
@@ -142,6 +148,8 @@ By default, database metrics include:
142148
|<prefix>.pool.<pool>.<database>.free|Available unused memory in the pool, in bytes. (gauge)
143149
|===
144150

151+
152+
[[db-operation-count-metrics]]
145153
.Database operation count metrics
146154

147155
[options="header",cols="<3m,<4"]
@@ -155,6 +163,7 @@ By default, database metrics include:
155163
|<prefix>.db.operation.count.recovered|Count of database operations that failed previously but have recovered. (counter)
156164
|===
157165

166+
[[db-state-count-metrics]]
158167
.Database state count metrics
159168

160169
[options="header",cols="<3m,<4"]
@@ -165,6 +174,7 @@ By default, database metrics include:
165174
|<prefix>.db.state.count.desired_started|Databases that desire to be started on this server. (gauge)
166175
|===
167176

177+
[[db-data-metrics]]
168178
.Database data metrics
169179

170180
[options="header",cols="<3m,<4"]
@@ -176,6 +186,7 @@ By default, database metrics include:
176186
|<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)
177187
|===
178188

189+
[[global-neo4j-pools-metrics]]
179190
.Global neo4j pools metrics
180191

181192
[options="header",cols="<3m,<4"]
@@ -188,6 +199,7 @@ By default, database metrics include:
188199
|<prefix>.dbms.pool.<pool>.free|Available unused memory in the pool, in bytes. (gauge)
189200
|===
190201

202+
[[db-page-cache-metrics]]
191203
.Database page cache metrics
192204

193205
[options="header",cols="<3m,<4"]
@@ -218,6 +230,7 @@ By default, database metrics include:
218230
|<prefix>.page_cache.pages_copied|The total number of page copies happened in the page cache. (counter)
219231
|===
220232

233+
[[query-execution-metrics]]
221234
.Query execution metrics
222235

223236
[options="header",cols="<3m,<4"]
@@ -237,6 +250,7 @@ By default, database metrics include:
237250
|<prefix>.db.query.execution.slotted.latency.millis|Execution time in milliseconds of queries executed successfully in slotted runtime. (histogram)
238251
|===
239252

253+
[[query-routing-metrics]]
240254
.Query routing metrics
241255

242256
[options="header",cols="<3m,<4"]
@@ -250,6 +264,7 @@ The total number of queries executed remotely to a member of the same cluster. (
250264
The total number of queries executed remotely to a member of a different cluster. (counter)
251265
|===
252266

267+
[[db-store-size-metrics]]
253268
.Database store size metrics
254269

255270
[options="header",cols="<3m,<4"]
@@ -259,6 +274,7 @@ The total number of queries executed remotely to a member of a different cluster
259274
|<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)
260275
|===
261276

277+
[[db-tx-log-metrics]]
262278
.Database transaction log metrics
263279

264280
[options="header",cols="<3m,<4"]
@@ -272,6 +288,7 @@ The total number of queries executed remotely to a member of a different cluster
272288
|<prefix>.log.append_batch_size|The size of the last transaction append batch. (gauge)
273289
|===
274290

291+
[[db-tx-metrics]]
275292
.Database transaction metrics
276293

277294
[options="header",cols="<3m,<4"]
@@ -297,6 +314,7 @@ The total number of queries executed remotely to a member of a different cluster
297314
|<prefix>.transaction.tx_size_native|The transactions' size in native memory in bytes. (histogram)
298315
|===
299316

317+
[[db-index-metrics]]
300318
.Database index metrics
301319

302320
[options="header",cols="<3m,<4"]
@@ -321,6 +339,7 @@ The total number of queries executed remotely to a member of a different cluster
321339
|<prefix>.index.vector.populated|The total number of vector index population jobs that have been completed. (counter)
322340
|===
323341

342+
[[server-metrics]]
324343
.Server metrics
325344

326345
[options="header",cols="<3m,<4"]
@@ -334,6 +353,7 @@ The total number of queries executed remotely to a member of a different cluster
334353
[[clustering-metrics]]
335354
== Metrics specific to clustering
336355

356+
[[catchup-metrics]]
337357
.Catchup metrics
338358

339359
[options="header",cols="<3m,<4"]
@@ -342,6 +362,7 @@ The total number of queries executed remotely to a member of a different cluster
342362
|<prefix>.cluster.catchup.tx_pull_requests_received|TX pull requests received from secondaries. (counter)
343363
|===
344364

365+
[[discovery-db-primary-metrics]]
345366
.Discovery database primary metrics
346367

347368
[options="header",cols="<3m,<4"]
@@ -355,6 +376,7 @@ The total number of queries executed remotely to a member of a different cluster
355376
|<prefix>.cluster.discovery.restart.failed_count|Discovery restart failed count. (gauge)
356377
|===
357378

379+
[[raft-db-primary-metrics]]
358380
.Raft database primary metrics
359381

360382
[options="header",cols="<3m,<4"]
@@ -388,6 +410,7 @@ The total number of queries executed remotely to a member of a different cluster
388410
|<prefix>.cluster.raft.last_leader_message|The time elapsed since the last message from a leader in milliseconds. Should reset periodically. (gauge)
389411
|===
390412

413+
[[store-copy-metrics]]
391414
.Store copy metrics
392415

393416
[options="header",cols="<3m,<4"]
@@ -413,7 +436,8 @@ The buffer pools are space outside of the memory managed by the garbage collecto
413436
Neo4j allocates buffers in those pools as it needs them.
414437
You can limit this memory using JVM settings, but there is never any good reason for you to set them.
415438

416-
.JVM file descriptor metrics.
439+
[[jvm-file-descriptor-metrics]]
440+
.JVM file descriptor metrics
417441

418442
[options="header",cols="<3m,<4"]
419443
|===
@@ -422,7 +446,8 @@ You can limit this memory using JVM settings, but there is never any good reason
422446
|<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)
423447
|===
424448

425-
.GC metrics.
449+
[[gc-metrics]]
450+
.GC metrics
426451

427452
[options="header",cols="<3m,<4"]
428453
|===
@@ -431,7 +456,8 @@ You can limit this memory using JVM settings, but there is never any good reason
431456
|<prefix>.vm.gc.count.<gc>|Total number of garbage collections. (counter)
432457
|===
433458

434-
.JVM Heap metrics.
459+
[[jvm-heap-metrics]]
460+
.JVM heap metrics
435461

436462
[options="header",cols="<3m,<4"]
437463
|===
@@ -441,7 +467,8 @@ You can limit this memory using JVM settings, but there is never any good reason
441467
|<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)
442468
|===
443469

444-
.JVM memory buffers metrics.
470+
[[jvm-memory-buffers-metrics]]
471+
.JVM memory buffers metrics
445472

446473
[options="header",cols="<3m,<4"]
447474
|===
@@ -451,23 +478,26 @@ You can limit this memory using JVM settings, but there is never any good reason
451478
|<prefix>.vm.memory.buffer.<bufferpool>.capacity|Estimated total capacity of buffers in the pool. (gauge)
452479
|===
453480

454-
.JVM memory pools metrics.
481+
[[jvm-memory-pools-metrics]]
482+
.JVM memory pools metrics
455483

456484
[options="header",cols="<3m,<4"]
457485
|===
458486
|Name |Description
459487
|<prefix>.vm.memory.pool.<pool>|Estimated amount of memory in bytes used by the pool. (gauge)
460488
|===
461489

462-
.JVM pause time metrics.
490+
[[jvm-pause-time-metrics]]
491+
.JVM pause time metrics
463492

464493
[options="header",cols="<3m,<4"]
465494
|===
466495
|Name |Description
467496
|<prefix>.vm.pause_time|Accumulated detected VM pause time. (counter)
468497
|===
469498

470-
.JVM threads metrics.
499+
[[jvm-threads-metrics]]
500+
.JVM threads metrics
471501

472502
[options="header",cols="<3m,<4"]
473503
|===

0 commit comments

Comments
 (0)