aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGeir Storli <geirst@oath.com>2018-05-15 13:44:09 +0200
committerGeir Storli <geirst@oath.com>2018-05-15 13:44:09 +0200
commit8272f7bc35e4d812045971319454d299da6bc360 (patch)
treeecba447bc61a620297953fe28fac30e1d2a3e0c2
parenta33ad1f617968549d69a8aca7a80b371db4c12c3 (diff)
Expose some proton matching metrics.
-rw-r--r--config-model/src/main/java/com/yahoo/vespa/model/admin/monitoring/VespaMetricSet.java12
1 files changed, 11 insertions, 1 deletions
diff --git a/config-model/src/main/java/com/yahoo/vespa/model/admin/monitoring/VespaMetricSet.java b/config-model/src/main/java/com/yahoo/vespa/model/admin/monitoring/VespaMetricSet.java
index 3b73cd5c809..6467199d9f9 100644
--- a/config-model/src/main/java/com/yahoo/vespa/model/admin/monitoring/VespaMetricSet.java
+++ b/config-model/src/main/java/com/yahoo/vespa/model/admin/monitoring/VespaMetricSet.java
@@ -218,7 +218,7 @@ public class VespaMetricSet {
metrics.add(new Metric("content.proton.documentdb.job.lid_space_compact.average"));
metrics.add(new Metric("content.proton.documentdb.job.removed_documents_prune.average"));
- // Threading service
+ // Threading service
metrics.add(new Metric("content.proton.documentdb.threading_service.master.maxpending.last"));
metrics.add(new Metric("content.proton.documentdb.threading_service.index.maxpending.last"));
metrics.add(new Metric("content.proton.documentdb.threading_service.summary.maxpending.last"));
@@ -292,6 +292,16 @@ public class VespaMetricSet {
metrics.add(new Metric("content.proton.documentdb.index.memory_usage.dead_bytes.average"));
metrics.add(new Metric("content.proton.documentdb.index.memory_usage.onhold_bytes.average"));
+ // matching
+ metrics.add(new Metric("content.proton.documentdb.matching.queries.rate"));
+ metrics.add(new Metric("content.proton.documentdb.matching.query_latency.average"));
+ metrics.add(new Metric("content.proton.documentdb.matching.query_collateral_time.average"));
+ metrics.add(new Metric("content.proton.documentdb.matching.docs_matched.average"));
+ metrics.add(new Metric("content.proton.documentdb.matching.rank_profile.queries.rate"));
+ metrics.add(new Metric("content.proton.documentdb.matching.rank_profile.query_collateral_time.average"));
+ metrics.add(new Metric("content.proton.documentdb.matching.rank_profile.query_latency.average"));
+ metrics.add(new Metric("content.proton.documentdb.matching.rank_profile.docs_matched.average"));
+
return metrics;
}