aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHenning Baldersheim <balder@yahoo-inc.com>2018-05-15 13:47:35 +0200
committerGitHub <noreply@github.com>2018-05-15 13:47:35 +0200
commit1d1b67994d766e46ccb59cc1fa6a26942978f247 (patch)
tree511576c0105e08b71e2ead7030ef28febd6ec294
parentaffb11ab9e61c818971bae93b04995be4e142e30 (diff)
parent8272f7bc35e4d812045971319454d299da6bc360 (diff)
Merge pull request #5875 from vespa-engine/geirst/expose-some-proton-matching-metrics
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;
}