@@ -83,10 +83,10 @@ public enum Metric {
8383 MetricDocSection .COMPACTION , "Majc In Progress" , null , NUMBER ),
8484 COMPACTOR_MAJC_STUCK ("accumulo.compaction.majc.stuck" , MetricType .LONG_TASK_TIMER ,
8585 "Number and duration of stuck major compactions." , MetricDocSection .COMPACTION , "Majc Stuck" ,
86- null , NUMBER ),
86+ null , DURATION ),
8787 COMPACTOR_MINC_STUCK ("accumulo.compaction.minc.stuck" , MetricType .LONG_TASK_TIMER ,
8888 "Number and duration of stuck minor compactions." , MetricDocSection .COMPACTION , "Minc Stuck" ,
89- null , NUMBER ),
89+ null , DURATION ),
9090 COMPACTOR_ENTRIES_READ ("accumulo.compaction.entries.read" , MetricType .FUNCTION_COUNTER ,
9191 "Number of entries read by all compactions that have run on this compactor (majc) or tserver (minc)." ,
9292 MetricDocSection .COMPACTION , "Compaction Entries Read" , null , NUMBER ),
@@ -122,7 +122,7 @@ public enum Metric {
122122 MetricDocSection .COMPACTION , "Compaction Queue Avg Job Age" , null , NUMBER ),
123123 COMPACTOR_JOB_PRIORITY_QUEUE_JOBS_POLL_TIMER ("accumulo.compaction.queue.jobs.exit.time" ,
124124 MetricType .TIMER , "Tracks time a job spent in the queue before exiting the queue." ,
125- MetricDocSection .COMPACTION , "Compaction Queue Job Time Queued" , null , NUMBER ),
125+ MetricDocSection .COMPACTION , "Compaction Queue Job Time Queued" , null , DURATION ),
126126
127127 // Fate Metrics
128128 FATE_TYPE_IN_PROGRESS ("accumulo.fate.ops.in.progress.by.type" , MetricType .GAUGE ,
@@ -242,11 +242,11 @@ public enum Metric {
242242 // Scan Server Metrics
243243 SCAN_RESERVATION_TOTAL_TIMER ("accumulo.scan.reservation.total.timer" , MetricType .TIMER ,
244244 "Average time to reserve a tablet's files for scan." , MetricDocSection .SCAN_SERVER ,
245- "Mean Reservation" , null , NUMBER ),
245+ "Mean Reservation" , null , DURATION ),
246246 SCAN_RESERVATION_WRITEOUT_TIMER ("accumulo.scan.reservation.writeout.timer" , MetricType .TIMER ,
247247 "Time to write out a tablets file reservations for scan." , MetricDocSection .SCAN_SERVER ,
248- "Scan Reservation Write Time" , null , NUMBER ),
249- SCAN_RESERVATION_FILES ("accumulo.scan.reservation.files" , MetricType .TIMER ,
248+ "Scan Reservation Write Time" , null , DURATION ),
249+ SCAN_RESERVATION_FILES ("accumulo.scan.reservation.files" , MetricType .GAUGE ,
250250 "The number of files reserved by a scan server." , MetricDocSection .SCAN_SERVER ,
251251 "Files Reserved" , null , NUMBER ),
252252 SCAN_RESERVATION_CONFLICT_COUNTER ("accumulo.scan.reservation.conflict.count" , MetricType .COUNTER ,
@@ -261,7 +261,7 @@ public enum Metric {
261261
262262 // Scan Metrics
263263 SCAN_TIMES ("accumulo.scan.times" , MetricType .TIMER , "Scan session lifetime (creation to close)." ,
264- MetricDocSection .SCAN , "Scan Session Total Time" , null , NUMBER ),
264+ MetricDocSection .SCAN , "Scan Session Total Time" , null , DURATION ),
265265 SCAN_OPEN_FILES ("accumulo.scan.files.open" , MetricType .GAUGE , "Number of files open for scans." ,
266266 MetricDocSection .SCAN , "Scan Files Open" , null , NUMBER ),
267267 SCAN_RESULTS ("accumulo.scan.result" , MetricType .DISTRIBUTION_SUMMARY , "Results per scan." ,
@@ -310,10 +310,11 @@ public enum Metric {
310310 // Minor Compaction Metrics
311311 MINC_QUEUED ("accumulo.compaction.minc.queued" , MetricType .TIMER ,
312312 "Queued minor compactions time queued." , MetricDocSection .COMPACTION , "Minc Queued" , null ,
313- NUMBER ),
313+ DURATION ),
314314 MINC_RUNNING ("accumulo.compaction.minc.running" , MetricType .TIMER ,
315- "Minor compactions time active." , MetricDocSection .COMPACTION , "Minc Running" , null , NUMBER ),
316- MINC_PAUSED ("accumulo.compaction.minc.paused" , MetricType .COUNTER ,
315+ "Minor compactions time active." , MetricDocSection .COMPACTION , "Minc Running" , null ,
316+ DURATION ),
317+ MINC_PAUSED ("accumulo.compaction.minc.paused" , MetricType .FUNCTION_COUNTER ,
317318 "Number of paused minor compactions." , MetricDocSection .COMPACTION , "Minc Paused" , null ,
318319 NUMBER ),
319320
@@ -323,19 +324,19 @@ public enum Metric {
323324 MetricDocSection .TABLET_SERVER , "Ingest Errors" , null , NUMBER ),
324325 UPDATE_LOCK ("accumulo.updates.lock" , MetricType .TIMER ,
325326 "Average time taken for conditional mutation to get a row lock." ,
326- MetricDocSection .TABLET_SERVER , "Conditional Mutation Row Lock Wait Time" , null , NUMBER ),
327+ MetricDocSection .TABLET_SERVER , "Conditional Mutation Row Lock Wait Time" , null , DURATION ),
327328 UPDATE_CHECK ("accumulo.updates.check" , MetricType .TIMER ,
328329 "Average time taken for conditional mutation to check conditions." ,
329- MetricDocSection .TABLET_SERVER , "Conditional Mutation Condition Check Time" , null , NUMBER ),
330+ MetricDocSection .TABLET_SERVER , "Conditional Mutation Condition Check Time" , null , DURATION ),
330331 UPDATE_COMMIT ("accumulo.updates.commit" , MetricType .TIMER ,
331332 "Average time taken to commit a mutation." , MetricDocSection .TABLET_SERVER ,
332- "Mutation Commit Avg Total Time" , null , NUMBER ),
333+ "Mutation Commit Avg Total Time" , null , DURATION ),
333334 UPDATE_COMMIT_PREP ("accumulo.updates.commit.prep" , MetricType .TIMER ,
334335 "Average time taken to prepare to commit a single mutation." , MetricDocSection .TABLET_SERVER ,
335- "Mutation Commit Avg Prep Time" , null , NUMBER ),
336+ "Mutation Commit Avg Prep Time" , null , DURATION ),
336337 UPDATE_WALOG_WRITE ("accumulo.updates.walog.write" , MetricType .TIMER ,
337338 "Time taken to write a batch of mutations to WAL." , MetricDocSection .TABLET_SERVER ,
338- "WAL Write Time" , null , NUMBER ),
339+ "WAL Write Time" , null , DURATION ),
339340 UPDATE_MUTATION_ARRAY_SIZE ("accumulo.updates.mutation.arrays.size" ,
340341 MetricType .DISTRIBUTION_SUMMARY , "Batch size of mutations from client." ,
341342 MetricDocSection .TABLET_SERVER , "Mutation Batch Size" , null , NUMBER ),
0 commit comments