HDDS-2136. OM block allocation metric not paired with its failures (#1460)
This commit is contained in:
parent
a9ba2b6710
commit
b88b6826c9
@ -60,7 +60,7 @@ public class OMMetrics {
|
||||
private @Metric MutableCounterLong numKeyLists;
|
||||
private @Metric MutableCounterLong numVolumeLists;
|
||||
private @Metric MutableCounterLong numKeyCommits;
|
||||
private @Metric MutableCounterLong numAllocateBlockCalls;
|
||||
private @Metric MutableCounterLong numBlockAllocations;
|
||||
private @Metric MutableCounterLong numGetServiceLists;
|
||||
private @Metric MutableCounterLong numListS3Buckets;
|
||||
private @Metric MutableCounterLong numInitiateMultipartUploads;
|
||||
@ -90,7 +90,7 @@ public class OMMetrics {
|
||||
private @Metric MutableCounterLong numKeyListFails;
|
||||
private @Metric MutableCounterLong numVolumeListFails;
|
||||
private @Metric MutableCounterLong numKeyCommitFails;
|
||||
private @Metric MutableCounterLong numBlockAllocateCallFails;
|
||||
private @Metric MutableCounterLong numBlockAllocationFails;
|
||||
private @Metric MutableCounterLong numGetServiceListFails;
|
||||
private @Metric MutableCounterLong numListS3BucketsFails;
|
||||
private @Metric MutableCounterLong numInitiateMultipartUploadFails;
|
||||
@ -474,11 +474,11 @@ public void incNumKeyCommitFails() {
|
||||
}
|
||||
|
||||
public void incNumBlockAllocateCalls() {
|
||||
numAllocateBlockCalls.incr();
|
||||
numBlockAllocations.incr();
|
||||
}
|
||||
|
||||
public void incNumBlockAllocateCallFails() {
|
||||
numBlockAllocateCallFails.incr();
|
||||
numBlockAllocationFails.incr();
|
||||
}
|
||||
|
||||
public void incNumBucketListFails() {
|
||||
@ -702,12 +702,12 @@ public long getNumKeyCommitFails() {
|
||||
|
||||
@VisibleForTesting
|
||||
public long getNumBlockAllocates() {
|
||||
return numAllocateBlockCalls.value();
|
||||
return numBlockAllocations.value();
|
||||
}
|
||||
|
||||
@VisibleForTesting
|
||||
public long getNumBlockAllocateFails() {
|
||||
return numBlockAllocateCallFails.value();
|
||||
return numBlockAllocationFails.value();
|
||||
}
|
||||
|
||||
@VisibleForTesting
|
||||
|
Loading…
Reference in New Issue
Block a user