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

Time the watch operations for each iteration #64

Merged

Conversation

chaitanyaenr
Copy link
Collaborator

This commit adds support to time the operations like watching nodes,
cluster operators, namespaces e.t.c and prints out the info after
each iteration. This will help in understanding how long each operation
is taking and act accordingly.

It will be helpful in looking at how long cerberus takes to run the
checks as wells as the impact on the timing when running it on a small
scale vs large scale clusters. Eventually they can be exposed as metrics
and act accordingly if higher latency is observed with Kube/OpenShift API.

@chaitanyaenr chaitanyaenr force-pushed the capture_operations_timing branch 3 times, most recently from 9aceb29 to aa00cbf Compare May 25, 2020 12:55
@rht-perf-ci
Copy link

Can one of the admins verify this patch?

This commit adds support to time the operations like watching nodes,
cluster operators, namespaces e.t.c and prints out the info after
each iteration. This will help in understanding how long each operation
is taking and act accordingly.

It will be helpful in looking at how long cerberus takes to run the
checks as wells as the impact on the timing when running it on a small
scale vs large scale clusters. Eventually they can be exposed as metrics
and act accordingly if higher latency is observed with Kube/OpenShift API.
Copy link
Contributor

@yashashreesuresh yashashreesuresh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@paigerube14
Copy link
Collaborator

LGTM

@chaitanyaenr chaitanyaenr merged commit bc1b57e into krkn-chaos:master May 26, 2020
@chaitanyaenr chaitanyaenr deleted the capture_operations_timing branch June 3, 2020 14:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants