Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@vpiyush
Copy link
Contributor

@vpiyush vpiyush commented Dec 21, 2023

fix invalid metric due to hyphen in protocol name
Avoid warnings on buffered gauge on prometheus scrapping.

@codecov
Copy link

codecov bot commented Dec 21, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (2495b37) 71.93% compared to head (2bb57b8) 71.35%.
Report is 1 commits behind head on release/v0.12.3.

Additional details and impacted files
@@                 Coverage Diff                 @@
##           release/v0.12.3     #911      +/-   ##
===================================================
- Coverage            71.93%   71.35%   -0.58%     
===================================================
  Files                   27       29       +2     
  Lines                 3278     3393     +115     
===================================================
+ Hits                  2358     2421      +63     
- Misses                 725      757      +32     
- Partials               195      215      +20     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Contributor

@lorenzo-dev1 lorenzo-dev1 left a comment

Choose a reason for hiding this comment

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

LGTM, maybe it would be good to track the missing prometheus code for the buffered gauge in an issue to avoid forgetting

return nil, fmt.Errorf("dial failed: %v", err)
}
conn.caps = append(conn.caps, p2p.Cap{Name: "aut-snap", Version: 1})
conn.caps = append(conn.caps, p2p.Cap{Name: "aut_snap", Version: 1})
Copy link
Collaborator

Choose a reason for hiding this comment

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

This will cause devp2p snap protocol match to fail with the old 0.12.2 version - but I guess it's fine.

@yazzaoui
Copy link
Collaborator

Can you disable the buffered gauge tests so we can have the e2e tests running on CI

@yazzaoui yazzaoui merged commit ec12d41 into release/v0.12.3 Dec 21, 2023
@yazzaoui yazzaoui deleted the hotfix-prometheus-errors branch December 21, 2023 19:11
@vpiyush
Copy link
Contributor Author

vpiyush commented Dec 21, 2023

Can you disable the buffered gauge tests so we can have the e2e tests running on CI

Thanks for taking care of it.

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