[
https://issues.apache.org/jira/browse/SOLR-17628?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17987979#comment-17987979
]
Jude Muriithi commented on SOLR-17628:
--------------------------------------
Output of {{{}/solr/admin/metrics?wt=xml{}}}:
{code:xml}
<lst name="QUERY./select.requestTimes">
<long name="count">2</long>
<double name="meanRate">0.009854762080895245</double>
<double name="1minRate">0.030703655021877174</double>
<double name="5minRate">0.0065567799035988195</double>
<double name="15minRate">0.002209922141215539</double>
<double name="min_ms">2.622125</double>
<double name="max_ms">28.445291</double>
<double name="mean_ms">15.340048779223693</double>
<double name="median_ms">2.622125</double>
<double name="stddev_ms">12.910130583076892</double>
<double name="p75_ms">28.445291</double>
<double name="p95_ms">28.445291</double>
<double name="p99_ms">28.445291</double>
<double name="p999_ms">28.445291</double>
</lst>
{code}
Output of {{/solr/admin/metrics?wt=prometheus}} after this PR:
{code:yaml}
solr_metrics_core_request_time_ms{category="QUERY",collection="example-collection",core="core_example-collection_shard1_replica_n4",handler="/select",replica="replica_n4",shard="shard1",quantile="0.5"}
2.622125
solr_metrics_core_request_time_ms{category="QUERY",collection="example-collection",core="core_example-collection_shard1_replica_n4",handler="/select",replica="replica_n4",shard="shard1",quantile="0.75"}
28.445291
solr_metrics_core_request_time_ms{category="QUERY",collection="example-collection",core="core_example-collection_shard1_replica_n4",handler="/select",replica="replica_n4",shard="shard1",quantile="0.99"}
28.445291
solr_metrics_core_request_time_ms{category="QUERY",collection="example-collection",core="core_example-collection_shard1_replica_n4",handler="/select",replica="replica_n4",shard="shard1",quantile="0.999"}
28.445291
solr_metrics_core_request_time_ms_count{category="QUERY",collection="example-collection",core="core_example-collection_shard1_replica_n4",handler="/select",replica="replica_n4",shard="shard1"}
2
solr_metrics_core_request_time_ms_sum{category="QUERY",collection="example-collection",core="core_example-collection_shard1_replica_n4",handler="/select",replica="replica_n4",shard="shard1"}
31.067416
{code}
> Add query quantiles metrics to prometheus endpoint
> ---------------------------------------------------
>
> Key: SOLR-17628
> URL: https://issues.apache.org/jira/browse/SOLR-17628
> Project: Solr
> Issue Type: Improvement
> Components: metrics
> Reporter: Matthew Biscocho
> Priority: Major
> Labels: pull-request-available
> Time Spent: 1h 10m
> Remaining Estimate: 0h
>
> When exposing prometheus metrics with SOLR-10654 exporting metrics was mostly
> straight forward except for query metric quantiles. Things such as average
> request times exists with the current prometheus internal formatters. But
> Dropwizard gauges can have more complex types in their data structures and
> quantiles fell in that bucket so at the time, exporting these quantiles
> wasn't straight forward. I think these metrics would be very beneficial to
> finally add in and export.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]