Skip to content

Commit 93f1b00

Browse files
Add debug logging.
1 parent 30f8c40 commit 93f1b00

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

lib/async/service/supervisor/utilization_monitor.rb

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,8 @@ def read(worker_id)
134134
end
135135
end
136136

137+
Console.info(self, "Read utilization segment", worker_id: worker_id, offset: offset, values: result)
138+
137139
return result
138140
end
139141

@@ -240,7 +242,7 @@ def register(supervisor_controller)
240242
@allocator.update_schema(worker_id, schema)
241243
@workers[worker_id] = supervisor_controller
242244

243-
Console.info(self, "Registered worker utilization", worker_id: worker_id, offset: offset, schema: schema)
245+
Console.info(self, "Registered worker utilization", worker_id: worker_id, path: @path, segment_size: @segment_size, offset: offset, schema: schema)
244246
else
245247
# Worker didn't provide schema, free the allocation
246248
@allocator.free(worker_id)

0 commit comments

Comments
 (0)