change unit
This commit is contained in:
parent
b8ddf99a01
commit
9553a85799
|
@ -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' },
|
||||
],
|
||||
}
|
||||
},
|
||||
|
|
|
@ -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' },
|
||||
],
|
||||
}
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue