Skip to content

Conversation

twoeths
Copy link
Contributor

@twoeths twoeths commented Aug 30, 2023

Motivation
We removed gossipsub_mesh_peer_inclusion_events_total and gossipsub_peer_churn_events_total in #460 but lodestar still needs it, see ChainSafe/lodestar#5919

Description
Add back these metrics

@twoeths twoeths requested a review from a team as a code owner August 30, 2023 05:28
@codecov-commenter
Copy link

Codecov Report

Patch has no changes to coverable lines.

Files Changed Coverage
src/metrics.ts 0.00%

📢 Thoughts on this report? Let us know!.

Copy link
Member

@matthewkeil matthewkeil left a comment

Choose a reason for hiding this comment

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

LGTM 🎸

help: 'Number of times we include peers in a topic mesh for random reasons',
labelNames: ['topic']
}),
meshPeerInclusionEventsTotal: register.gauge<{ topic: TopicLabel }>({
Copy link
Member

Choose a reason for hiding this comment

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

maybe we can rename these metrics. I think "inclusion/churn" is a bit more confusing than "add/remove"

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.

4 participants