Fix cassandra jmx plugin

This commit is contained in:
garnier-quentin 2019-06-04 15:57:16 +02:00
parent e0acc1b7d2
commit a3f10ec499
2 changed files with 2 additions and 2 deletions

View File

@ -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'),

View File

@ -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 => [