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

Remove report per cpu config option #1326

Merged
merged 1 commit into from
Jul 13, 2020

Conversation

james-bebbington
Copy link
Member

Remove cpu scraper report_per_cpu option (this can be removed in metric transform processor instead). Also update tests & improve test coverage

@codecov
Copy link

codecov bot commented Jul 13, 2020

Codecov Report

Merging #1326 into master will increase coverage by 0.01%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #1326      +/-   ##
==========================================
+ Coverage   89.60%   89.61%   +0.01%     
==========================================
  Files         215      215              
  Lines       15185    15179       -6     
==========================================
- Hits        13606    13603       -3     
+ Misses       1151     1148       -3     
  Partials      428      428              
Impacted Files Coverage Δ
receiver/hostmetricsreceiver/internal/testutils.go 100.00% <ø> (+10.71%) ⬆️
...eceiver/internal/scraper/cpuscraper/cpu_scraper.go 93.75% <100.00%> (+6.25%) ⬆️
translator/internaldata/resource_to_oc.go 83.72% <0.00%> (-2.33%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 3711c01...67cb63e. Read the comment docs.

Collector automation moved this from In progress to Reviewer approved Jul 13, 2020
@bogdandrutu
Copy link
Member

bogdandrutu commented Jul 13, 2020

Not too much coverage improvements :) looks like testutils is going down.

I think AssertDoubleMetricLabelDoesNotExist is not used anywhere now.

@james-bebbington
Copy link
Member Author

Not too much coverage improvements :) looks like testutils is going down.

I think AssertDoubleMetricLabelDoesNotExist is not used anywhere now.

Removed unused functions

@bogdandrutu bogdandrutu merged commit 322c35d into open-telemetry:master Jul 13, 2020
Collector automation moved this from Reviewer approved to Done Jul 13, 2020
wyTrivail pushed a commit to mxiamxia/opentelemetry-collector that referenced this pull request Jul 13, 2020
Troels51 pushed a commit to Troels51/opentelemetry-collector that referenced this pull request Jul 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Collector
  
Done
Development

Successfully merging this pull request may close these issues.

None yet

2 participants