aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArne Juul <arnej@yahooinc.com>2023-02-20 13:07:14 +0000
committerArne Juul <arnej@yahooinc.com>2023-02-20 13:07:14 +0000
commitc47df9df526a893664ef5fa2ae8fb731af82daae (patch)
tree742edda065318e1546433e4fbec474f9db09d9f2
parent6fbe62ee9de7b58310375c3bb75b25852650fe82 (diff)
rename metric to config.generation
-rw-r--r--container-core/src/main/java/com/yahoo/metrics/SearchNodeMetrics.java2
-rw-r--r--searchcore/src/vespa/searchcore/proton/metrics/content_proton_metrics.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/container-core/src/main/java/com/yahoo/metrics/SearchNodeMetrics.java b/container-core/src/main/java/com/yahoo/metrics/SearchNodeMetrics.java
index 285c3a652bf..9f3b172ebc1 100644
--- a/container-core/src/main/java/com/yahoo/metrics/SearchNodeMetrics.java
+++ b/container-core/src/main/java/com/yahoo/metrics/SearchNodeMetrics.java
@@ -7,7 +7,7 @@ import java.util.List;
*/
public enum SearchNodeMetrics implements VespaMetrics {
- CONTENT_PROTON_CONFIG_GENERATION("content.proton.config_generation", Unit.VERSION, "The oldest config generation used by this search node"),
+ CONTENT_PROTON_CONFIG_GENERATION("content.proton.config.generation", Unit.VERSION, "The oldest config generation used by this search node"),
CONTENT_PROTON_DOCUMENTDB_DOCUMENTS_TOTAL("content.proton.documentdb.documents.total", Unit.DOCUMENT, "The total number of documents in this documents db (ready + not-ready)"),
CONTENT_PROTON_DOCUMENTDB_DOCUMENTS_READY("content.proton.documentdb.documents.ready", Unit.DOCUMENT, "The number of ready documents in this document db"),
diff --git a/searchcore/src/vespa/searchcore/proton/metrics/content_proton_metrics.cpp b/searchcore/src/vespa/searchcore/proton/metrics/content_proton_metrics.cpp
index 7e9a5b0ee4a..9e9d51abd57 100644
--- a/searchcore/src/vespa/searchcore/proton/metrics/content_proton_metrics.cpp
+++ b/searchcore/src/vespa/searchcore/proton/metrics/content_proton_metrics.cpp
@@ -29,7 +29,7 @@ ContentProtonMetrics::ProtonExecutorMetrics::~ProtonExecutorMetrics() = default;
ContentProtonMetrics::ContentProtonMetrics()
: metrics::MetricSet("content.proton", {}, "Search engine metrics", nullptr),
- configGeneration("config_generation", {}, "The oldest config generation used by this process", this),
+ configGeneration("config.generation", {}, "The oldest config generation used by this process", this),
transactionLog(this),
resourceUsage(this),
executor(this),