[ https://issues.apache.org/jira/browse/SOLR-3330?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ryan McKinley updated SOLR-3330: -------------------------------- Attachment: SOLR-3330-pluggins-diff.patch This is a quick sketch showing how we can use the SolrInfoMBeanHandler to output a speciall 'diff' format that will load (without changes!) in the current UI. Essentially the workflow is: 1. The UI takes a snapshot of a plugins response (needs to be XML string) 2. At some point in the future, you send a post to /admin/plugins?diff=true&stream.body=XML 3. The handler returns a modified response that only includes changed MBeans and makes the differences clear. For example, the stats response after one request will look like this: {code:xml} <lst name="stats"> <long name="handlerStart">1333695069323</long> <str name="requests">Was: 2, Now: 3, Delta: 1</str> <long name="errors">0</long> <long name="timeouts">0</long> <str name="totalTime">Was: 3, Now: 4, Delta: 1</str> <str name="avgTimePerRequest">Was: 1.5, Now: 1.3333334, Delta: -0.167</str> </lst> {code} > Show changes in plugin statistics across multiple requests > ---------------------------------------------------------- > > Key: SOLR-3330 > URL: https://issues.apache.org/jira/browse/SOLR-3330 > Project: Solr > Issue Type: New Feature > Components: web gui > Reporter: Ryan McKinley > Fix For: 4.0 > > Attachments: SOLR-3330-pluggins-diff.patch > > > When debugging configuration and performance, I often: > 1. Look at stats values > 2. run some queries > 3. See how the stats values changed > This is fine, but is often a bit clunky and you have to really know what you > are looking for to see any changes. > It would be great if the 'plugins' page had a button that would make this > easier -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org