-
Notifications
You must be signed in to change notification settings - Fork 1.8k
hostmetricsreceiver: (network/paging/process) Refactor to use metrics metadata #2421
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
Conversation
Codecov Report
@@ Coverage Diff @@
## main #2421 +/- ##
==========================================
- Coverage 91.88% 91.80% -0.08%
==========================================
Files 268 264 -4
Lines 15213 15073 -140
==========================================
- Hits 13978 13838 -140
Misses 857 857
Partials 378 378
Continue to review full report at Codecov.
|
cc2ae6b to
c98e2aa
Compare
c98e2aa to
5218465
Compare
5218465 to
e83edad
Compare
jrcamp
left a comment
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.
Ideally only tests would use New()
receiver/hostmetricsreceiver/internal/scraper/networkscraper/network_scraper.go
Outdated
Show resolved
Hide resolved
receiver/hostmetricsreceiver/internal/scraper/processscraper/process_scraper.go
Outdated
Show resolved
Hide resolved
tigrannajaryan
left a comment
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.
LGTM. Refactored while keeping current emitted metrics.
Depends on #2406
Refactor network, paging, process and processes scrapers to use metrics metadata utility.