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: stuck protocol monitor #681

Merged
merged 9 commits into from
Jul 17, 2024

Conversation

ChaoticTempest
Copy link
Member

This will allow to keep tabs on whether our triple protocols are stuck or not while testing. This will be vital for monitoring if there is something going wrong or not. By default, we will report that the protocol is stuck if the amount of triples remain the same STUCK_TIMEOUT_THRESHOLD seconds. There's a STUCK_COUNT_REPORT_INTERVAL that will report the stuckness of the system every so often just to not spam the logs.

Ideally should make it into grafana metrics later

volovyks
volovyks previously approved these changes Jul 15, 2024
self.stuck_interval_timestamp = Instant::now();

tracing::warn!(
// ?latest_triples,
Copy link
Collaborator

Choose a reason for hiding this comment

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

Do we need this?

Copy link
Member Author

Choose a reason for hiding this comment

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

nope, removed it

Base automatically changed from phuong/feat/nightly-test to develop July 16, 2024 23:01
@ChaoticTempest ChaoticTempest dismissed volovyks’s stale review July 16, 2024 23:01

The base branch was changed.

@ChaoticTempest ChaoticTempest merged commit f801f31 into develop Jul 17, 2024
3 checks passed
Copy link

Terraform Feature Environment Destroy (dev-681)

Terraform Initialization ⚙️success

Terraform Destroy success

Show Destroy Plan


No changes. No objects need to be destroyed.

Either you have not created any objects yet or the existing objects were
already deleted outside of Terraform.

Destroy complete! Resources: 0 destroyed.

Pusher: @ChaoticTempest, Action: pull_request, Working Directory: ``, Workflow: Terraform Feature Env (Destroy)

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