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: enable bandwidth router metric #819

Merged

Conversation

amirvalhalla
Copy link
Contributor

Description

enable bandwidth router metric to monitoring network layer better.

@b00f
Copy link
Collaborator

b00f commented Nov 17, 2023

Make sure it is only enabled when metrics are enabled.

@b00f
Copy link
Collaborator

b00f commented Nov 17, 2023

Also use this format for the imports: lp2pmetrics "github.com/libp2p/go-libp2p/core/metrics"

Copy link

codecov bot commented Nov 17, 2023

Codecov Report

Merging #819 (eb3b3b8) into main (645de5f) will increase coverage by 0.02%.
The diff coverage is 0.00%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #819      +/-   ##
==========================================
+ Coverage   82.70%   82.73%   +0.02%     
==========================================
  Files         172      172              
  Lines        8357     8359       +2     
==========================================
+ Hits         6912     6916       +4     
  Misses       1118     1118              
+ Partials      327      325       -2     

@amirvalhalla
Copy link
Contributor Author

Also use this format for the imports: lp2pmetrics "github.com/libp2p/go-libp2p/core/metrics"

@b00f
fixed.

@b00f
Copy link
Collaborator

b00f commented Nov 17, 2023

LGTM. Thanks @amirvalhalla

@b00f b00f merged commit 756436b into pactus-project:main Nov 17, 2023
11 of 12 checks passed
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.

None yet

2 participants