mirror of
https://github.com/wassname/ray.git
synced 2026-07-08 22:55:05 +08:00
Bump dev branch to 2.0 to avoid endless version bump toil (#13497)
* wip * fix * fix
This commit is contained in:
@@ -155,7 +155,7 @@ CoreWorkerProcess::CoreWorkerProcess(const CoreWorkerOptions &options)
|
||||
RAY_LOG(DEBUG) << "Stats setup in core worker.";
|
||||
// Initialize stats in core worker global tags.
|
||||
const ray::stats::TagsType global_tags = {{ray::stats::ComponentKey, "core_worker"},
|
||||
{ray::stats::VersionKey, "1.2.0.dev0"}};
|
||||
{ray::stats::VersionKey, "2.0.0.dev0"}};
|
||||
|
||||
// NOTE(lingxuan.zlx): We assume RayConfig is initialized before it's used.
|
||||
// RayConfig is generated in Java_io_ray_runtime_RayNativeRuntime_nativeInitialize
|
||||
|
||||
@@ -61,7 +61,7 @@ int main(int argc, char *argv[]) {
|
||||
RayConfig::instance().initialize(config_map);
|
||||
const ray::stats::TagsType global_tags = {
|
||||
{ray::stats::ComponentKey, "gcs_server"},
|
||||
{ray::stats::VersionKey, "1.2.0.dev0"},
|
||||
{ray::stats::VersionKey, "2.0.0.dev0"},
|
||||
{ray::stats::NodeAddressKey, node_ip_address}};
|
||||
ray::stats::Init(global_tags, metrics_agent_port);
|
||||
|
||||
|
||||
@@ -262,7 +262,7 @@ int main(int argc, char *argv[]) {
|
||||
// Initialize stats.
|
||||
const ray::stats::TagsType global_tags = {
|
||||
{ray::stats::ComponentKey, "raylet"},
|
||||
{ray::stats::VersionKey, "1.2.0.dev0"},
|
||||
{ray::stats::VersionKey, "2.0.0.dev0"},
|
||||
{ray::stats::NodeAddressKey, node_ip_address}};
|
||||
ray::stats::Init(global_tags, metrics_agent_port);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user