[jira] [Updated] (SOLR-7159) Add httpclient connection stats to JMX report
[ https://issues.apache.org/jira/browse/SOLR-7159?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Vamsee Yarlagadda updated SOLR-7159: Attachment: (was: Screen Shot 2015-02-25 at 2.05.45 PM.png) Add httpclient connection stats to JMX report - Key: SOLR-7159 URL: https://issues.apache.org/jira/browse/SOLR-7159 Project: Solr Issue Type: Improvement Affects Versions: 4.10.3 Reporter: Vamsee Yarlagadda Priority: Minor Attachments: SOLR-7159.patch, SOLR-7159v2.patch, SOLR-7159v3.patch, Screen Shot 2015-02-25 at 2.05.34 PM.png, Screen Shot 2015-02-25 at 7.17.05 PM.png, Screen Shot 2015-02-25 at 7.18.17 PM.png, Screen Shot 2015-02-25 at 7.20.52 PM.png, Screen Shot 2015-02-25 at 7.21.09 PM.png, jmx-layout.png Currently, we are logging the stats of httpclient as part of debug level. bq. 2015-01-20 13:47:48,640 DEBUG org.apache.http.impl.conn.PoolingClientConnectionManager: Connection request: [route: {}-http://plh04.wil.csc.local:8983][total kept alive: 254; route allocated: 100 of 100; total allocated: 462 of 1] Instead, it would be good to expose these metrics via JMX for easy checking. -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org
[jira] [Updated] (SOLR-7159) Add httpclient connection stats to JMX report
[ https://issues.apache.org/jira/browse/SOLR-7159?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Vamsee Yarlagadda updated SOLR-7159: Attachment: Screen Shot 2015-02-25 at 7.21.09 PM.png Screen Shot 2015-02-25 at 7.20.52 PM.png Screen Shot 2015-02-25 at 7.18.17 PM.png Screen Shot 2015-02-25 at 7.17.05 PM.png SOLR-7159v3.patch Updated the patch to display: * httpclient stats as individual attributes instead of printing it as one long string. * query, update stats are moved from CORE to resective QUERYHANDLER, UPDATEHANDLER category. Screen shots attached to show how the JMX and Solr admin UI looks like with these stats. Add httpclient connection stats to JMX report - Key: SOLR-7159 URL: https://issues.apache.org/jira/browse/SOLR-7159 Project: Solr Issue Type: Improvement Affects Versions: 4.10.3 Reporter: Vamsee Yarlagadda Priority: Minor Attachments: SOLR-7159.patch, SOLR-7159v2.patch, SOLR-7159v3.patch, Screen Shot 2015-02-25 at 2.05.34 PM.png, Screen Shot 2015-02-25 at 7.17.05 PM.png, Screen Shot 2015-02-25 at 7.18.17 PM.png, Screen Shot 2015-02-25 at 7.20.52 PM.png, Screen Shot 2015-02-25 at 7.21.09 PM.png, jmx-layout.png Currently, we are logging the stats of httpclient as part of debug level. bq. 2015-01-20 13:47:48,640 DEBUG org.apache.http.impl.conn.PoolingClientConnectionManager: Connection request: [route: {}-http://plh04.wil.csc.local:8983][total kept alive: 254; route allocated: 100 of 100; total allocated: 462 of 1] Instead, it would be good to expose these metrics via JMX for easy checking. -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org
[jira] [Updated] (SOLR-7159) Add httpclient connection stats to JMX report
[ https://issues.apache.org/jira/browse/SOLR-7159?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Vamsee Yarlagadda updated SOLR-7159: Attachment: SOLR-7159v2.patch Screen Shot 2015-02-25 at 2.05.45 PM.png Screen Shot 2015-02-25 at 2.05.34 PM.png [~elyograg] Thanks for the feedback. * Updated my patch to refer to the trunk. * The reason why i ended up putting under core is because every core instance has its own update and query httpclients. So i thought having it as part of core stats makes more sense. I am open for more feedback here. * I followed this wiki (https://wiki.apache.org/solr/SolrJmx) to see the JMX stats (latest screenshots attached) * Looks like even Solr admin web ui uses the MBeans to populate the stats. That being said, the existing patch also shows stats on the solr web ui :) (screenshot attached) Add httpclient connection stats to JMX report - Key: SOLR-7159 URL: https://issues.apache.org/jira/browse/SOLR-7159 Project: Solr Issue Type: Improvement Affects Versions: 4.10.3 Reporter: Vamsee Yarlagadda Priority: Minor Attachments: SOLR-7159.patch, SOLR-7159v2.patch, Screen Shot 2015-02-25 at 2.05.34 PM.png, Screen Shot 2015-02-25 at 2.05.45 PM.png Currently, we are logging the stats of httpclient as part of debug level. bq. 2015-01-20 13:47:48,640 DEBUG org.apache.http.impl.conn.PoolingClientConnectionManager: Connection request: [route: {}-http://plh04.wil.csc.local:8983][total kept alive: 254; route allocated: 100 of 100; total allocated: 462 of 1] Instead, it would be good to expose these metrics via JMX for easy checking. -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org
[jira] [Updated] (SOLR-7159) Add httpclient connection stats to JMX report
[ https://issues.apache.org/jira/browse/SOLR-7159?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Vamsee Yarlagadda updated SOLR-7159: Attachment: (was: Screen Shot 2015-02-25 at 3.37.06 AM.png) Add httpclient connection stats to JMX report - Key: SOLR-7159 URL: https://issues.apache.org/jira/browse/SOLR-7159 Project: Solr Issue Type: Improvement Affects Versions: 4.10.3 Reporter: Vamsee Yarlagadda Priority: Minor Attachments: SOLR-7159.patch, SOLR-7159v2.patch, Screen Shot 2015-02-25 at 2.05.34 PM.png, Screen Shot 2015-02-25 at 2.05.45 PM.png Currently, we are logging the stats of httpclient as part of debug level. bq. 2015-01-20 13:47:48,640 DEBUG org.apache.http.impl.conn.PoolingClientConnectionManager: Connection request: [route: {}-http://plh04.wil.csc.local:8983][total kept alive: 254; route allocated: 100 of 100; total allocated: 462 of 1] Instead, it would be good to expose these metrics via JMX for easy checking. -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org
[jira] [Updated] (SOLR-7159) Add httpclient connection stats to JMX report
[ https://issues.apache.org/jira/browse/SOLR-7159?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Shawn Heisey updated SOLR-7159: --- Attachment: jmx-layout.png Attaching a screenshot of a JMX connection (using jconsole) that shows the layout on a 4.9.1 server with core selected and fully expanded. My thoughts: The ideal JMX layout I thought of would be very difficult to show in the admin UI, so perhaps httpclientQueryStats and httpclientUpdateStats can be siblings to core. The four values that you currently have in a single string could then be shown as separate Attributes. Add httpclient connection stats to JMX report - Key: SOLR-7159 URL: https://issues.apache.org/jira/browse/SOLR-7159 Project: Solr Issue Type: Improvement Affects Versions: 4.10.3 Reporter: Vamsee Yarlagadda Priority: Minor Attachments: SOLR-7159.patch, SOLR-7159v2.patch, Screen Shot 2015-02-25 at 2.05.34 PM.png, Screen Shot 2015-02-25 at 2.05.45 PM.png, jmx-layout.png Currently, we are logging the stats of httpclient as part of debug level. bq. 2015-01-20 13:47:48,640 DEBUG org.apache.http.impl.conn.PoolingClientConnectionManager: Connection request: [route: {}-http://plh04.wil.csc.local:8983][total kept alive: 254; route allocated: 100 of 100; total allocated: 462 of 1] Instead, it would be good to expose these metrics via JMX for easy checking. -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org
[jira] [Updated] (SOLR-7159) Add httpclient connection stats to JMX report
[ https://issues.apache.org/jira/browse/SOLR-7159?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Vamsee Yarlagadda updated SOLR-7159: Attachment: SOLR-7159v4.patch Updated the patch with recommended code style. [~markrmil...@gmail.com] Let me know if they if there is still something specifically wrong with the formatting. Add httpclient connection stats to JMX report - Key: SOLR-7159 URL: https://issues.apache.org/jira/browse/SOLR-7159 Project: Solr Issue Type: Improvement Affects Versions: 4.10.3 Reporter: Vamsee Yarlagadda Priority: Minor Attachments: SOLR-7159.patch, SOLR-7159v2.patch, SOLR-7159v3.patch, SOLR-7159v4.patch, Screen Shot 2015-02-25 at 2.05.34 PM.png, Screen Shot 2015-02-25 at 7.17.05 PM.png, Screen Shot 2015-02-25 at 7.18.17 PM.png, Screen Shot 2015-02-25 at 7.20.52 PM.png, Screen Shot 2015-02-25 at 7.21.09 PM.png, jmx-layout.png Currently, we are logging the stats of httpclient as part of debug level. bq. 2015-01-20 13:47:48,640 DEBUG org.apache.http.impl.conn.PoolingClientConnectionManager: Connection request: [route: {}-http://plh04.wil.csc.local:8983][total kept alive: 254; route allocated: 100 of 100; total allocated: 462 of 1] Instead, it would be good to expose these metrics via JMX for easy checking. -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org
[jira] [Updated] (SOLR-7159) Add httpclient connection stats to JMX report
[ https://issues.apache.org/jira/browse/SOLR-7159?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Vamsee Yarlagadda updated SOLR-7159: Attachment: Screen Shot 2015-02-25 at 3.37.06 AM.png SOLR-7159.patch Here is the first draft of the patch. As per the latest 4.10 release, we have two separate http connection pools - UpdateShardHandler (handles all the updates) and HttpShardHandler/HttpShardHandlerFactory (handles all queries). And these two classes are created for every core setup. So i ended up adding the logic to the existing MBean of every core to display the httpclient connection stats. (Screenshot attached). Kindly let me know with any suggestions or comments. I will refine the patch accordingly. Add httpclient connection stats to JMX report - Key: SOLR-7159 URL: https://issues.apache.org/jira/browse/SOLR-7159 Project: Solr Issue Type: Improvement Affects Versions: 4.10.3 Reporter: Vamsee Yarlagadda Priority: Minor Attachments: SOLR-7159.patch, Screen Shot 2015-02-25 at 3.37.06 AM.png Currently, we are logging the stats of httpclient as part of debug level. bq. 2015-01-20 13:47:48,640 DEBUG org.apache.http.impl.conn.PoolingClientConnectionManager: Connection request: [route: {}-http://plh04.wil.csc.local:8983][total kept alive: 254; route allocated: 100 of 100; total allocated: 462 of 1] Instead, it would be good to expose these metrics via JMX for easy checking. -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org