Skip to content

Add Unified EL metrics for GetBlobsV2#66

Closed
SunnysidedJ wants to merge 4 commits into
MariusVanDerWijden:engine-getblobs-v2from
SunnysidedJ:engine-getblobs-v2-metrics
Closed

Add Unified EL metrics for GetBlobsV2#66
SunnysidedJ wants to merge 4 commits into
MariusVanDerWijden:engine-getblobs-v2from
SunnysidedJ:engine-getblobs-v2-metrics

Conversation

@SunnysidedJ
Copy link
Copy Markdown

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.

Comment thread eth/catalyst/api.go Outdated
// 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
Copy Markdown

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
Copy Markdown
Owner

Could you open this against #63?

@SunnysidedJ
Copy link
Copy Markdown
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
Copy Markdown
Owner

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

@SunnysidedJ
Copy link
Copy Markdown
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