Skip to content

Commit

Permalink
Merge pull request #334 from TeskaLabs/doc/fix-metrics
Browse files Browse the repository at this point in the history
fix documentation - watch_metrics
  • Loading branch information
ateska authored Jan 18, 2023
2 parents 9850688 + e79c383 commit 4bb81e4
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 4bb81e4

Please sign in to comment.