Add "ray status" debug tool for autoscaler. (#9091)

This commit is contained in:
Eric Liang
2020-06-24 18:22:03 -07:00
committed by GitHub
parent 80bcbe20c7
commit 0ff24ec8dc
8 changed files with 87 additions and 20 deletions
+4
View File
@@ -14,6 +14,10 @@ REQUIRED, OPTIONAL = True, False
RAY_SCHEMA_PATH = os.path.join(
os.path.dirname(ray.autoscaler.__file__), "ray-schema.json")
# Internal kv keys for storing debug status.
DEBUG_AUTOSCALING_ERROR = "__autoscaling_error"
DEBUG_AUTOSCALING_STATUS = "__autoscaling_status"
class ConcurrentCounter:
def __init__(self):