[Stats] Metrics Export User Interface Part 2 (Prometheus Service Discovery) (#9970)

* In progress.

* In Progress.

* Finish the working version.

* Write a documentation.

* Addressed code review.

* Fix lint error.

* Lint.

* Addressed code review. Make test less flaky.

* Use a random port for ray start.

* Modify doc.

* Make write atomic.
This commit is contained in:
SangBin Cho
2020-08-07 21:59:24 -07:00
committed by GitHub
parent d3cde16163
commit 39088ab6f2
6 changed files with 150 additions and 2 deletions
+1 -1
View File
@@ -350,7 +350,7 @@ def dashboard(cluster_config_file, cluster_name, port, remote_port):
@click.option(
"--metrics-export-port",
type=int,
default=8080,
default=None,
help="the port to use to expose Ray metrics through a "
"Prometheus endpoint.")
def start(node_ip_address, redis_address, address, redis_port, port,