You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Erick Erickson (JIRA)" <ji...@apache.org> on 2016/05/23 20:42:12 UTC

[jira] [Commented] (SOLR-9136) Separate out the error statistics into server-side error vs client-side error

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

Erick Erickson commented on SOLR-9136:
--------------------------------------

Jessica:

I'm always in favor of returning more data to the user. I do have one question though in terms of existing installations. An installation that looked at "errors" will now see that value drop by "clientErrors".

Personally I think this is OK, it's easier to explain than "we didn't change 'errors' because...."

Hmmm, What do you (or others) think about returning "errors" as it is now (without patch), but 
having the patch break that up like this?

    lst.add("errors", numServerErrors.longValue() + numClientErrors.longValue());
    lst.add("clientErrors", numClientErrors.longValue());
    lst.add("serverErrors", numServerErrors.longValue());



That would leave existing behavior intact but provide the additional info.

I'm not so much recommending that as throwing it out there for discussion.

+1 generally though.


> Separate out the error statistics into server-side error vs client-side error
> -----------------------------------------------------------------------------
>
>                 Key: SOLR-9136
>                 URL: https://issues.apache.org/jira/browse/SOLR-9136
>             Project: Solr
>          Issue Type: Improvement
>            Reporter: Jessica Cheng Mallet
>            Priority: Minor
>         Attachments: SOLR-9136.patch
>
>
> Currently Solr counts both server-side errors (5xx) and client-side errors (4xx) under the same statistic "errors". Operationally it's beneficial to have those errors separated out so different teams can be alerted depending on if Solr is seeing lots of server errors vs. client errors.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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