flimzy commented on a change in pull request #660:
URL: 
https://github.com/apache/couchdb-documentation/pull/660#discussion_r645116740



##########
File path: src/api/server/common.rst
##########
@@ -1586,6 +1586,76 @@ node, you can use:
 This returns an entire statistics object, as with the full request, but
 containing only the requested individual statistic.
 
+==================================
+``/_node/{node-name}/_prometheus``
+==================================
+
+.. http:get:: /_node/{node-name}/_prometheus
+    :synopsis: Returns server statistics in prometheus format
+
+    The ``_prometheus`` resource returns a text/plain response that 
consolidates our
+    `_stats`, `active_task`, and `_system` endpoints. The format is determined 
by

Review comment:
       ```suggestion
       ``_stats``, ``active_task``, and ``_system`` endpoints. The format is 
determined by
   ```
   
   Maybe link to the docs about these endpoints, too?

##########
File path: src/api/server/common.rst
##########
@@ -1586,6 +1586,76 @@ node, you can use:
 This returns an entire statistics object, as with the full request, but
 containing only the requested individual statistic.
 
+==================================
+``/_node/{node-name}/_prometheus``
+==================================
+
+.. http:get:: /_node/{node-name}/_prometheus
+    :synopsis: Returns server statistics in prometheus format
+
+    The ``_prometheus`` resource returns a text/plain response that 
consolidates our
+    `_stats`, `active_task`, and `_system` endpoints. The format is determined 
by
+    https://prometheus.io/docs/introduction/overview/. The format version is 
2.0.

Review comment:
       ```suggestion
       https://prometheus.io/docs/introduction/overview/. The format version is 
2.0.
   ```
   
   Make this URL a link, too?




-- 
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.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to