change unit

This commit is contained in:
qgarnier 2017-10-09 15:03:27 +02:00
parent b8ddf99a01
commit 9553a85799
2 changed files with 12 additions and 12 deletions

View File

@ -55,19 +55,19 @@ sub set_counters {
},
{ label => 'latency-inner', set => {
key_values => [ { name => 'latency_inner' } ],
output_template => 'Latency Inner : %.6fs',
output_template => 'Latency Inner : %.6fms',
perfdatas => [
{ label => 'latency_inner', value => 'latency_inner_absolute', template => '%.6f',
min => 0, unit => 's' },
min => 0, unit => 'ms' },
],
}
},
{ label => 'latency-outer', set => {
key_values => [ { name => 'latency_outer' } ],
output_template => 'Latency Outer : %.6fs',
output_template => 'Latency Outer : %.6fms',
perfdatas => [
{ label => 'latency_outer', value => 'latency_outer_absolute', template => '%.6f',
min => 0, unit => 's' },
min => 0, unit => 'ms' },
],
}
},
@ -95,19 +95,19 @@ sub set_counters {
},
{ label => 'bs-latency-inner', set => {
key_values => [ { name => 'latency_inner' }, { name => 'display' } ],
output_template => 'Latency Inner : %.6fs',
output_template => 'Latency Inner : %.6fms',
perfdatas => [
{ label => 'latency_inner', value => 'latency_inner_absolute', template => '%.6f',
min => 0, unit => 's', label_extra_instance => 1, instance_use => 'display_absolute' },
min => 0, unit => 'ms', label_extra_instance => 1, instance_use => 'display_absolute' },
],
}
},
{ label => 'bs-latency-outer', set => {
key_values => [ { name => 'latency_outer' }, { name => 'display' } ],
output_template => 'Latency Outer : %.6fs',
output_template => 'Latency Outer : %.6fms',
perfdatas => [
{ label => 'latency_outer', value => 'latency_outer_absolute', template => '%.6f',
min => 0, unit => 's', label_extra_instance => 1, instance_use => 'display_absolute' },
min => 0, unit => 'ms', label_extra_instance => 1, instance_use => 'display_absolute' },
],
}
},

View File

@ -54,19 +54,19 @@ sub set_counters {
},
{ label => 'latency-inner', set => {
key_values => [ { name => 'latency_inner' }, { name => 'display' } ],
output_template => 'Latency Inner : %.6fs',
output_template => 'Latency Inner : %.6fms',
perfdatas => [
{ label => 'latency_inner', value => 'latency_inner_absolute', template => '%.6f',
min => 0, unit => 's', label_extra_instance => 1, instance_use => 'display_absolute' },
min => 0, unit => 'ms', label_extra_instance => 1, instance_use => 'display_absolute' },
],
}
},
{ label => 'latency-outer', set => {
key_values => [ { name => 'latency_outer' }, { name => 'display' } ],
output_template => 'Latency Outer : %.6fs',
output_template => 'Latency Outer : %.6fms',
perfdatas => [
{ label => 'latency_outer', value => 'latency_outer_absolute', template => '%.6f',
min => 0, unit => 's', label_extra_instance => 1, instance_use => 'display_absolute' },
min => 0, unit => 'ms', label_extra_instance => 1, instance_use => 'display_absolute' },
],
}
},