Skip to content

Commit

Permalink
[Serve] Remove ray_serve_controller_num_starts metric (ray-project#…
Browse files Browse the repository at this point in the history
…43885)

* Keep num_start_counter in memory

Signed-off-by: Shreyas Krishnaswamy <[email protected]>

* Remove serve_controller_num_starts metric

Signed-off-by: Shreyas Krishnaswamy <[email protected]>

---------

Signed-off-by: Shreyas Krishnaswamy <[email protected]>
  • Loading branch information
shrekris-anyscale authored Mar 12, 2024
1 parent 9628a2f commit 37751f1
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions python/ray/serve/_private/controller.py
Original file line number Diff line number Diff line change
Expand Up @@ -209,12 +209,6 @@ async def __init__(
self._proxy_nodes = set()
self._update_proxy_nodes()

# Track the number of times the controller has started
metrics.Counter(
"serve_controller_num_starts",
description="The number of times the controller has started.",
).inc()

def reconfigure_global_logging_config(self, global_logging_config: LoggingConfig):
if (
self.global_logging_config
Expand Down

0 comments on commit 37751f1

Please sign in to comment.