[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
View File
@@ -37,6 +37,7 @@ REDIS_MINIMUM_MEMORY_BYTES = 10**7
DEFAULT_PORT = 6379
DEFAULT_DASHBOARD_PORT = 8265
PROMETHEUS_SERVICE_DISCOVERY_FILE = "prom_metrics_service_discovery.json"
# Default resource requirements for actors when no resource requirements are
# specified.
DEFAULT_ACTOR_METHOD_CPU_SIMPLE = 1