forked from ray-project/ray
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[serve] Move
num_queued_queries
logic out of ReplicaSet
and into …
…`Router` (ray-project#35436) Centralizes all of the metrics definitions in one place, makes the `ReplicaSet` simpler. I plan to implement a new `ReplicaSet` for streaming and don't want to duplicate the metrics handling. Also fixes a metrics bug: the `route` is dynamic and we are setting it as a tag for a global gauge. Removed that tag.
- Loading branch information
Showing
2 changed files
with
38 additions
and
44 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters