Expose some proton matching metrics.
@@ -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;
}
