fix typo
This commit is contained in:
parent
e0fea7527a
commit
0c7c7e4e81
|
@ -34,7 +34,7 @@ sub set_counters {
|
|||
];
|
||||
|
||||
$self->{maps_counters}->{global} = [
|
||||
{ label => 'total', nlabel => 'queries.perseconds', set => {
|
||||
{ label => 'total', nlabel => 'queries.persecond', set => {
|
||||
key_values => [ { name => 'Queries', diff => 1 } ],
|
||||
per_second => 1,
|
||||
output_template => 'Total : %d',
|
||||
|
@ -48,7 +48,7 @@ sub set_counters {
|
|||
|
||||
foreach ('update', 'delete', 'insert', 'truncate', 'select', 'commit', 'begin') {
|
||||
push @{$self->{maps_counters}->{global}}, {
|
||||
label => $_, nlabel => 'queries.' . $_ . '.perseconds', display_ok => 0, set => {
|
||||
label => $_, nlabel => 'queries.' . $_ . '.persecond', display_ok => 0, set => {
|
||||
key_values => [ { name => 'Com_' . $_, diff => 1 } ],
|
||||
per_second => 1,
|
||||
output_template => $_ . ' : %d',
|
||||
|
|
|
@ -39,7 +39,7 @@ sub set_counters {
|
|||
];
|
||||
|
||||
$self->{maps_counters}->{storage} = [
|
||||
{ label => 'usage', nlabel => 'memory.usage.butes', set => {
|
||||
{ label => 'usage', nlabel => 'memory.usage.bytes', set => {
|
||||
key_values => [ { name => 'display' }, { name => 'used' }, { name => 'size' }, { name => 'allocation_units' } ],
|
||||
closure_custom_calc => $self->can('custom_usage_calc'),
|
||||
closure_custom_output => $self->can('custom_usage_output'),
|
||||
|
|
Loading…
Reference in New Issue