mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-20 18:31:15 +00:00
update readme for instrumentation static analysis code
Change-Id: Ibd1261883b3d149de888c9ad2fd7897c00ea3158
This commit is contained in:
parent
9b4b1c0e79
commit
03015c4bb7
@ -7,7 +7,21 @@ require review by sig-instrumentation.
|
|||||||
To update the list, run
|
To update the list, run
|
||||||
|
|
||||||
```console
|
```console
|
||||||
./update-stable-metrics.sh
|
./hack/update-generated-stable-metrics.sh
|
||||||
```
|
```
|
||||||
|
|
||||||
Add the changed file to your PR, then send for review.
|
Add the changed file to your PR, then send for review.
|
||||||
|
|
||||||
|
If you want to test the stability framework, you can add metrics to the file in
|
||||||
|
`test/instrumentation/testdata/pkg/kubelet/metrics/metrics.go` and run test
|
||||||
|
verification via:
|
||||||
|
|
||||||
|
```console
|
||||||
|
./test/instrumentation/test-verify.sh
|
||||||
|
```
|
||||||
|
|
||||||
|
To update the golden test list, you can run:
|
||||||
|
|
||||||
|
```console
|
||||||
|
./test/instrumentation/test-update.sh
|
||||||
|
```
|
||||||
|
Loading…
Reference in New Issue
Block a user