From ac130697f5d3c205a96b0f9e4730bd3237366ff0 Mon Sep 17 00:00:00 2001 From: Lita Cho Date: Sun, 26 Nov 2017 15:55:36 -0800 Subject: [PATCH] Add Docs for Prometheus Stats (#268) Signed-off-by: Lita Cho --- docs/root/operations/admin.rst | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/docs/root/operations/admin.rst b/docs/root/operations/admin.rst index 8b5f5ae7..a60ee7c7 100644 --- a/docs/root/operations/admin.rst +++ b/docs/root/operations/admin.rst @@ -141,3 +141,9 @@ The fields are: .. http:get:: /stats?format=json Outputs /stats in JSON format. This can be used for programmatic access of stats. + + .. http:get:: /stats?format=prometheus + + Outputs /stats in `Prometheus `_ + v0.0.4 format. This can be used to integrate with a Prometheus server. Currently, only counters and + gauges are outputed. Histograms will be outputed in a future update.