From 1bff75fced5aafe5eae5f63ffb4accef288a1fdc Mon Sep 17 00:00:00 2001 From: Reneta Popova Date: Mon, 29 Sep 2025 14:27:15 +0100 Subject: [PATCH 1/4] Document config_server.metrics.deny_filter --- .../configuration/configuration-settings.adoc | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/modules/ROOT/pages/configuration/configuration-settings.adoc b/modules/ROOT/pages/configuration/configuration-settings.adoc index c49199fd0..c35cd38c4 100644 --- a/modules/ROOT/pages/configuration/configuration-settings.adoc +++ b/modules/ROOT/pages/configuration/configuration-settings.adoc @@ -3315,6 +3315,20 @@ The default value of the `server.metrics.filter` was changed in Neo4j 2025.03 an For details, refer to the xref:changes-deprecations-removals.adoc#_configuration_settings_2[Changes, deprecations, and removals in Neo4j 2025.x]. ==== +[role=label--new-2025.10] +[role=label--enterprise-edition] +[[config_server.metrics.deny_filter]] +=== server.metrics.deny_filter +.server.metrics.deny_filter +[frame="topbot", stripes=odd, grid="cols", cols="<1s,<4"] +|=== +|Description +a|Specifies which metrics should be disabled by using a comma separated list of globbing patterns. Overrides the enabled metrics of server.metrics.filter. For example if server.metrics.filter contains neo4j.page_cache.* and server.metrics.deny_filter contains `neo4j.page_cache.page_faults` will enable all pagecache metrics, except that the pagecache page_faults metric will be disabled. +|Valid values +a|A comma-separated list where each element is A simple globbing pattern that can use * and ?.. +|Default value +m|++++++ +|=== [role=label--enterprise-edition] [[config_server.metrics.graphite.enabled]] From ac547908c6cd421f768f4c3e443ca37ddf911e25 Mon Sep 17 00:00:00 2001 From: Reneta Popova Date: Mon, 29 Sep 2025 14:32:52 +0100 Subject: [PATCH 2/4] fix the role --- modules/ROOT/pages/configuration/configuration-settings.adoc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/modules/ROOT/pages/configuration/configuration-settings.adoc b/modules/ROOT/pages/configuration/configuration-settings.adoc index c35cd38c4..98ef5d6c1 100644 --- a/modules/ROOT/pages/configuration/configuration-settings.adoc +++ b/modules/ROOT/pages/configuration/configuration-settings.adoc @@ -3315,8 +3315,7 @@ The default value of the `server.metrics.filter` was changed in Neo4j 2025.03 an For details, refer to the xref:changes-deprecations-removals.adoc#_configuration_settings_2[Changes, deprecations, and removals in Neo4j 2025.x]. ==== -[role=label--new-2025.10] -[role=label--enterprise-edition] +[role=label--enterprise-edition label--new-2025.10] [[config_server.metrics.deny_filter]] === server.metrics.deny_filter .server.metrics.deny_filter From 95ea332e5cf3a1188dbf0c343efe16bce7b83774 Mon Sep 17 00:00:00 2001 From: Reneta Popova Date: Tue, 30 Sep 2025 12:24:46 +0200 Subject: [PATCH 3/4] Update modules/ROOT/pages/configuration/configuration-settings.adoc Co-authored-by: Natalia Ivakina <82437520+NataliaIvakina@users.noreply.github.com> --- modules/ROOT/pages/configuration/configuration-settings.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/ROOT/pages/configuration/configuration-settings.adoc b/modules/ROOT/pages/configuration/configuration-settings.adoc index 98ef5d6c1..44413fd4a 100644 --- a/modules/ROOT/pages/configuration/configuration-settings.adoc +++ b/modules/ROOT/pages/configuration/configuration-settings.adoc @@ -3317,7 +3317,7 @@ For details, refer to the xref:changes-deprecations-removals.adoc#_configuration [role=label--enterprise-edition label--new-2025.10] [[config_server.metrics.deny_filter]] -=== server.metrics.deny_filter +=== `server.metrics.deny_filter` .server.metrics.deny_filter [frame="topbot", stripes=odd, grid="cols", cols="<1s,<4"] |=== From 50bd7269bbba1f29653b743ca5d856dccb9ee316 Mon Sep 17 00:00:00 2001 From: Reneta Popova Date: Wed, 1 Oct 2025 10:39:40 +0100 Subject: [PATCH 4/4] update the description to match the codebase --- modules/ROOT/pages/configuration/configuration-settings.adoc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/ROOT/pages/configuration/configuration-settings.adoc b/modules/ROOT/pages/configuration/configuration-settings.adoc index 44413fd4a..0c2e1a1ed 100644 --- a/modules/ROOT/pages/configuration/configuration-settings.adoc +++ b/modules/ROOT/pages/configuration/configuration-settings.adoc @@ -3322,9 +3322,9 @@ For details, refer to the xref:changes-deprecations-removals.adoc#_configuration [frame="topbot", stripes=odd, grid="cols", cols="<1s,<4"] |=== |Description -a|Specifies which metrics should be disabled by using a comma separated list of globbing patterns. Overrides the enabled metrics of server.metrics.filter. For example if server.metrics.filter contains neo4j.page_cache.* and server.metrics.deny_filter contains `neo4j.page_cache.page_faults` will enable all pagecache metrics, except that the pagecache page_faults metric will be disabled. +a|Specifies which metrics should be disabled by using a comma-separated list of globbing patterns. Overrides the enabled metrics of `server.metrics.filter`. For example, if `server.metrics.filter` contains `neo4j.page_cache.*` and `server.metrics.deny_filter` contains `neo4j.page_cache.page_faults`, it will enable all pagecache metrics, except the `neo4j.page_cache.page_faults` metric. |Valid values -a|A comma-separated list where each element is A simple globbing pattern that can use * and ?.. +a|A comma-separated list where each element is A simple globbing pattern that can use `*` and `?`.. |Default value m|++++++ |===