From e79c383358fd22dd516b43c63811d421fa8e2afb Mon Sep 17 00:00:00 2001 From: eliska Date: Wed, 18 Jan 2023 12:29:06 +0100 Subject: [PATCH] watch_metrics --- doc/asab/metrics.rst | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/doc/asab/metrics.rst b/doc/asab/metrics.rst index 37b16ec60..892cd4aaa 100644 --- a/doc/asab/metrics.rst +++ b/doc/asab/metrics.rst @@ -162,15 +162,16 @@ The **API Service** in ASAB offers several endpoints that monitor internal ASAB - Use this endpoint for developing or monitoring your app from the terminal. It returns a simple table of ASAB metrics. You can filter metrics by name using the ``filter`` parameter and ``tags`` parameter to show or hide tags. - *example commands:* + +*example commands:* .. code:: - watch curl localhost:8080/asab/v1/metrics_watch + watch curl localhost:8080/asab/v1/watch_metrics .. code:: - watch curl localhost:8080/asab/v1/metrics_watch?name=web_requests_duration_max,tags=True + watch curl localhost:8080/asab/v1/watch_metrics?name=web_requests_duration_max,tags=True HTTP Target