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

Liveness probe for GraphQL client and additional colors for monthly stats #60

Merged
merged 2 commits into from
Jul 29, 2024

Conversation

fedinskiy
Copy link
Contributor

@fedinskiy fedinskiy commented Jul 26, 2024

  1. Adds a liveness probe to restart the app if GraphQL client is stuck
  2. Adds more fixed colors for monthly stats, so certain @fedinskiy will not be shown in 5 different ways on the same page :)

Monthly stats are shown with dedicated colors for the first 7 team members
from `activity.logins` variable.
Now there are 8 team members, so the last one in the list (fedinskiy)
receives a different random color for every graph on the same page.
This commit adds two additional colors, one for fedinskiy and another for a
potential future team member.
@fedinskiy
Copy link
Contributor Author

Please do not merge, until we're sure, that the liveness probe works as expected

Copy link
Member

@michalvavrik michalvavrik left a comment

Choose a reason for hiding this comment

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

I think this is very creative and a good workaround. I didn't look closer into created GraphQL client issue as I trust you there. Please confirm when you verified this with actual deployment.

@michalvavrik
Copy link
Member

yeah, but please fix PR title.

@fedinskiy fedinskiy changed the title Fix/unupdated Liveness probe for GraphQL client and additional colors for monthly stats Jul 26, 2024
@rsvoboda
Copy link
Member

Do we have a way to findout how many times was the pod restarted in e.g. last 4 weeks?

@fedinskiy
Copy link
Contributor Author

fedinskiy commented Jul 26, 2024

@rsvoboda if this solution works, then we will be able to see number of restarts on "workloads/pods/" section in OCP administrator view.
This metric is persistent during the same deployment, so it will be cleared when we redeploy the app (I am not sure how often that happens).

@fedinskiy fedinskiy marked this pull request as ready for review July 29, 2024 07:16
@fedinskiy
Copy link
Contributor Author

@michalvavrik @rsvoboda the restart worked as expected: https://console-openshift-console.apps.gpc.ocp-hub.prod.psi.redhat.com/k8s/ns/quarkus-qe--runtime-int/core~v1~Pod. Do you want to take a second look or this can be merged?

@rsvoboda
Copy link
Member

No need, going to merge it now

@rsvoboda rsvoboda merged commit b52fb82 into quarkus-qe:main Jul 29, 2024
1 check passed
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.

3 participants