Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Add missing data to descrbie tasklist command #6189

Merged
merged 1 commit into from
Jul 25, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 7 additions & 5 deletions tools/cli/admin_task_list_commands.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,12 @@
PollerCount int `header:"Poller Count"`
}
TaskListStatusRow struct {
ReadLevel int64 `header:"Read Level"`
AckLevel int64 `header:"Ack Level"`
Backlog int64 `header:"Backlog"`
StartID int64 `header:"Lease Start TaskID"`
EndID int64 `header:"Lease End TaskID"`
ReadLevel int64 `header:"Read Level"`
AckLevel int64 `header:"Ack Level"`
Backlog int64 `header:"Backlog"`
RPS float64 `header:"RPS"`
StartID int64 `header:"Lease Start TaskID"`
EndID int64 `header:"Lease End TaskID"`
}
)

Expand Down Expand Up @@ -115,6 +116,7 @@
ReadLevel: taskListStatus.GetReadLevel(),
AckLevel: taskListStatus.GetAckLevel(),
Backlog: taskListStatus.GetBacklogCountHint(),
RPS: taskListStatus.GetRatePerSecond(),

Check warning on line 119 in tools/cli/admin_task_list_commands.go

View check run for this annotation

Codecov / codecov/patch

tools/cli/admin_task_list_commands.go#L119

Added line #L119 was not covered by tests
StartID: taskListStatus.GetTaskIDBlock().GetStartID(),
EndID: taskListStatus.GetTaskIDBlock().GetEndID(),
}}
Expand Down
Loading