Fix cassandra jmx plugin
This commit is contained in:
parent
e0acc1b7d2
commit
a3f10ec499
|
@ -34,7 +34,7 @@ sub set_counters {
|
|||
];
|
||||
|
||||
$self->{maps_counters}->{ccache} = [
|
||||
{ label => 'used', nlabel => 'ccache.utilization.percentage' set => {
|
||||
{ label => 'used', nlabel => 'ccache.utilization.percentage', set => {
|
||||
key_values => [ { name => 'Capacity_Value' }, { name => 'Size_Value' }, { name => 'display' } ],
|
||||
closure_custom_calc => $self->can('custom_usage_calc'),
|
||||
closure_custom_output => $self->can('custom_usage_output'),
|
||||
|
|
|
@ -61,7 +61,7 @@ sub set_counters {
|
|||
],
|
||||
}
|
||||
},
|
||||
label => 'failures', nlabel => 'client.request.failure.count', set => {
|
||||
{ label => 'failures', nlabel => 'client.request.failure.count', set => {
|
||||
key_values => [ { name => 'Failures_Count', diff => 1 }, { name => 'display' } ],
|
||||
output_template => 'Failures : %s',
|
||||
perfdatas => [
|
||||
|
|
Loading…
Reference in New Issue