Skip to content

Add Unified EL metrics for GetBlobsV2 #66

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

Conversation

SunnysidedJ
Copy link

This PR adds unified metrics across different ELs for the new GetBlobsV2 Engine API that is WIP in PR #63.

I've been working on implementing these metrics across different ELs with Minhyuk from Sunnyside Labs. This is initiated to gather something in common between ELs for devnet tests. You can find our proposal here https://testinprod.notion.site/Proposal-for-Unified-EL-metrics-for-PeerDAS-1d28fc57f54680f2a3cbfe408d7db4b8?pvs=4.

// Number of blobs requested via getBlobsV2
getBlobsV2BlobsRequestedTotal = metrics.NewRegisteredCounter("get_blobs_requests_blobs_total", nil)
// Number of blobs requested via getBlobsV2 that are present in the blobpool
getBlobsV2BlobsInPoolTottal = metrics.NewRegisteredCounter("get_blobs_requests_blobs_in_blobpool_total", nil)
Copy link

Choose a reason for hiding this comment

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

Suggested change
getBlobsV2BlobsInPoolTottal = metrics.NewRegisteredCounter("get_blobs_requests_blobs_in_blobpool_total", nil)
getBlobsV2BlobsInPoolTotal = metrics.NewRegisteredCounter("get_blobs_requests_blobs_in_blobpool_total", nil)

minor typo here

@MariusVanDerWijden
Copy link
Owner

Could you open this against #63?

@SunnysidedJ
Copy link
Author

Could you open this against #63?

Hi @MariusVanDerWijden,
I opened this PR against your feature branch engine-getblobs-v2, which is the branch of PR #63. Once this PR is merged, it would appear in #63.
Should I continue this way, or would you prefer a different workflow?

@MariusVanDerWijden
Copy link
Owner

Sorry I posted the wrong branch, I meant this PR: ethereum#31791

@SunnysidedJ
Copy link
Author

Closing this PR as requested by @MariusVanDerWijden. I’ll reopen it directly against upstream PR ethereum#31791.

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