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

refactor: MetricsService refactor to use an interface #142

Merged
merged 4 commits into from
Aug 27, 2024

Conversation

AlfredoG87
Copy link
Contributor

Description:
MetricsService refactor to use an interface
Refactor for Dagger DI metricsService

Related issue(s):

Fixes #141

Notes for reviewer:

Checklist

  • Documented (Code comments, README, etc.)
  • Tested (unit, integration, etc.)

… and exposed them using a getter method.

Signed-off-by: Alfredo Gutierrez <[email protected]>
… reflect the changes.

Signed-off-by: Alfredo Gutierrez <[email protected]>
@AlfredoG87 AlfredoG87 self-assigned this Aug 27, 2024
@AlfredoG87 AlfredoG87 added the Improvement Code changes driven by non business requirements label Aug 27, 2024
@AlfredoG87 AlfredoG87 added this to the 0.1.0 milestone Aug 27, 2024
@AlfredoG87 AlfredoG87 added the P2 Required to be completed in the assigned milestone, but may or may not impact release schedule. label Aug 27, 2024
@AlfredoG87 AlfredoG87 marked this pull request as ready for review August 27, 2024 16:44
@AlfredoG87 AlfredoG87 requested a review from a team as a code owner August 27, 2024 16:44
Copy link
Contributor

@mattp-swirldslabs mattp-swirldslabs left a comment

Choose a reason for hiding this comment

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

Looks good

Copy link
Contributor

@mattp-swirldslabs mattp-swirldslabs left a comment

Choose a reason for hiding this comment

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

Nice work

@AlfredoG87 AlfredoG87 merged commit 75ce0b3 into main Aug 27, 2024
10 checks passed
@AlfredoG87 AlfredoG87 deleted the metrics-refactor branch August 27, 2024 19:28
Copy link

codecov bot commented Aug 27, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 100.00%. Comparing base (36992db) to head (aaa782a).
Report is 1 commits behind head on main.

Additional details and impacted files
@@             Coverage Diff             @@
##                main      #142   +/-   ##
===========================================
  Coverage     100.00%   100.00%           
- Complexity       132       135    +3     
===========================================
  Files             26        26           
  Lines            510       513    +3     
  Branches          27        27           
===========================================
+ Hits             510       513    +3     
Files Coverage Δ
...va/com/hedera/block/server/BlockStreamService.java 100.00% <100.00%> (ø)
.../block/server/mediator/LiveStreamMediatorImpl.java 100.00% <100.00%> (ø)
...a/block/server/metrics/MetricsInjectionModule.java 100.00% <ø> (ø)
...edera/block/server/metrics/MetricsServiceImpl.java 100.00% <100.00%> (ø)
...er/persistence/storage/write/BlockAsDirWriter.java 100.00% <100.00%> (ø)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Improvement Code changes driven by non business requirements P2 Required to be completed in the assigned milestone, but may or may not impact release schedule.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Refactor Metrics Service
2 participants