From 033082b2005bd40ab8748189458908387238a1d0 Mon Sep 17 00:00:00 2001 From: helen-shao Date: Tue, 3 May 2022 16:27:01 -0600 Subject: [PATCH 1/2] update readme for test --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 9088ae2..698c8c6 100644 --- a/README.md +++ b/README.md @@ -21,7 +21,9 @@ go get github.com/wavefronthq/prometheus-storage-adapter 2. Build it: ``` cd $(GOPATH)/src/github.com/wavefronthq/prometheus-storage-adapter -make deps build +go mod tidy +go mod vendor +make build ``` ## Configuration From ea8d1004ac9085aadd8292a484f782abb8daf3ee Mon Sep 17 00:00:00 2001 From: helen-shao Date: Tue, 3 May 2022 16:34:28 -0600 Subject: [PATCH 2/2] update readme --- hack/test/README.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/hack/test/README.md b/hack/test/README.md index cf02dbd..97fdbe6 100644 --- a/hack/test/README.md +++ b/hack/test/README.md @@ -1,6 +1,7 @@ # Testing Prometheus Storage Adapter for Wavefront 1. Update proxy with YOUR_API_TOKEN and YOUR_CLUSTER in hack/test/6-wavefront-proxy.yaml. -2. Apply all yamls within hack/test by +2. Create namespace by `kubectl create namespace monitoring` +3. Apply all yamls within hack/test by `kubectl apply -f hack/test/` -3. The prometheus metrics should now be available under the metric name with prefix "prometheus." \ No newline at end of file +4. The prometheus metrics should now be available under the metric name with prefix "prometheus." \ No newline at end of file