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:22 UTC

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

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">>}