From 02268332f179383148a1ccc60fc2dead4a71d32a Mon Sep 17 00:00:00 2001 From: Qian Sun Date: Tue, 31 Jan 2017 11:04:42 -0800 Subject: [PATCH 1/2] Align with istio/proxy. Change-Id: Ic175022bffc559bbc07bea823fde38a5bebc654c --- WORKSPACE | 2 +- src/nginx/t/ServiceControl.pm | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/WORKSPACE b/WORKSPACE index 6933ecda0..05f5e291d 100644 --- a/WORKSPACE +++ b/WORKSPACE @@ -26,7 +26,7 @@ # # A Bazel (http://bazel.io) workspace for the Google Cloud Endpoints runtime. -ISTIO_PROXY = "cea882799327dbea20ce849be36088a349a35f18" +ISTIO_PROXY = "2c9c1af3d6ac5ab4d295444c30acd42599edfcb3" git_repository( name = "nginx", diff --git a/src/nginx/t/ServiceControl.pm b/src/nginx/t/ServiceControl.pm index c3d531883..333ca0666 100644 --- a/src/nginx/t/ServiceControl.pm +++ b/src/nginx/t/ServiceControl.pm @@ -66,8 +66,8 @@ sub gen_metric_int64 { } my %time_distribution = ( - buckets => 8, - growth => 10.0, + buckets => 29, + growth => 2.0, scale => 1e-6 ); From 00fa3d1fb4d68a43b775ed8851d186cf3b3db9d4 Mon Sep 17 00:00:00 2001 From: Qian Sun Date: Tue, 31 Jan 2017 12:05:18 -0800 Subject: [PATCH 2/2] Update go file. Change-Id: If0fd2a52b5b43fecc6b5ec4a1ad2864877de5b17 --- tools/src/utils/service_control.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/src/utils/service_control.go b/tools/src/utils/service_control.go index bbfdd4606..51a36dd90 100644 --- a/tools/src/utils/service_control.go +++ b/tools/src/utils/service_control.go @@ -80,7 +80,7 @@ type distOptions struct { } var ( - timeDistOptions = distOptions{8, 10.0, 1e-6} + timeDistOptions = distOptions{29, 2.0, 1e-6} sizeDistOptions = distOptions{8, 10.0, 1} randomMatrics = map[string]bool{ "serviceruntime.googleapis.com/api/consumer/total_latencies": true,