kubernetes/test/instrumentation
Han Kang e452850ec3 Add support for summary metrics for stablity checks
Also add entrypoints for verifying and updating a test file for easier
debugging. This is considerably faster than running the stablity checks
against the entire Kubernetes codebase.

Change-Id: I5d5e5b3abf396ebf1317a44130f20771a09afb7f
2022-07-26 15:31:25 -07:00
..
testdata Add support for summary metrics for stablity checks 2022-07-26 15:31:25 -07:00
decode_metric.go Add support for summary metrics for stablity checks 2022-07-26 15:31:25 -07:00
error.go Add support for summary metrics for stablity checks 2022-07-26 15:31:25 -07:00
find_stable_metric.go
main_test.go Add support for summary metrics for stablity checks 2022-07-26 15:31:25 -07:00
main.go io/ioutil has already been deprecated in golang 1.16, so replace all ioutil with io and os 2022-02-03 05:32:12 +08:00
metric.go Add support for summary metrics for stablity checks 2022-07-26 15:31:25 -07:00
OWNERS Check in OWNERS modified by update-yamlfmt.sh 2021-12-09 21:31:26 -05:00
README.md
stability-utils.sh Add support for summary metrics for stablity checks 2022-07-26 15:31:25 -07:00
test-update.sh Add support for summary metrics for stablity checks 2022-07-26 15:31:25 -07:00
test-verify.sh Add support for summary metrics for stablity checks 2022-07-26 15:31:25 -07:00

This directory contains the regression test for controlling the list of stable metrics

If you add or remove a stable metric, this test will fail and you will need to update the golden list of tests stored in testdata/. Changes to that file require review by sig-instrumentation.

To update the list, run

./update-stable-metrics.sh

Add the changed file to your PR, then send for review.