Last active
April 11, 2024 17:42
-
-
Save aojea/276d1f8061403b6687ee12b2f2c7522e to your computer and use it in GitHub Desktop.
kubernetes prometheus CI metrics
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
https://prow.k8s.io/view/gs/kubernetes-jenkins/pr-logs/pull/108414/pull-kubernetes-e2e-gce-100-performance/1499390264190439424 | |
https://storage.googleapis.com/kubernetes-jenkins/pr-logs/pull/108414/pull-kubernetes-e2e-gce-100-performance/1499390264190439424/artifacts/prometheus_snapshot.tar | |
TMP_DIR=$(mktemp -d) | |
cd $TMP_DIR | |
wget https://storage.googleapis.com/kubernetes-jenkins/pr-logs/pull/108414/pull-kubernetes-e2e-gce-100-performance/1499390264190439424/artifacts/prometheus_snapshot.tar | |
tar xvf prometheus_snapshot.tar | |
touch prometheus.yml | |
SNAPSHOT=$(ls prometheus/snapshots/) | |
sudo docker run --rm -p 9090:9090 -uroot -v $PWD/prometheus.yml:/prometheus/prometheus.yml \ | |
-v $PWD/prometheus/snapshots/$SNAPSHOT:/prometheus \ | |
prom/prometheus --storage.tsdb.path=/prometheus |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment