[Serve] Add ServeHandle metrics (#13640)

This commit is contained in:
architkulkarni
2021-01-28 12:40:47 -08:00
committed by GitHub
parent 4bc257f4fb
commit cb771f263d
5 changed files with 64 additions and 16 deletions
+4
View File
@@ -321,6 +321,10 @@ The following metrics are exposed by Ray Serve:
- The number of HTTP requests processed.
* - ``serve_num_router_requests``
- The number of requests processed by the router.
* - ``serve_handle_request_counter``
- The number of requests processed by this ServeHandle.
* - ``backend_queued_queries``
- The number of queries for this backend waiting to be assigned to a replica.
To see this in action, run ``ray start --head --metrics-export-port=8080`` in your terminal, and then run the following script: