Skip to content

Commit

Permalink
fix perfdata solr jmx
Browse files Browse the repository at this point in the history
  • Loading branch information
qgarnier committed Sep 13, 2017
1 parent d608aea commit b57675c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions apps/java/solr/jmx/mode/requesthandlerusage.pm
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ sub set_counters {
key_values => [ { name => '15minRateRequestsPerSecond' }, { name => 'display' } ],
output_template => '15min Rate Requests : %.7f/s',
perfdatas => [
{ label => '15min_rate_requests', value => '15minRateRequestsPerSecond_absolute', template => '%.2f',
{ label => '15min_rate_requests', value => '15minRateRequestsPerSecond_absolute', template => '%.7f',
min => 0, unit => '/s', label_extra_instance => 1, instance_use => 'display_absolute' },
],
}
Expand All @@ -47,7 +47,7 @@ sub set_counters {
key_values => [ { name => 'avgRequestsPerSecond' }, { name => 'display' } ],
output_template => 'Average Requests : %.7f/s',
perfdatas => [
{ label => 'avg_requests', value => 'avgRequestsPerSecond_absolute', template => '%.2f',
{ label => 'avg_requests', value => 'avgRequestsPerSecond_absolute', template => '%.7f',
min => 0, unit => '/s', label_extra_instance => 1, instance_use => 'display_absolute' },
],
}
Expand Down

0 comments on commit b57675c

Please sign in to comment.