Skip to content

Commit

Permalink
change IP addresses for the cpu/mem perf results
Browse files Browse the repository at this point in the history
  • Loading branch information
spennihana committed Oct 6, 2014
1 parent 15b512f commit e5d7483
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions h2o-perf/web/prototype/js/customQuery.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand All @@ -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) {
Expand Down
2 changes: 1 addition & 1 deletion h2o-perf/web/prototype/js/perf.js
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}

Expand Down

0 comments on commit e5d7483

Please sign in to comment.