You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by va...@apache.org on 2020/02/21 16:00:21 UTC

[couchdb] branch add-new-410-error-code-to-stats created (now d55226c)

This is an automated email from the ASF dual-hosted git repository.

vatamane pushed a change to branch add-new-410-error-code-to-stats
in repository https://gitbox.apache.org/repos/asf/couchdb.git.


      at d55226c  Add 410 status code to stats_descriptions

This branch includes the following new commits:

     new d55226c  Add 410 status code to stats_descriptions

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



[couchdb] 01/01: Add 410 status code to stats_descriptions

Posted by va...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

vatamane pushed a commit to branch add-new-410-error-code-to-stats
in repository https://gitbox.apache.org/repos/asf/couchdb.git

commit d55226cf9b33bb3f980108c749097cd0e273d93f
Author: Nick Vatamaniuc <va...@apache.org>
AuthorDate: Fri Feb 21 10:59:03 2020 -0500

    Add 410 status code to stats_descriptions
    
    We started to emit that in CouchDB 4.x for temporary views and possibly other
    endpoints.
---
 src/couch/priv/stats_descriptions.cfg | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/src/couch/priv/stats_descriptions.cfg b/src/couch/priv/stats_descriptions.cfg
index 0e22713..5b6f3c8 100644
--- a/src/couch/priv/stats_descriptions.cfg
+++ b/src/couch/priv/stats_descriptions.cfg
@@ -230,6 +230,10 @@
     {type, counter},
     {desc, <<"number of HTTP 409 Conflict responses">>}
 ]}.
+{[couchdb, httpd_status_codes, 410], [
+    {type, counter},
+    {desc, <<"number of HTTP 410 Gone responses">>}
+]}.
 {[couchdb, httpd_status_codes, 412], [
     {type, counter},
     {desc, <<"number of HTTP 412 Precondition Failed responses">>}