Skip to content

Commit

Permalink
3/3 Remove third_party PDH code (#1870)
Browse files Browse the repository at this point in the history
* Update hostmetrics disk scraper to use new perfcounters package

* Update hostmetrics load scraper to use new perfcounters package

* Update hostmetrics swap scraper to use new perfcounters package

* Remove third_party code relating to accessing perf counters via pdh
  • Loading branch information
james-bebbington authored Sep 28, 2020
1 parent 5d723ab commit ffdb1cf
Show file tree
Hide file tree
Showing 14 changed files with 1 addition and 1,353 deletions.
1 change: 0 additions & 1 deletion .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ run:
# default value is empty list, but default dirs are skipped independently
# from this option's value (see skip-dirs-use-default).
skip-dirs:
- third_party

# default is true. Enables skipping of directories:
# vendor$, third_party$, testdata$, examples$, Godeps$, builtin$
Expand Down
1 change: 0 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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/*' \
-not -path '*/internal/data/opentelemetry-proto/*' \
-not -path '*/internal/data/opentelemetry-proto-gen/*' \
-not -path './.circleci/scripts/reportgenerator/*' \
Expand Down
1 change: 1 addition & 0 deletions cmd/mdatagen/third_party/golint/.nocover
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
No tests for third party code.

This file was deleted.

This file was deleted.

Loading

0 comments on commit ffdb1cf

Please sign in to comment.