Skip to content

Initial batch of metrics for flashblocks service #300

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

Merged
merged 1 commit into from
Jun 11, 2025

Conversation

ferranbt
Copy link
Collaborator

@ferranbt ferranbt commented Jun 6, 2025

This PR adds an initial batch of metrics for flashblocks.

Copy link

vercel bot commented Jun 6, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Skipped Deployment
Name Status Preview Comments Updated (UTC)
rollup-boost ⬜️ Ignored (Inspect) Jun 6, 2025 1:59pm

}
}

pub async fn run(self) {
loop {
if let Err(e) = self.connect_and_handle().await {
error!("Flashblocks receiver connection error, retrying in 5 seconds: {e}");
self.metrics.reconnect_attempts.increment(1);
self.metrics.connection_status.set(0);
Copy link
Collaborator

Choose a reason for hiding this comment

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

this should be part of the health status instead of metrics?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

What do you mean? which health status?

@ferranbt ferranbt requested review from avalonche and SozinM June 10, 2025 09:27
@ferranbt ferranbt merged commit e23bcc2 into main Jun 11, 2025
7 checks passed
@ferranbt ferranbt deleted the ferranbt/add-monitoring-flashblocks branch June 12, 2025 13:58
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