Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

feat: add timeout for zapi cli #2566

Merged
merged 1 commit into from
Jan 3, 2024
Merged

feat: add timeout for zapi cli #2566

merged 1 commit into from
Jan 3, 2024

Conversation

rahulguptajss
Copy link
Contributor

I have added timeout for CLI. Pagination support would require following modifications. We should discuss whether these changes are necessary for the CLI:

1: Add batch support for Zapi
2: Refactor Perf calls in the CLI: Currently, the CLI passes a wildcard (*) to perf-object-get-instances. We need to change it to first call perf-object-instance-list-info-iter, then perf-object-get-instances, and finally add the batch. Similiar to ZapiPerf Collector.

@cla-bot cla-bot bot added the cla-signed label Jan 1, 2024
@rahulguptajss rahulguptajss linked an issue Jan 1, 2024 that may be closed by this pull request
@rahulguptajss rahulguptajss merged commit 9aa0ea8 into main Jan 3, 2024
10 checks passed
@rahulguptajss rahulguptajss deleted the rg2-zapi-cli branch January 3, 2024 08:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Zapi CLI timeout
3 participants