You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@couchdb.apache.org by "pgj (via GitHub)" <gi...@apache.org> on 2023/09/19 12:08:42 UTC

[GitHub] [couchdb] pgj commented on a diff in pull request #4766: Add `smoosh:status/1` to HTTP API

pgj commented on code in PR #4766:
URL: https://github.com/apache/couchdb/pull/4766#discussion_r1330018636


##########
src/docs/src/api/server/common.rst:
##########
@@ -1902,6 +1902,114 @@ See :ref:`Configuration of Prometheus Endpoint <config/prometheus>` for details.
         Accept: text/plain
         Host: localhost:17986
 
+.. _api/server/smoosh/status:
+
+=====================================
+``/_node/{node-name}/_smoosh/status``
+=====================================
+
+.. versionadded:: 3.4
+
+.. http:get:: /_node/{node-name}/_smoosh/status
+    :synopsis: Returns metrics of the CouchDB's auto-compaction daemon
+
+    This prints the state of each channel, how many jobs they are

Review Comment:
   Just a minor (general) nit.  I think it could make sense if specific identifiers or names, such as "smoosh", "ratio_dbs", "ratio_views", "slack_dbs", and "slack_views" were made to be rendered with monospaced fonts, i.e. marked down as ``smoosh`` and so on.  This can help the reader of the documentation to identify those names in the text easier and improve the readability.  



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@couchdb.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org