-
Notifications
You must be signed in to change notification settings - Fork 182
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
[Networking] Wires in GossipSub observability #3643
Conversation
logger zerolog.Logger | ||
} | ||
|
||
func NewObservableGossipSub(h host.Host, metrics module.GossipSubRouterMetrics, logger zerolog.Logger) *ObservableGossipSubRouter { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This component has been renamed and refactored to GossipSubControlMessageMetrics
Codecov Report
@@ Coverage Diff @@
## master #3643 +/- ##
==========================================
+ Coverage 55.26% 55.30% +0.04%
==========================================
Files 756 756
Lines 69525 69488 -37
==========================================
+ Hits 38420 38428 +8
+ Misses 27955 27908 -47
- Partials 3150 3152 +2
Flags with carried forward coverage won't be shown. Click here to find out more.
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
FVM Benchstat comparisonThis branch with compared with the base branch onflow:master commit 7d643c6 The command Collapsed results for better readability
|
… into yahya/wire-observable-gossipsub
… into yahya/wire-observable-gossipsub
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks good!
* upgrades pubsub version * upgrades go sum * refactors observable gossipsub into metrics * wires up metrics * renames * switches the log level * go mod tidy
* upgrades pubsub version * upgrades go sum * refactors observable gossipsub into metrics * wires up metrics * renames * switches the log level * go mod tidy
This PR upgrades pubsub dependency to include our upstreamed changes for RPC inspector libp2p/go-libp2p-pubsub#509, and then implements a GossipSub observability component that logs and records the metrics around the incoming RPCs.
Sample log: