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

api: indexer debug health check #1347

Merged
merged 3 commits into from
Sep 27, 2024
Merged

Conversation

kayleegeorge
Copy link
Contributor

  • add block latencies to indexer debug health check

Copy link

vercel bot commented Sep 25, 2024

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

Name Status Preview Comments Updated (UTC)
daimo-web 🛑 Canceled (Inspect) Sep 27, 2024 7:58pm
daimo-web-stage ✅ Ready (Inspect) Visit Preview 💬 Add feedback Sep 27, 2024 7:58pm

@@ -179,6 +179,39 @@ export class IndexWatcher {
return Number(result?.latest_block_num || 0);
}

// Get the block write to postgres latency over the last numBlocks
async getLatency() {
// Get the block times and latencies for the last 1000 blocks
Copy link
Member

Choose a reason for hiding this comment

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

🔥

Copy link
Member

@dcposch dcposch left a comment

Choose a reason for hiding this comment

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

LGreatTM!

@kayleegeorge kayleegeorge added this to the 2024-06-24 milestone Sep 26, 2024
@dcposch dcposch force-pushed the klee/add-latency-health-check branch from 59e2df2 to 34892f6 Compare September 27, 2024 19:51
@dcposch dcposch enabled auto-merge (squash) September 27, 2024 19:51
@dcposch dcposch disabled auto-merge September 27, 2024 19:51
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