-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
Enable unconvert linter, fix errors #1546
Conversation
42e366d
to
de3644a
Compare
Codecov Report
@@ Coverage Diff @@
## master #1546 +/- ##
==========================================
- Coverage 89.37% 89.37% -0.01%
==========================================
Files 353 353
Lines 17316 17314 -2
==========================================
- Hits 15476 15474 -2
Misses 1377 1377
Partials 463 463
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
de3644a
to
414cf2b
Compare
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.
processor/groupbytraceprocessor
changes look good to me.
* fix go generate go generate would not work because a tool (esc) was missing from install-tools. fixing in preparation for metrics metadata generation. * Metric metadata generation This implements the proposal (phase 1) in #985. Currently just the cpu scraper has been migrated to gather feedback before moving additional ones. The plan is to check in the generated_metrics.go files. This makes it easier when others want to import the code as a library to not have to run the code generation in a library dependency. generated_metrics.go will be generated by running `go generate`. Resolves #985 * metadata improvements * acronyms (e.g. CpuState) are now formatted correctly (CPUState) * now handles labels with different semantics (e.g. state label in memory vs cpu) * they are referenced in code by unique ids (CPUState, MemState) but their string values are just "state" * specify which labels are referenced by a given metric * adding tests * merge cleanup * cleanup * cleanup * don't do codegen on windows for now * fix lint issues * fix coverage checks * fix ignore * add docs, code review feedback * invalid metric type check * update docs * cleanup * doc fix * make system.memory.usage int sum * move golint code to third_party dir
Signed-off-by: Bogdan Drutu bogdandrutu@gmail.com