|
50 | 50 | #include "ray/stats/metric_defs.h" |
51 | 51 | #include "ray/util/cmd_line_utils.h" |
52 | 52 | #include "ray/util/event.h" |
53 | | -#include "ray/util/event_label.h" |
54 | 53 | #include "ray/util/util.h" |
55 | 54 |
|
56 | 55 | namespace { |
@@ -1455,7 +1454,7 @@ void NodeManager::DisconnectClient(const std::shared_ptr<ClientConnection> &clie |
1455 | 1454 | << rpc::WorkerExitType_Name(disconnect_type) |
1456 | 1455 | << " Worker exit detail: " << disconnect_detail; |
1457 | 1456 | std::string error_message_str = error_message.str(); |
1458 | | - RAY_EVENT(ERROR, EL_RAY_WORKER_FAILURE) |
| 1457 | + RAY_EVENT(ERROR, "RAY_WORKER_FAILURE") |
1459 | 1458 | .WithField("worker_id", worker->WorkerId().Hex()) |
1460 | 1459 | .WithField("node_id", self_node_id_.Hex()) |
1461 | 1460 | .WithField("job_id", worker->GetAssignedJobId().Hex()) |
@@ -1484,7 +1483,7 @@ void NodeManager::DisconnectClient(const std::shared_ptr<ClientConnection> &clie |
1484 | 1483 | RAY_LOG(INFO).WithField(worker->WorkerId()).WithField(worker->GetAssignedJobId()) |
1485 | 1484 | << "Driver (pid=" << worker->GetProcess().GetId() << ") is disconnected."; |
1486 | 1485 | if (disconnect_type == rpc::WorkerExitType::SYSTEM_ERROR) { |
1487 | | - RAY_EVENT(ERROR, EL_RAY_DRIVER_FAILURE) |
| 1486 | + RAY_EVENT(ERROR, "RAY_DRIVER_FAILURE") |
1488 | 1487 | .WithField("node_id", self_node_id_.Hex()) |
1489 | 1488 | .WithField("job_id", worker->GetAssignedJobId().Hex()) |
1490 | 1489 | << "Driver " << worker->WorkerId() << " died. Address: " << worker->IpAddress() |
|
0 commit comments