[Stats] metrics agent exporter (#9361)

This commit is contained in:
SangBin Cho
2020-07-14 09:49:16 -07:00
committed by GitHub
parent 5b192842b5
commit f6eb47fc1f
18 changed files with 247 additions and 61 deletions
+3
View File
@@ -87,6 +87,7 @@ class RayParams:
Java worker.
java_worker_options (list): The command options for Java worker.
load_code_from_local: Whether load code from local file or from GCS.
metrics_agent_port(int): The port to bind metrics agent.
_internal_config (str): JSON configuration for overriding
RayConfig defaults. For testing purposes ONLY.
lru_evict (bool): Enable LRU eviction if space is needed.
@@ -132,6 +133,7 @@ class RayParams:
java_worker_options=None,
load_code_from_local=False,
_internal_config=None,
metrics_agent_port=None,
lru_evict=False):
self.object_ref_seed = object_ref_seed
self.redis_address = redis_address
@@ -169,6 +171,7 @@ class RayParams:
self.include_java = include_java
self.java_worker_options = java_worker_options
self.load_code_from_local = load_code_from_local
self.metrics_agent_port = metrics_agent_port
self._internal_config = _internal_config
self._lru_evict = lru_evict
self._check_usage()