From ab52752d573b9dcb139a44f5378b3bfc7940c04d Mon Sep 17 00:00:00 2001 From: stefanprodan Date: Thu, 27 Dec 2018 12:16:10 +0200 Subject: [PATCH] Add observer histogram test --- pkg/controller/observer_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/controller/observer_test.go b/pkg/controller/observer_test.go index 4f378fca..753e7dcc 100644 --- a/pkg/controller/observer_test.go +++ b/pkg/controller/observer_test.go @@ -42,7 +42,7 @@ func TestCanaryObserver_GetDeploymentHistogram(t *testing.T) { metricsServer: ts.URL, } - val, err := observer.GetDeploymentHistogram("podinfo", "default", "istio_requests_total", "1m") + val, err := observer.GetDeploymentHistogram("podinfo", "default", "istio_request_duration_seconds_bucket", "1m") if err != nil { t.Fatal(err.Error()) }