You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When listing resources with sensuctl and using the --chunk-size option, I expect to receive each chunk as it arrives.
Current Behavior
The chunks are collated until there are no more chunks to bad had, before being output.
Possible Solution
Add output streaming support to sensuctl. This will necessitate rewriting much of the output formatting code, which is due for an overhaul in any case.
Steps to Reproduce (for bugs)
Try to output tens of thousands of resources with a small chunk size. (i.e. sensuctl event list --chunk-size 100)
Observe that the operation takes a long time to return any information.
The text was updated successfully, but these errors were encountered:
One of the comments in #2966 that caught my attention was RE: tabular output column widths, which is something I'd love to revisit. The way we render columns in certain sensuctl outputs today is quite cumbersome because we don't place any limits on the output (e.g. if an event has a very long output the columnar output of sensuctl event list is a mess). I'd love to see us adopt some sort of truncation, if not completely revisit the design of columnar list output.
Expected Behavior
When listing resources with sensuctl and using the
--chunk-size
option, I expect to receive each chunk as it arrives.Current Behavior
The chunks are collated until there are no more chunks to bad had, before being output.
Possible Solution
Add output streaming support to sensuctl. This will necessitate rewriting much of the output formatting code, which is due for an overhaul in any case.
Steps to Reproduce (for bugs)
The text was updated successfully, but these errors were encountered: