Skip to content

Instantly share code, notes, and snippets.

@djzager
Created July 5, 2024 14:37
Show Gist options
  • Save djzager/a44c7cf7b9d0ede65de91186b40e48a7 to your computer and use it in GitHub Desktop.
Save djzager/a44c7cf7b9d0ede65de91186b40e48a7 to your computer and use it in GitHub Desktop.
2024/07/05 14:23:54 /opt/app-root/src/api/task.go:90
[0.011ms] [rows:1] SELECT * FROM `Bucket` WHERE `Bucket`.`ID` = 8
2024/07/05 14:23:54 /opt/app-root/src/api/task.go:90
[0.014ms] [rows:0] SELECT * FROM `TaskReport` WHERE `TaskReport`.`TaskID` = 6
2024/07/05 14:23:54 /opt/app-root/src/api/task.go:90
[0.327ms] [rows:1] SELECT * FROM `Task` WHERE `Task`.`ID` = 6 ORDER BY `Task`.`ID` LIMIT 1
[GIN] 2024/07/05 - 14:23:54 | 200 | 408.196µs | 127.0.0.1 | GET "/tasks/6"
2024/07/05 14:23:54 /opt/app-root/src/api/base.go:410
[0.038ms] [rows:-] SELECT `Task`.`ID`,`Task`.`CreateTime`,`Task`.`CreateUser`,`Task`.`UpdateUser`,`Task`.`BucketID`,`Task`.`Name`,`Task`.`Kind`,`Task`.`Addon`,`Task`.`Extensions`,`Task`.`State`,`Task`.`Locator`,`Task`.`Priority`,`Task`.`Policy`,`Task`.`TTL`,`Task`.`Data`,`Task`.`Started`,`Task`.`Terminated`,`Task`.`Errors`,`Task`.`Events`,`Task`.`Pod`,`Task`.`Retries`,`Task`.`Attached`,`Task`.`ApplicationID`,`Task`.`TaskGroupID`,`Application`.`ID` AS `Application__ID`,`Application`.`CreateTime` AS `Application__CreateTime`,`Application`.`CreateUser` AS `Application__CreateUser`,`Application`.`UpdateUser` AS `Application__UpdateUser`,`Application`.`BucketID` AS `Application__BucketID`,`Application`.`Name` AS `Application__Name`,`Application`.`Description` AS `Application__Description`,`Application`.`Repository` AS `Application__Repository`,`Application`.`Binary` AS `Application__Binary`,`Application`.`Comments` AS `Application__Comments`,`Application`.`BusinessServiceID` AS `Application__BusinessServiceID`,`Application`.`OwnerID` AS `Application__OwnerID`,`Application`.`MigrationWaveID` AS `Application__MigrationWaveID` FROM `Task` LEFT JOIN `Application` `Application` ON `Task`.`ApplicationID` = `Application`.`ID` ORDER BY task.id DESC
[GIN] 2024/07/05 - 14:23:54 | 200 | 477.2µs | 10.244.0.16 | GET "/tasks?sort=desc%3Aid&limit=10&offset=0"
2024/07/05 14:23:55 /opt/app-root/src/api/task.go:253
[0.094ms] [rows:2] SELECT `State`,COUNT(*) Count FROM `task` WHERE `State` IN ("Ready","Postponed","Pending","Running") GROUP BY `State`
[GIN] 2024/07/05 - 14:23:55 | 200 | 156.261µs | 10.244.0.16 | GET "/tasks/report/queue"
time=2024-07-05T14:23:55Z level=info msg=[task-scheduler] Rule:Isolated matched:5, other:6
time=2024-07-05T14:23:55Z level=info msg=[task-scheduler] Rule:Isolated matched:5, other:4
time=2024-07-05T14:23:55Z level=info msg=[task-scheduler] Rule:Dependency matched:5, other:4
time=2024-07-05T14:23:55Z level=info msg=[task-scheduler] Rule:Isolated matched:5, other:3
time=2024-07-05T14:23:55Z level=info msg=[task-scheduler] Rule:Isolated matched:5, other:2
time=2024-07-05T14:23:55Z level=info msg=[task-scheduler] Rule:Isolated matched:5, other:1
time=2024-07-05T14:23:55Z level=info msg=[task-scheduler] Rule:Isolated matched:2, other:6
time=2024-07-05T14:23:55Z level=info msg=[task-scheduler] Rule:Isolated matched:2, other:5
time=2024-07-05T14:23:55Z level=info msg=[task-scheduler] Rule:Isolated matched:2, other:4
time=2024-07-05T14:23:55Z level=info msg=[task-scheduler] Rule:Isolated matched:2, other:3
time=2024-07-05T14:23:55Z level=info msg=[task-scheduler] Rule:Isolated matched:2, other:1
time=2024-07-05T14:23:55Z level=info msg=[task-scheduler] Rule:Dependency matched:2, other:1
time=2024-07-05T14:23:55Z level=info msg=[task-scheduler] Task postponed. id=5 reason=Rule:Dependency matched:5, other:4
time=2024-07-05T14:23:55Z level=info msg=[task-scheduler] Task postponed. id=2 reason=Rule:Dependency matched:2, other:1
time=2024-07-05T14:23:56Z level=info msg=[task-scheduler] Rule:Isolated matched:5, other:6
time=2024-07-05T14:23:56Z level=info msg=[task-scheduler] Rule:Isolated matched:5, other:4
time=2024-07-05T14:23:56Z level=info msg=[task-scheduler] Rule:Dependency matched:5, other:4
time=2024-07-05T14:23:56Z level=info msg=[task-scheduler] Rule:Isolated matched:5, other:3
time=2024-07-05T14:23:56Z level=info msg=[task-scheduler] Rule:Isolated matched:5, other:2
time=2024-07-05T14:23:56Z level=info msg=[task-scheduler] Rule:Isolated matched:5, other:1
time=2024-07-05T14:23:56Z level=info msg=[task-scheduler] Rule:Isolated matched:2, other:6
time=2024-07-05T14:23:56Z level=info msg=[task-scheduler] Rule:Isolated matched:2, other:5
time=2024-07-05T14:23:56Z level=info msg=[task-scheduler] Rule:Isolated matched:2, other:4
time=2024-07-05T14:23:56Z level=info msg=[task-scheduler] Rule:Isolated matched:2, other:3
time=2024-07-05T14:23:56Z level=info msg=[task-scheduler] Rule:Isolated matched:2, other:1
time=2024-07-05T14:23:56Z level=info msg=[task-scheduler] Rule:Dependency matched:2, other:1
time=2024-07-05T14:23:56Z level=info msg=[task-scheduler] Task postponed. id=5 reason=Rule:Dependency matched:5, other:4
time=2024-07-05T14:23:56Z level=info msg=[task-scheduler] Task postponed. id=2 reason=Rule:Dependency matched:2, other:1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment