mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-10-15 11:39:24 +00:00
Automatic merge from submit-queue Support grabbing test suite metrics **What this PR does / why we need it**: Add support for grabbing metrics that cover the entire test suite's execution. Update the "interesting" controller-manager metrics to match the current names for the garbage collector, and add namespace controller metrics to the list. If you enable `--gather-suite-metrics-at-teardown`, the metrics file is written to a file with a name such as `MetricsForE2ESuite_2017-05-25T20:25:57Z.json` in the `--report-dir`. If you don't specify `--report-dir`, the metrics are written to the test log output. I'd like to enable this for some of the `pull-*` CI jobs, which will require a separate PR to test-infra. **Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: fixes # **Special notes for your reviewer**: **Release note**: ```release-note NONE ``` @kubernetes/sig-testing-pr-reviews @smarterclayton @wojtek-t @gmarek @derekwaynecarr @timothysc