mirror of
https://github.com/vale981/ray
synced 2025-03-06 10:31:39 -05:00
[serve] Count -> Counter (#14571)
This commit is contained in:
parent
0f3530da3b
commit
55a28cee52
1 changed files with 2 additions and 2 deletions
|
@ -201,14 +201,14 @@ class RayServeReplica:
|
|||
LongPollKey.BACKEND_CONFIGS: self._update_backend_configs,
|
||||
})
|
||||
|
||||
self.error_counter = metrics.Count(
|
||||
self.error_counter = metrics.Counter(
|
||||
"serve_backend_error_counter",
|
||||
description=("The number of exceptions that have "
|
||||
"occurred in the backend."),
|
||||
tag_keys=("backend", ))
|
||||
self.error_counter.set_default_tags({"backend": self.backend_tag})
|
||||
|
||||
self.restart_counter = metrics.Count(
|
||||
self.restart_counter = metrics.Counter(
|
||||
"serve_backend_replica_starts",
|
||||
description=("The number of times this replica "
|
||||
"has been restarted due to failure."),
|
||||
|
|
Loading…
Add table
Reference in a new issue