mirror of https://github.com/knative/pkg.git
* Add metrics to webhook package Add metricstest package for shared helper functions for testing metrics * Address PR * Cleanup * Fix import paths to fix build issues * Fix import package path for test file * Remove unnecessary formatting from error message * Remove helper function only used once * Add metric name to all error messages, make checkRowTags testing helper function * Add common histogram bucket generator function to metrics package * Fix CheckStatsNotReported check * Reset metrics before each test so the tests are idempotent * Make CheckStatsNotReported conditional clearer |
||
---|---|---|
.. | ||
metricstest.go |