(plugin) apps::ceph::restapi - mode pools fix metrics (#3986)
This commit is contained in:
parent
03eba3d9cb
commit
5e44d568ef
|
@ -101,7 +101,7 @@ sub set_counters {
|
||||||
output_template => 'read: %s %s/s',
|
output_template => 'read: %s %s/s',
|
||||||
output_change_bytes => 1,
|
output_change_bytes => 1,
|
||||||
perfdatas => [
|
perfdatas => [
|
||||||
{ template => '%d', unit => 'B/s' }
|
{ template => '%d', unit => 'B/s', label_extra_instance => 1 }
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
@ -110,7 +110,7 @@ sub set_counters {
|
||||||
output_template => 'write: %s %s/s',
|
output_template => 'write: %s %s/s',
|
||||||
output_change_bytes => 1,
|
output_change_bytes => 1,
|
||||||
perfdatas => [
|
perfdatas => [
|
||||||
{ template => '%d', unit => 'B/s', min => 0 }
|
{ template => '%d', unit => 'B/s', min => 0, label_extra_instance => 1 }
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue