diff --git a/docs/root/intro/version_history.rst b/docs/root/intro/version_history.rst index a19dadb6..45122c8e 100644 --- a/docs/root/intro/version_history.rst +++ b/docs/root/intro/version_history.rst @@ -7,6 +7,7 @@ Version history ` support. The round robin scheduler now respects endpoint weights and also has improved fidelity across picks. +* admin: added ``/stats/prometheus`` as an alternative endpoint for getting stats in prometheus format. * logger: all :ref:`logging levels ` can be configured at run-time: trace debug info warning error critical. diff --git a/docs/root/operations/admin.rst b/docs/root/operations/admin.rst index e2ca6196..87249906 100644 --- a/docs/root/operations/admin.rst +++ b/docs/root/operations/admin.rst @@ -184,6 +184,10 @@ The fields are: .. http:get:: /stats?format=prometheus + or alternatively, + + .. http:get:: /stats/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 output. Histograms will be output in a future update.