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: add ethereum/beacon-metrics per spec #508

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

matthewkeil
Copy link
Member

@matthewkeil matthewkeil commented Sep 24, 2024

More metrics were added to ethereum/beacon-metrics to help track peerDAS. There were also a couple of adds related to gossipsub so made those changes here.

NOTE: There is a breaking change to the metrics. It is not an API break but the metric names changes such that dashboards will not show up correctly without changing the PromQL

A few of the metric name changed so a PR to lodestar will need to be made when updating the dependency to modify the dashboards so they reference the updated metric names

@@ -2294,7 +2295,7 @@ export class GossipSub extends TypedEventEmitter<GossipsubEvents> implements Pub
topic,
tosendCount,
tosend.size,
rawMsg.data != null ? rawMsg.data.length : 0,
RPC.Message.getSize(rawMsg),
Copy link
Member Author

Choose a reason for hiding this comment

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

I noticed this, we were only counting the "data" portion but more than that gets sent over the wire in a RPC.message. I updated with this method but not sure if that is "correct" because I did not find anything in the spec speaking to this.

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.

1 participant