|
|
@ -141,3 +141,9 @@ The fields are: |
|
|
|
.. http:get:: /stats?format=json |
|
|
|
.. http:get:: /stats?format=json |
|
|
|
|
|
|
|
|
|
|
|
Outputs /stats in JSON format. This can be used for programmatic access of stats. |
|
|
|
Outputs /stats in JSON format. This can be used for programmatic access of stats. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
.. http:get:: /stats?format=prometheus |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Outputs /stats in `Prometheus <https://prometheus.io/docs/instrumenting/exposition_formats/>`_ |
|
|
|
|
|
|
|
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. |
|
|
|