enh(jvm/jmx): change some metrics name

This commit is contained in:
garnier-quentin 2021-08-03 14:28:47 +02:00
parent 1a701de7f4
commit 1e1cde2654
2 changed files with 3 additions and 3 deletions

View File

@ -48,7 +48,7 @@ sub set_counters {
]
}
},
{ label => 'loaded', nlabel => 'class.loaded.total.count', set => {
{ label => 'loaded', nlabel => 'class.loaded.count', set => {
key_values => [ { name => 'TotalLoadedClassCount', diff => 1 } ],
output_template => 'loaded: %s',
perfdatas => [
@ -56,7 +56,7 @@ sub set_counters {
]
}
},
{ label => 'unloaded', nlabel => 'class.unloaded.total.count', set => {
{ label => 'unloaded', nlabel => 'class.unloaded.count', set => {
key_values => [ { name => 'UnloadedClassCount', diff => 1 } ],
output_template => 'unloaded: %s',
perfdatas => [

View File

@ -40,7 +40,7 @@ sub set_counters {
];
$self->{maps_counters}->{gc} = [
{ label => 'time', nlabel => 'gc.collection.elapsed_time.milliseconds', set => {
{ label => 'time', nlabel => 'gc.collection.time.elapsed.milliseconds', set => {
key_values => [ { name => 'time', diff => 1 }, { name => 'display' } ],
output_template => 'collection time: %s ms',
perfdatas => [