Interface MetricsProducer


public interface MetricsProducer
Prior to 2.1.0 Accumulo used the Hadoop Metrics2 framework. In 2.1.0 Accumulo migrated away from the Metrics2 framework to Micrometer. Micrometer suggests using a particular naming convention for the metrics. The table below contains a mapping of the old to new metric names.
Summary of Metric Changes
Old Name Hadoop Metrics2 Type New Name Micrometer Type Notes
N/A N/A "accumulo.server.idle" Gauge Indicates if the server is idle or not. The value will be 1 when idle and 0 when not idle.
N/A N/A "accumulo.compactor.majc.stuck" LongTaskTimer
N/A N/A "accumulo.compactor.entries.read" FunctionCounter Number of entries read by all threads performing compactions
N/A N/A "accumulo.compactor.entries.written" FunctionCounter Number of entries written by all threads performing compactions
currentFateOps Gauge "accumulo.fate.ops" Gauge Was previously named "accumulo.fate.ops.in.progress". Changed to better reflect what the gauge is actually tracking which is all the current fate ops in any state.
FateTxOpType_{name} Gauge "accumulo.fate.ops.in.progress.by.type" Gauge Previously there was a metric per operation type with the count of in-progress transactions of that type. Now there is one metric and the type is in the tag op.type
totalFateOps Gauge "accumulo.fate.ops.activity" Gauge
totalZkConnErrors Gauge "accumulo.fate.errors" Gauge
FateTxState_NEW Gauge "accumulo.fate.tx" Gauge The state is now in a tag: state=new
FateTxState_IN_PROGRESS Gauge "accumulo.fate.tx" Gauge The state is now in a tag: state=in.progress
FateTxState_FAILED_IN_PROGRESS Gauge "accumulo.fate.tx" Gauge The state is now in a tag: state=failed.in.progress
FateTxState_FAILED Gauge "accumulo.fate.tx" Gauge The state is now in a tag: state=failed
FateTxState_SUCCESSFUL Gauge "accumulo.fate.tx" Gauge The state is now in a tag: state=successful
FateTxState_UNKNOWN Gauge "accumulo.fate.tx" Gauge The state is now in a tag: state=unknown
AccGcStarted Gauge "accumulo.gc.started" Gauge
AccGcFinished Gauge "accumulo.gc.finished" Gauge
AccGcCandidates Gauge "accumulo.gc.candidates" Gauge
AccGcInUse Gauge "accumulo.gc.in.use" Gauge
AccGcDeleted Gauge "accumulo.gc.deleted" Gauge
AccGcErrors Gauge "accumulo.gc.errors" Gauge
AccGcWalStarted Gauge "accumulo.gc.wal.started" Gauge
AccGcWalFinished Gauge "accumulo.gc.wal.finished" Gauge
AccGcWalCandidates Gauge "accumulo.gc.wal.candidates" Gauge
AccGcWalInUse Gauge "accumulo.gc.wal.in.use" Gauge
AccGcWalDeleted Gauge "accumulo.gc.wal.deleted" Gauge
AccGcWalErrors Gauge "accumulo.gc.wal.errors" Gauge
AccGcPosOpDuration Gauge "accumulo.gc.post.op.duration" Gauge
AccGcRunCycleCount Gauge "accumulo.gc.run.cycle" Gauge
entries Gauge "accumulo.tserver.entries" Gauge
entriesInMem Gauge "accumulo.tserver.entries.mem" Gauge
activeMajCs Gauge "accumulo.tserver.majc.running" Gauge
N/A N/A "accumulo.tserver.majc.stuck" LongTaskTimer
queuedMajCs Gauge "accumulo.tserver.majc.queued" Gauge
activeMinCs Gauge "accumulo.tserver.minc.running" Gauge
queuedMinCs Gauge "accumulo.tserver.minc.queued" Gauge
totalMinCs Gauge "accumulo.tserver.minc.total" Gauge
onlineTablets Gauge "accumulo.tserver.tablets.online" Gauge
N/A N/A "accumulo.tserver.tablets.assignments.warning" Gauge
openingTablets Gauge "accumulo.tserver.tablets.opening" Gauge
unopenedTablets Gauge "accumulo.tserver.tablets.unopened" Gauge
filesPerTablet Gauge "accumulo.tserver.tablets.files" Gauge
ingestRate Gauge "accumulo.tserver.ingest.mutations" Gauge Prior to 2.1.0 this metric was reported as a rate, it is now the count and the rate can be derived
ingestByteRate Gauge "accumulo.tserver.ingest.bytes" Gauge Prior to 2.1.0 this metric was reported as a rate, it is now the count and the rate can be derived
holdTime Gauge "accumulo.tserver.hold" Gauge
N/A N/A "accumulo.scan.reservation.total.timer" Timer Time to reserve a tablets files for scan
N/A N/A "accumulo.scan.busy.timeout.count" Counter Count of the scans where a busy timeout happened
N/A N/A "accumulo.scan.tablet.metadata.cache" Cache scan server tablet cache metrics
scan Stat "accumulo.scan.times" Timer
N/A N/A "accumulo.scan.files.open" Gauge
result Stat "accumulo.scan.result" Gauge
yield Stat "accumulo.scan.yields" Gauge
N/A N/A "accumulo.scan.start" Counter
N/A N/A "accumulo.scan.continue" Counter
N/A N/A "accumulo.scan.close" Counter
queries Gauge "accumulo.scan.queries" Gauge
scannedRate Gauge "accumulo.scan.query.scanned.entries" Gauge Prior to 2.1.0 this metric was reported as a rate, it is now the count and the rate can be derived
queryRate Gauge "accumulo.scan.query.results" Gauge Prior to 2.1.0 this metric was reported as a rate, it is now the count and the rate can be derived
queryByteRate Gauge "accumulo.scan.query.results.bytes" Gauge Prior to 2.1.0 this metric was reported as a rate, it is now the count and the rate can be derived
{i|e}_{compactionServiceName}_{executor_name}_queued Gauge "accumulo.tserver.compactions.majc.queued" Gauge The compaction service information is in a tag: id={i|e}_{compactionServiceName}_{executor_name}
{i|e}_{compactionServiceName}_{executor_name}_running Gauge "accumulo.tserver.compactions.majc.running" Gauge The compaction service information is in a tag: id={i|e}_{compactionServiceName}_{executor_name}
Queue Stat "accumulo.tserver.compactions.minc.queued" Timer
Minc Stat "accumulo.tserver.compactions.minc.running" Timer
ReplicationQueue Stat "accumulo.replication.queue" Timer
ReplicationQueue10m Quantiles N/A N/A
filesPendingReplication Stat "accumulo.replication.files.pending" Gauge
maxReplicationThreads Stat "accumulo.replication.threads" Gauge
numPeers Stat "accumulo.replication.peers" Gauge
permissionErrors Counter "accumulo.tserver.updates.error" Gauge Type is stored in tag: type=permission
unknownTabletErrors Counter "accumulo.tserver.updates.error" Gauge Type is stored in tag: type=unknown.tablet
constraintViolations Counter "accumulo.tserver.updates.error" Gauge Type is stored in tag: type=constraint.violation
commitPrep Stat "accumulo.tserver.updates.commit.prep" Timer
commitTime Stat "accumulo.tserver.updates.commit" Timer
waLogWriteTime Stat "accumulo.tserver.updates.walog.write" Timer
mutationArraysSize Stat "accumulo.tserver.updates.mutation.arrays.size" Distribution Summary
idle Stat "accumulo.thrift.idle" Distribution Summary
execute Stat "accumulo.thrift.execute" Distribution Summary
N/A N/A "accumulo.manager.balancer.migrations.needed" Gauge The number of migrations that need to complete before the system is balanced
Since:
2.1.0