feat: Add coordinator log viewer to cluster UI

- Created /api/cluster/logs endpoint to read coordinator.log
- Added real-time log display in cluster UI (updates every 3s)
- Shows last 100 lines of coordinator.log in terminal-style display
- Includes manual refresh button
- Improves debugging experience - no need to SSH for logs

User feedback: 'why dont we add the output of the log at the bottom of the page so i know whats going on'

This addresses poor visibility into coordinator errors and failures.
Next step: Fix SSH timeout issue blocking worker execution.
This commit is contained in:
mindesbunister
2025-12-01 11:49:23 +01:00
parent db33af9f17
commit 1f83a7d7c4
5 changed files with 727 additions and 36 deletions

View File

@@ -1,7 +1,7 @@
{
"chunk_id": "v9_chunk_000002",
"chunk_start": 20000,
"chunk_end": 30000,
"chunk_start": 4000,
"chunk_end": 4096,
"grid": {
"flip_thresholds": [
0.4,
@@ -43,40 +43,25 @@
10000
],
"tp1_multipliers": [
1.5,
2.0,
2.5
],
"tp2_multipliers": [
3.0,
4.0,
5.0
],
"sl_multipliers": [
2.5,
3.0,
3.5
],
"tp1_close_percents": [
50,
60,
70,
75
],
"trailing_multipliers": [
1.0,
1.5,
2.0
],
"tp2_multipliers": [
4.0
],
"sl_multipliers": [
3.0
],
"tp1_close_percents": [
60
],
"trailing_multipliers": [
1.5
],
"vol_mins": [
0.8,
1.0,
1.2
1.0
],
"max_bars_list": [
300,
500,
1000
500
]
},
"num_workers": 32