Skip to content

Commit 47373f4

Browse files
add deprecated causal clustering metrics (#1423) (#1425)
1 parent 8e83301 commit 47373f4

File tree

1 file changed

+140
-14
lines changed

1 file changed

+140
-14
lines changed

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

Lines changed: 140 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -184,15 +184,24 @@ By default, database metrics include:
184184
|===
185185

186186
[[db-data-metrics]]
187-
.Database data metrics
187+
.Database data metrics label:deprecated[Deprecated in 5.15]
188188

189189
[options="header",cols="<3m,<4"]
190190
|===
191-
|Name |Description
192-
|<prefix>.ids_in_use.relationship_type|label:deprecated[Deprecated in 5.15]The total number of internally generated IDs for the different relationship types stored in the database. These IDs do not reflect changes in the actual data. Informational, not an indication of any issue. (gauge)
193-
|<prefix>.ids_in_use.property|label:deprecated[Deprecated in 5.15]The total number of internally generated IDs for the different property names stored in the database. These IDs do not reflect changes in the actual data. Informational, not an indication of any issue. (gauge)
194-
|<prefix>.ids_in_use.relationship|label:deprecated[Deprecated in 5.15]The total number of internally generated reusable IDs for the relationships 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.relationship` instead. (gauge)
195-
|<prefix>.ids_in_use.node|label:deprecated[Deprecated in 5.15]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)
191+
|Name
192+
|Description
193+
194+
|<prefix>.ids_in_use.relationship_type
195+
|The total number of internally generated IDs for the different relationship types stored in the database. These IDs do not reflect changes in the actual data. Informational, not an indication of any issue. (gauge)
196+
197+
|<prefix>.ids_in_use.property
198+
|The total number of internally generated IDs for the different property names stored in the database. These IDs do not reflect changes in the actual data. Informational, not an indication of any issue. (gauge)
199+
200+
|<prefix>.ids_in_use.relationship
201+
|The total number of internally generated reusable IDs for the relationships 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.relationship` instead. (gauge)
202+
203+
|<prefix>.ids_in_use.node
204+
|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)
196205
|===
197206

198207
[[global-neo4j-pools-metrics]]
@@ -259,17 +268,21 @@ By default, database metrics include:
259268
|===
260269

261270
[[query-routing-metrics]]
262-
.Query routing metrics
271+
.Query routing metrics label:new[Introduced in 5.10]
263272

264273
[options="header",cols="<3m,<4"]
265274
|===
266-
|Name |Description
267-
|<prefix>.dbms.routing.query.count.local|label:new[Introduced in 5.10]
268-
The total number of queries executed locally. (counter)
269-
|<prefix>.dbms.routing.query.count.remote_internal|label:new[Introduced in 5.10]
270-
The total number of queries executed remotely to a member of the same cluster. (counter)
271-
|<prefix>.dbms.routing.query.count.remote_external|label:new[Introduced in 5.10]
272-
The total number of queries executed remotely to a member of a different cluster. (counter)
275+
|Name
276+
|Description
277+
278+
|<prefix>.dbms.routing.query.count.local
279+
|The total number of queries executed locally. (counter)
280+
281+
|<prefix>.dbms.routing.query.count.remote_internal
282+
|The total number of queries executed remotely to a member of the same cluster. (counter)
283+
284+
|<prefix>.dbms.routing.query.count.remote_external
285+
|The total number of queries executed remotely to a member of a different cluster. (counter)
273286
|===
274287

275288
[[db-store-size-metrics]]
@@ -384,6 +397,95 @@ The total number of queries executed remotely to a member of a different cluster
384397
|<prefix>.cluster.discovery.restart.failed_count|Discovery restart failed count. (gauge)
385398
|===
386399

400+
[[raft-core-metrics]]
401+
.Raft core metrics label:deprecated[Deprecated in 5.0]
402+
[options="header",cols="<3m,<4"]
403+
|===
404+
|Name
405+
|Description
406+
407+
|<prefix>.causal_clustering.core.append_index
408+
|The append index of the Raft log. Each index represents a write transaction (possibly internal) proposed for commitment. The values mostly increase, but sometimes they can decrease as a consequence of leader changes. The append index should always be bigger than or equal to the commit index. (gauge)
409+
410+
|<prefix>.causal_clustering.core.commit_index
411+
|The commit index of the Raft log. Represents the commitment of previously appended entries. Its value increases monotonically if you do not unbind the cluster state. The commit index should always be less than or equal to the append index and bigger than or equal to the applied index. (gauge)
412+
413+
|<prefix>.causal_clustering.core.applied_index
414+
|The applied index of the Raft log. Represents the application of the committed Raft log entries to the database and internal state. The applied index should always be less than or equal to the commit index. The difference between this and the commit index can be used to monitor how up-to-date the follower database is. (gauge)
415+
416+
|<prefix>.causal_clustering.core.term
417+
|The Raft Term of this server. It increases monotonically if you do not unbind the cluster state. (gauge)
418+
419+
|<prefix>.causal_clustering.core.tx_retries
420+
|Transaction retries. (counter)
421+
422+
|<prefix>.causal_clustering.core.is_leader
423+
|Is this server the leader? Track this for each Core cluster member. It will report 0 if it is not the leader and 1 if it is the leader. The sum of all of these should always be 1. However, there will be transient periods in which the sum can be more than 1 because more than one member thinks it is the leader. Action may be needed if the metric shows 0 for more than 30 seconds. (gauge)
424+
425+
|<prefix>.causal_clustering.core.in_flight_cache.total_bytes
426+
|In-flight cache total bytes. (gauge)
427+
428+
|<prefix>.causal_clustering.core.in_flight_cache.max_bytes
429+
|In-flight cache max bytes. (gauge)
430+
431+
|<prefix>.causal_clustering.core.in_flight_cache.element_count
432+
|In-flight cache element count. (gauge)
433+
434+
|<prefix>.causal_clustering.core.in_flight_cache.max_elements
435+
|In-flight cache maximum elements. (gauge)
436+
437+
|<prefix>.causal_clustering.core.in_flight_cache.hits
438+
|In-flight cache hits. (counter)
439+
440+
|<prefix>.causal_clustering.core.in_flight_cache.misses
441+
|In-flight cache misses. (counter)
442+
443+
|<prefix>.causal_clustering.core.raft_log_entry_prefetch_buffer.lag
444+
|Raft Log Entry Prefetch Lag. (gauge)
445+
446+
|<prefix>.causal_clustering.core.raft_log_entry_prefetch_buffer.bytes
447+
|Raft Log Entry Prefetch total bytes. (gauge)
448+
449+
|<prefix>.causal_clustering.core.raft_log_entry_prefetch_buffer.size
450+
|Raft Log Entry Prefetch buffer size. (gauge)
451+
452+
|<prefix>.causal_clustering.core.raft_log_entry_prefetch_buffer.async_put
453+
|Raft Log Entry Prefetch buffer async puts. (gauge)
454+
455+
|<prefix>.causal_clustering.core.raft_log_entry_prefetch_buffer.sync_put
456+
|Raft Log Entry Prefetch buffer sync puts. (gauge)
457+
458+
|<prefix>.causal_clustering.core.message_processing_delay
459+
|Delay between Raft message receive and process. (gauge)
460+
461+
|<prefix>.causal_clustering.core.message_processing_timer
462+
|Timer for Raft message processing. (counter, histogram)
463+
464+
|<prefix>.causal_clustering.core.replication_new
465+
|The total number of Raft replication requests. It increases with write transactions (possibly internal) activity. (counter)
466+
467+
|<prefix>.causal_clustering.core.replication_attempt
468+
|The total number of Raft replication requests attempts. It is bigger or equal than the replication requests. (counter)
469+
470+
|<prefix>.causal_clustering.core.replication_fail
471+
|The total number of Raft replication attempts that have failed. (counter)
472+
473+
|<prefix>.causal_clustering.core.replication_maybe
474+
|Raft Replication maybe count. (counter)
475+
476+
|<prefix>.causal_clustering.core.replication_success
477+
|The total number of Raft replication requests that have succeeded. (counter)
478+
479+
|<prefix>.causal_clustering.core.last_leader_message
480+
|The time elapsed since the last message from a leader in milliseconds. Should reset periodically. (gauge)
481+
|===
482+
483+
[IMPORTANT]
484+
====
485+
Metrics specific to _Causal Clustering_ are deprecated, as the previous table shows.
486+
The deprecated Raft core metrics are replaced accordingly by the Raft metrics in the following table.
487+
====
488+
387489
[[raft-metrics]]
388490
.Raft metrics
389491

@@ -418,6 +520,30 @@ The total number of queries executed remotely to a member of a different cluster
418520
|<prefix>.cluster.raft.last_leader_message|The time elapsed since the last message from a leader in milliseconds. Should reset periodically. (gauge)
419521
|===
420522

523+
524+
[[read-replica-metrics]]
525+
.Read Replica metrics label:deprecated[Deprecated in 5.0]
526+
[options="header",cols="<3m,<4"]
527+
|===
528+
|Name
529+
|Description
530+
531+
|<prefix>.causal_clustering.read_replica.pull_updates
532+
|The total number of pull requests made by this instance. (counter)
533+
534+
|<prefix>.causal_clustering.read_replica.pull_update_highest_tx_id_requested
535+
|The highest transaction id requested in a pull update by this instance. (counter)
536+
537+
|<prefix>.causal_clustering.read_replica.pull_update_highest_tx_id_received
538+
|The highest transaction id that has been pulled in the last pull updates by this instance. (counter)
539+
|===
540+
541+
[IMPORTANT]
542+
====
543+
Metrics specific to _Causal Clustering_ are deprecated, as the previous table shows.
544+
The deprecated Read Replica metrics are replaced accordingly by the Story copy metrics in the following table.
545+
====
546+
421547
[[store-copy-metrics]]
422548
.Store copy metrics
423549

0 commit comments

Comments
 (0)