Skip to content

Commit

Permalink
watch_metrics
Browse files Browse the repository at this point in the history
  • Loading branch information
eliska-n committed Jan 18, 2023
1 parent 9850688 commit e79c383
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions doc/asab/metrics.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e79c383

Please sign in to comment.