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

Added logging functionality #28

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

Added logging functionality #28

wants to merge 2 commits into from

Conversation

josecastillolema
Copy link
Collaborator

I think it would be handy to have logging functionality for the following reasons:

  • the tmux buffer is too small for recording the whole experiment
  • for tshooting issues with kube-burner, missing metrics, etc.
  • i would like to introduce a metrics function, to be called before and after kube-burner execution with all the relevant metrics that are not obtainable via prometheus (i.e.: relevant OVN leader elections)

@josecastillolema
Copy link
Collaborator Author

Besides logging functionality, added a metrics.sh file as a placeholder for all relevant metrics that are not obtainable via prometheus (i.e.: relevant OVN leader elections)

@@ -0,0 +1,5 @@
echo "NBDB leader elections:"
for p in $(oc get pod -o name -l app=ovnkube-master -n openshift-ovn-kubernetes); do oc -n openshift-ovn-kubernetes exec -c nbdb $p -- ovn-appctl -t /var/run/ovn/ovnnb_db.ctl cluster/status OVN_Northbound | egrep "Term|timer"; done
Copy link
Collaborator

Choose a reason for hiding this comment

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

This needs to change as we now have leadership transfer on snapshotting.

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.

2 participants