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

3/3 Remove third_party PDH code #1870

Merged

Conversation

james-bebbington
Copy link
Member

Link to tracking Issue: #973

Description:
 1. Add new perflib package
 2. Migrate host metrics scrapers to use new package
 3. Remove third_party PDH code

Depends on: #1835, #1836, #1868, #1869

@james-bebbington james-bebbington force-pushed the hostmetrics-perflib-final branch 2 times, most recently from 3580e00 to e85eb8a Compare September 27, 2020 01:49
@james-bebbington james-bebbington force-pushed the hostmetrics-perflib-final branch 2 times, most recently from d49863b to 84db5ec Compare September 27, 2020 02:02
@codecov
Copy link

codecov bot commented Sep 27, 2020

Codecov Report

Merging #1870 into master will increase coverage by 0.02%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #1870      +/-   ##
==========================================
+ Coverage   91.23%   91.26%   +0.02%     
==========================================
  Files         272      272              
  Lines       16263    16263              
==========================================
+ Hits        14838    14842       +4     
+ Misses        998      996       -2     
+ Partials      427      425       -2     
Impacted Files Coverage Δ
translator/internaldata/resource_to_oc.go 91.48% <0.00%> (+4.25%) ⬆️

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 4a45ae9...d12b4dc. Read the comment docs.

@@ -2,7 +2,6 @@
# This is the code that we want to run tests for and lint, staticcheck, etc.
ALL_SRC := $(shell find . -name '*.go' \
-not -path './testbed/*' \
-not -path '*/third_party/*' \
Copy link
Member Author

@james-bebbington james-bebbington Sep 28, 2020

Choose a reason for hiding this comment

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

I had made any third_party directories get ignored (here and in .golangci.yaml) when I originally added this PDH code. Not sure if I should remove this or if we should keep it anyway? There seemed to be a desire to keep third party code out of core, so I've opted to remove it for now, but also happy to revert.

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.

2 participants