(plugin) apps::ceph::restapi - mode pools fix metrics (#3986)

This commit is contained in:
qgarnier 2022-10-13 09:58:05 +02:00 committed by GitHub
parent 03eba3d9cb
commit 5e44d568ef
1 changed files with 2 additions and 2 deletions

View File

@ -101,7 +101,7 @@ sub set_counters {
output_template => 'read: %s %s/s',
output_change_bytes => 1,
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_change_bytes => 1,
perfdatas => [
{ template => '%d', unit => 'B/s', min => 0 }
{ template => '%d', unit => 'B/s', min => 0, label_extra_instance => 1 }
]
}
}