lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Peter Wolanin (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (SOLR-232) let Solr set request headers (for logging)
Date Sun, 24 Apr 2011 17:07:05 GMT

     [ https://issues.apache.org/jira/browse/SOLR-232?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Peter Wolanin updated SOLR-232:
-------------------------------

    Attachment: SOLR-232.patch

Here's a patch against Solr 3.1 just as a proof of concept that adds the hits as a response
header X-Solr-Hits

Apparently this code has been commented out so long that the log call and other things changed.

> let Solr set request headers (for logging)
> ------------------------------------------
>
>                 Key: SOLR-232
>                 URL: https://issues.apache.org/jira/browse/SOLR-232
>             Project: Solr
>          Issue Type: New Feature
>         Environment: tomcat?
>            Reporter: Ian Holsman
>            Priority: Minor
>         Attachments: SOLR-232.patch, meta.patch
>
>
> I need the ability to log certain information about a request so that I can feed it into
performance and capacity monitoring systems.
> I would like to know things like
> - how long the request took 
> - how many rows were fetched and returned
> - what handler was called.
> per request.
> the following patch is 1 way to implement this, I'm sure there are better ways.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message