* Make EnsureRecorded part of metricstest; call it automatically in the "Assert" methods.
Increase test coverage.
* Address yanweiguo comments
* Add a barrier to ensure all metrics are recorded before scraping prometheus.
* Add utilities for accessing metrics via metricproducer.
* Fix tag comparison, bump up coverage.
* Convert workqueue_test (one of the main users of metricstest) to the new methods.
* Force event propagation sync one more place.
* Boost test coverage again.
* Address vagababov comments
* do not record for empty metric config
* Revert "do not record for empty metric config"
This reverts commit 539a5e4dbb.
* add a comment
* fix typo
* fix tests
* revert
* revert tests
* revert
* fix conflicts
* one more test file