minikube/hack/metrics
Predrag Rogic 4da3cedc84
Fix KVM driver (tests) timeouts (#20852)
* Fix KVM driver tests timeouts

Rewrite KVM driver waiting logic for domain start, getting ip address
and shutting domain down. Add more config/state outputs to aid future
debugging.

Bump go/libvirt to v1.11002.0 and set the minimum memory required for
running all tests to 3GB to avoid some really weird system behaviour.

* revert reduction of timelimit for TestCert tests run

* set memory and debug output in TestNoKubernetes tests

* extend kvm waitForStaticIP timeout

* add console log to debug output

* Updating ISO to v1.36.0-1748823857-20852

---------

Co-authored-by: minikube-bot <minikube-bot@google.com>
2025-06-03 15:07:48 -07:00
..
README.md Enable tracing when collecting metrics 2020-11-30 10:25:51 -08:00
metrics.go Fix KVM driver (tests) timeouts (#20852) 2025-06-03 15:07:48 -07:00
minikube.go Move from deprecated ioutil to os and io packages 2021-10-08 08:57:19 +08:00

README.md

This script runs minikube start in a loop and measures how long it takes. It exports this data to Stackdriver via the OpenTelemetry API.

To run this script, run:

MINIKUBE_GCP_PROJECT_ID=<GCP Project ID> go run hack/metrics/*.go

This script is used to track minikube performance and prevent regressions.

Note: this script will export data to both Cloud Monitoring and Cloud Trace in the provided GCP project