[ 
https://issues.apache.org/jira/browse/SOLR-16986?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17807864#comment-17807864
 ] 

ASF subversion and git services commented on SOLR-16986:
--------------------------------------------------------

Commit 16e4c239cc9a7bedd11733d8b80183f59ab9252f in solr's branch 
refs/heads/main from gbellaton
[ https://gitbox.apache.org/repos/asf?p=solr.git;h=16e4c239cc9 ]

SOLR-16986: log cpuTime of requests (#2118)

Log CPU time per request via solr.log.cputime

> Measure and aggregate thread CPU time in distributed search
> -----------------------------------------------------------
>
>                 Key: SOLR-16986
>                 URL: https://issues.apache.org/jira/browse/SOLR-16986
>             Project: Solr
>          Issue Type: New Feature
>            Reporter: David Smiley
>            Priority: Major
>          Time Spent: 2h 20m
>  Remaining Estimate: 0h
>
> Solr responses include "QTime", which in retrospect might have been better 
> named "elapsedTime".  We propose adding here a "cpuTime" to return the amount 
> of time consumed by 
> ManagementFactory.getThreadMXBean().[getThreadCpuTime|https://docs.oracle.com/en/java/javase/11/docs/api/java.management/java/lang/management/ThreadMXBean.html]().
>   Unlike QTime, this will need to be aggregated across distributed requests.  
> This work item will only do the aggregation work for distributed search, 
> although it could be extended for other scenarios in future work items.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@solr.apache.org
For additional commands, e-mail: issues-h...@solr.apache.org

Reply via email to