Skip to content

Update the def value of server.metrics.filter #2422

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 5 commits into
base: dev
Choose a base branch
from
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
41 changes: 40 additions & 1 deletion modules/ROOT/pages/configuration/configuration-settings.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -1777,6 +1777,22 @@ They can be used to tune the performance of Cypher queries or to restrict the ki
For more information, see xref:/performance/statistics-execution-plans.adoc[Statistics and execution plans].


[role=label--new-2025.06]
[[config_db.query.default_language]]
=== `db.query.default_language`

.db.query.default_language
[frame="topbot", stripes=odd, grid="cols", cols="<1s,<4"]
|===
|Description
a|The default language of a database determines which language is used to evaluate queries that do not explicitly select a language. This setting determines the default language used for new (and initial) databases where not specified as part of `CREATE` or `ALTER` database.
|Valid values
a|One of [CYPHER_5, CYPHER_25] that the [] values acceptance depend on 'internal.dbms.cypher.enable_experimental_versions'.
|Default value
m|+++CYPHER_5+++
|===


[[config_dbms.cypher.forbid_exhaustive_shortestpath]]
=== `dbms.cypher.forbid_exhaustive_shortestpath`

Expand Down Expand Up @@ -3100,9 +3116,32 @@ a|Specifies which metrics should be enabled by using a comma separated list of g
|Valid values
a|A comma-separated list where each element is A simple globbing pattern that can use `*` and `?`..
|Default value
m|+++*bolt.connections*,*bolt.messages_received*,*bolt.messages_started*,*dbms.pool.bolt.free,*dbms.pool.bolt.total_size,*dbms.pool.bolt.total_used,*dbms.pool.bolt.used_heap,*cluster.raft.is_leader,*cluster.raft.last_leader_message,*cluster.raft.replication_attempt,*cluster.raft.replication_fail,*cluster.raft.last_applied,*cluster.raft.last_appended,*cluster.raft.append_index,*cluster.raft.commit_index,*cluster.raft.applied_index,*cluster.internal.discovery.memberset.left,*cluster.internal.discovery.crdt.gossip_id_data.size,*cluster.internal.discovery.crdt.server_data.size,*cluster.internal.discovery.crdt.database_data.size,*cluster.internal.discovery.crdt.leader_data.size,*cluster.internal.discovery.crdt.total_merge_operations,*cluster.internal.discovery.crdt.total_update_operations,*cluster.internal.discovery.gossip.incoming_queue_size,*cluster.internal.discovery.gossip.total_received_data,*cluster.internal.discovery.gossip.total_sent_data,*cluster.internal.discovery.gossip.uncontactable_members_exist,*check_point.*,*cypher.replan_events,*cypher.cache*,*ids_in_use*,*.neo4j.count.*,*pool.transaction.*.total_used,*pool.transaction.*.used_heap,*pool.transaction.*.used_native,*store.size*,*transaction.active_read,*transaction.active_write,*transaction.committed*,*transaction.last_committed_tx_id,*transaction.peak_concurrent,*transaction.rollbacks*,*page_cache.hit*,*page_cache.page_faults,*page_cache.usage_ratio,*vm.file.descriptors.count,*vm.gc.time.*,*vm.heap.used,*vm.memory.buffer.direct.used,*vm.memory.pool.g1_eden_space,*vm.memory.pool.g1_old_gen,*vm.pause_time,*vm.thread*,*db.query.execution*,*protocol*+++ label:changed[Changed in 2025.03]
m|+++*bolt.connections*,*bolt.messages_received*,*bolt.messages_started*,*dbms.pool.bolt.free,*dbms.pool.bolt.total_size,*dbms.pool.bolt.total_used,*dbms.pool.bolt.used_heap,*cluster.raft.is_leader,*cluster.raft.last_leader_message,*cluster.raft.replication_attempt,*cluster.raft.replication_fail,*cluster.raft.last_applied,*cluster.raft.last_appended,*cluster.raft.append_index,*cluster.raft.commit_index,*cluster.raft.applied_index,*check_point.*,*cypher.replan_events,*cypher.cache*,*ids_in_use*,*.neo4j.count.*,*pool.transaction.*.total_used,*pool.transaction.*.used_heap,*pool.transaction.*.used_native,*store.size*,*transaction.active_read,*transaction.active_write,*transaction.committed*,*transaction.last_committed_tx_id,*transaction.peak_concurrent,*transaction.rollbacks*,*page_cache.hit*,*page_cache.page_faults,*page_cache.usage_ratio,*vm.file.descriptors.count,*vm.gc.time.*,*vm.heap.used,*vm.memory.buffer.direct.used,*vm.memory.pool.g1_eden_space,*vm.memory.pool.g1_old_gen,*vm.pause_time,*vm.thread*,*db.query.execution*,*protocol*+++ label:changed[Changed in 2025.03] label:changed[Changed in 2025.06]
|===

[NOTE]
====
The default value of the `server.metrics.filter` was changed in Neo4j 2025.03 and 2025.06.

In 2025.03, *neo4j.count* (_Database data count metrics_) was included.
This class of metrics replaced the deprecated *ids_in_use* (_Database data metrics_).
See xref:monitoring/metrics/reference.adoc#db-data-count-metrics[Monitoring -> Metrics reference] for details.

In 2025.06, the following metrics were removed:

* cluster.internal.discovery.memberset.left
* cluster.internal.discovery.crdt.gossip_id_data.size
* cluster.internal.discovery.crdt.server_data.size
* cluster.internal.discovery.crdt.database_data.size
* cluster.internal.discovery.crdt.leader_data.size
* cluster.internal.discovery.crdt.total_merge_operations
* cluster.internal.discovery.crdt.total_update_operations
* cluster.internal.discovery.gossip.incoming_queue_size
* cluster.internal.discovery.gossip.total_received_data
* cluster.internal.discovery.gossip.total_sent_data
* cluster.internal.discovery.gossip.uncontactable_members_exist
====


[role=label--enterprise-edition]
[[config_server.metrics.graphite.enabled]]
Expand Down