From e5d748395d449858a236a7b1140b080b8ba025cf Mon Sep 17 00:00:00 2001 From: SpencerA Date: Mon, 6 Oct 2014 10:04:36 -0700 Subject: [PATCH] change IP addresses for the cpu/mem perf results --- h2o-perf/web/prototype/js/customQuery.js | 4 ++-- h2o-perf/web/prototype/js/perf.js | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/h2o-perf/web/prototype/js/customQuery.js b/h2o-perf/web/prototype/js/customQuery.js index 9889b15a3a..8a49eaca96 100644 --- a/h2o-perf/web/prototype/js/customQuery.js +++ b/h2o-perf/web/prototype/js/customQuery.js @@ -53,7 +53,7 @@ function showPerfGraphs(test_name, total_hosts, dt) { url: '../prototype/php/post2.php', type: 'POST', dataType: 'JSON', - data: 'test_name=' + test_name + '&ip=192.168.1.164&dt='+dt, + data: 'test_name=' + test_name + '&ip=172.16.2.164&dt='+dt, success: function(data) { console.log(data) if(data.data.length == 0) { @@ -73,7 +73,7 @@ function showPerfGraphs(test_name, total_hosts, dt) { url: '../prototype/php/post2.php', type: 'POST', dataType: 'JSON', - data: 'test_name=' + test_name + '&ip=192.168.1.16' + (i+1) + '&dt='+dt, + data: 'test_name=' + test_name + '&ip=172.16.2.16' + (i+1) + '&dt='+dt, async: false, success: function(data) { if(data.data.length == 0) { diff --git a/h2o-perf/web/prototype/js/perf.js b/h2o-perf/web/prototype/js/perf.js index 59075aa600..4a2d0df875 100644 --- a/h2o-perf/web/prototype/js/perf.js +++ b/h2o-perf/web/prototype/js/perf.js @@ -17,7 +17,7 @@ function makeTable(json, svg) { datas[0] = header; for(i = 0; i < json.data.length; i++) { datas[i+1] = d3.values(json.data[i]); - link = "http://192.168.1.171:4040/perflink.html?test_run_id=" + datas[i+1][0] + "&test_name=" + datas[i+1][2] + "&num_hosts=" + datas[i+1][10] + "&rundate=" + datas[i+1][1].split('-').join(''); + link = "http://172.16.2.171:4040/perflink.html?test_run_id=" + datas[i+1][0] + "&test_name=" + datas[i+1][2] + "&num_hosts=" + datas[i+1][10] + "&rundate=" + datas[i+1][1].split('-').join(''); datas[i+1].push(link) }