From 1c44ff54ceabbf777428ea16cd9e1dde5260277c Mon Sep 17 00:00:00 2001
From: "Hahn Axel (hahn)" <axel.hahn@unibe.ch>
Date: Tue, 29 Aug 2023 16:45:40 +0200
Subject: [PATCH] update doc page

---
 docs/20_Checks/check_couchdb.md | 22 +++++++++++++++++++++-
 1 file changed, 21 insertions(+), 1 deletion(-)

diff --git a/docs/20_Checks/check_couchdb.md b/docs/20_Checks/check_couchdb.md
index 4c6ef97..8713680 100644
--- a/docs/20_Checks/check_couchdb.md
+++ b/docs/20_Checks/check_couchdb.md
@@ -18,7 +18,7 @@ Check couchdb status.
 ______________________________________________________________________
 
 CHECK_COUCHDB
-v0.5
+v0.6
 
 (c) Institute for Medical Education - University of Bern
 Licence: GNU GPL 3
@@ -44,6 +44,7 @@ OPTIONS:
   pending         show count of pending updates for nodes, dbs and users
   open_databases  show number of open databases
   open_os_files   show number of file descriptors CouchDB has open
+  httpd_methods   Show counters for http request methods
 
 EXAMPLE:
 check_couchdb -m up
@@ -204,3 +205,22 @@ Reponse: of /_node/_local/_stats/couchdb/open_os_files
 }
  |openosfiles=0;; 
 ```
+
+### httpd_methods
+
+Show counters for http request methods.
+
+``check_couchdb -m httpd_methods`` returns
+
+```txt
+OK: Couchdb :: Http request methods
+    Method    Counter     Delta
+      COPY          0          0 per sec
+    DELETE          1          0 per sec
+       GET     116122          1 per sec
+      HEAD          0          0 per sec
+   OPTIONS          0          0 per sec
+      POST          0          0 per sec
+       PUT          0          0 per sec
+ |copy=0;; delete=0;; get=1;; head=0;; options=0;; post=0;; put=0;; 
+```
\ No newline at end of file
-- 
GitLab