$d1 =~ s/,$//;
$d2 =~ s/,$//;
$d3 =~ s/,$//;
- &flotr2_graph(1, 'connectionspersecond_graph', $d1, $d2, $d3, 'Connections per second (' . $avg_minutes . ' minutes average)',
+ &flotr2_graph(2, 'connectionspersecond_graph', $d1, $d2, $d3, 'Connections per second (' . $avg_minutes . ' minutes average)',
'Connections per second','Maximum','Average','Minimum');
$d1 = '';
$d2 = '';
}
$d1 =~ s/,$//;
$d2 =~ s/,$//;
- &flotr2_graph(2, 'allqueries_graph', $d1, '', '', 'All queries',
+ &flotr2_graph(3, 'allqueries_graph', $d1, '', '', 'All queries',
'Queries','Number of queries','','','Duration',$d2,'Average duration (s)');
$d1 = '';
$d2 = '';
}
$d1 =~ s/,$//;
$d2 =~ s/,$//;
- &flotr2_graph(3, 'selectqueries_graph', $d1, '', '', 'SELECT queries',
+ &flotr2_graph(4, 'selectqueries_graph', $d1, '', '', 'SELECT queries',
'Queries','Number of queries','','','Duration',$d2,'Average duration (s)');
$d1 = '';
$d2 = '';
$d2 =~ s/,$//;
$d3 =~ s/,$//;
$d4 =~ s/,$//;
- &flotr2_graph(4, 'writequeries_graph', $d1, $d2, $d3, 'Write queries',
+ &flotr2_graph(5, 'writequeries_graph', $d1, $d2, $d3, 'Write queries',
'Queries','DELETE queries','INSERT queries','UPDATE queries','Duration',$d4,'Average duration (s)');
$d1 = '';
$d2 = '';
}
}
$d1 =~ s/,$//;
- &flotr2_graph(5, 'checkpointwritebuffers_graph', $d1, '', '', 'Checkpoint write buffers',
+ &flotr2_graph(6, 'checkpointwritebuffers_graph', $d1, '', '', 'Checkpoint write buffers',
'Buffers','Write buffers','','');
$d1 = '';
$d1 =~ s/,$//;
$d2 =~ s/,$//;
$d3 =~ s/,$//;
- &flotr2_graph(6, 'checkpointfiles_graph', $d1, $d2, $d3, 'Checkpoint Wal files usage',
+ &flotr2_graph(7, 'checkpointfiles_graph', $d1, $d2, $d3, 'Checkpoint Wal files usage',
'Number of files','Added','Removed','Recycled');
$d1 = '';
$d2 = '';
}
$d1 =~ s/,$//;
$d2 =~ s/,$//;
- &flotr2_graph(7, 'temporaryfile_graph', $d1, '', '', 'Temporary files',
+ &flotr2_graph(8, 'temporaryfile_graph', $d1, '', '', 'Temporary files',
'Size of files','Size of files','','','Number of files',$d2,'Number of files');
$d1 = '';
$d2 = '';
} else {
$data{"Sum types < $pie_percentage_limit%"} += $total - $totala;
}
- &flotr2_piegraph(8, 'queriesbytype_graph','Type of queries', %data);
+ &flotr2_piegraph(9, 'queriesbytype_graph','Type of queries', %data);
}
print $fh "</td></tr></table>\n";
}
$locktype{$small[0]} = $locktype{"Sum types < $pie_percentage_limit%"};
delete $locktype{"Sum types < $pie_percentage_limit%"};
}
- &flotr2_piegraph(9, 'lockbytype_graph','Type of locks', %locktype);
+ &flotr2_piegraph(10, 'lockbytype_graph','Type of locks', %locktype);
}
print $fh "</td></tr></table>\n";
}
$infos{$small[0]} = $infos{"Sum sessions < $pie_percentage_limit%"};
delete $infos{"Sum sessions < $pie_percentage_limit%"};
}
- &flotr2_piegraph(10, 'databasesessions_graph','Sessions per database', %infos);
+ &flotr2_piegraph(11, 'databasesessions_graph','Sessions per database', %infos);
}
print $fh "</td></tr></table>\n";
}
$infos{$small[0]} = $infos{"Sum sessions < $pie_percentage_limit%"};
delete $infos{"Sum sessions < $pie_percentage_limit%"};
}
- &flotr2_piegraph(11, 'usersessions_graph','Sessions per user', %infos);
+ &flotr2_piegraph(12, 'usersessions_graph','Sessions per user', %infos);
}
print $fh "</td></tr></table>\n";
}
$infos{$small[0]} = $infos{"Sum sessions < $pie_percentage_limit%"};
delete $infos{"Sum sessions < $pie_percentage_limit%"};
}
- &flotr2_piegraph(12, 'hostsessions_graph','Sessions per host', %infos);
+ &flotr2_piegraph(13, 'hostsessions_graph','Sessions per host', %infos);
}
print $fh "</td></tr></table>\n";
}
$infos{$small[0]} = $infos{"Sum connections < $pie_percentage_limit%"};
delete $infos{"Sum connections < $pie_percentage_limit%"};
}
- &flotr2_piegraph(13, 'databaseconnections_graph','Connections per database', %infos);
+ &flotr2_piegraph(14, 'databaseconnections_graph','Connections per database', %infos);
}
print $fh "</td></tr></table>\n";
}
$infos{$small[0]} = $infos{"Sum connections < $pie_percentage_limit%"};
delete $infos{"Sum connections < $pie_percentage_limit%"};
}
- &flotr2_piegraph(14, 'userconnections_graph','Connections per user', %infos);
+ &flotr2_piegraph(15, 'userconnections_graph','Connections per user', %infos);
}
print $fh "</td></tr></table>\n";
}
$infos{$small[0]} = $infos{"Sum connections < $pie_percentage_limit%"};
delete $infos{"Sum connections < $pie_percentage_limit%"};
}
- &flotr2_piegraph(15, 'hostconnections_graph','Connections per host', %infos);
+ &flotr2_piegraph(16, 'hostconnections_graph','Connections per host', %infos);
}
print $fh "</td></tr></table>\n";
}