Add more accurate metric descriptions.
@@ -131,7 +131,7 @@ DocumentDBTaggedMetrics::MatchingMetrics::MatchingMetrics(MetricSet *parent)
queries("queries", {}, "Number of queries executed", this),
softDoomFactor("soft_doom_factor", {}, "Factor used to compute soft-timeout", this),
queryCollateralTime("query_collateral_time", {}, "Average time (sec) spent setting up and tearing down queries", this),
- queryLatency("query_latency", {}, "Average latency (sec) when matching a query", this)
+ queryLatency("query_latency", {}, "Total average latency (sec) when matching and ranking a query", this)
{
}
@@ -146,11 +146,11 @@ DocumentDBTaggedMetrics::MatchingMetrics::RankProfileMetrics::RankProfileMetrics
docsReRanked("docs_reranked", {}, "Number of documents re-ranked (second phase)", this),
queries("queries", {}, "Number of queries executed", this),
limitedQueries("limited_queries", {}, "Number of queries limited in match phase", this),
- matchTime("match_time", {}, "Average time (sec) for matching a query", this),
+ matchTime("match_time", {}, "Average time (sec) for matching a query (1st phase)", this),
groupingTime("grouping_time", {}, "Average time (sec) spent on grouping", this),
rerankTime("rerank_time", {}, "Average time (sec) spent on 2nd phase ranking", this),
queryCollateralTime("query_collateral_time", {}, "Average time (sec) spent setting up and tearing down queries", this),
- queryLatency("query_latency", {}, "Average latency (sec) when matching a query", this)
+ queryLatency("query_latency", {}, "Total average latency (sec) when matching and ranking a query", this)
{
for (size_t i = 0; i < numDocIdPartitions; ++i) {
vespalib::string partition(vespalib::make_string("docid_part%02ld", i));
