Class TabletServerScanMetrics
- java.lang.Object
-
- org.apache.accumulo.tserver.metrics.TabletServerScanMetrics
-
- All Implemented Interfaces:
MetricsProducer
public class TabletServerScanMetrics extends Object implements MetricsProducer
-
-
Field Summary
-
Fields inherited from interface org.apache.accumulo.core.metrics.MetricsProducer
LOG, METRICS_COMPACTOR_MAJC_STUCK, METRICS_COMPACTOR_PREFIX, METRICS_FATE_ERRORS, METRICS_FATE_OPS_ACTIVITY, METRICS_FATE_PREFIX, METRICS_FATE_TOTAL_IN_PROGRESS, METRICS_FATE_TX, METRICS_FATE_TYPE_IN_PROGRESS, METRICS_GC_CANDIDATES, METRICS_GC_DELETED, METRICS_GC_ERRORS, METRICS_GC_FINISHED, METRICS_GC_IN_USE, METRICS_GC_POST_OP_DURATION, METRICS_GC_PREFIX, METRICS_GC_RUN_CYCLE, METRICS_GC_STARTED, METRICS_GC_WAL_CANDIDATES, METRICS_GC_WAL_DELETED, METRICS_GC_WAL_ERRORS, METRICS_GC_WAL_FINISHED, METRICS_GC_WAL_IN_USE, METRICS_GC_WAL_STARTED, METRICS_MAJC_PREFIX, METRICS_MAJC_QUEUED, METRICS_MAJC_RUNNING, METRICS_MINC_PREFIX, METRICS_MINC_QUEUED, METRICS_MINC_RUNNING, METRICS_PROPSTORE_EVICTION_COUNT, METRICS_PROPSTORE_LOAD_TIMER, METRICS_PROPSTORE_PREFIX, METRICS_PROPSTORE_REFRESH_COUNT, METRICS_PROPSTORE_REFRESH_LOAD_COUNT, METRICS_PROPSTORE_ZK_ERROR_COUNT, METRICS_REPLICATION_PEERS, METRICS_REPLICATION_PENDING_FILES, METRICS_REPLICATION_PREFIX, METRICS_REPLICATION_QUEUE, METRICS_REPLICATION_THREADS, METRICS_SCAN, METRICS_SCAN_BUSY_TIMEOUT, METRICS_SCAN_CLOSE, METRICS_SCAN_CONTINUE, METRICS_SCAN_OPEN_FILES, METRICS_SCAN_RESULTS, METRICS_SCAN_START, METRICS_SCAN_YIELDS, METRICS_THRIFT_EXECUTE, METRICS_THRIFT_IDLE, METRICS_THRIFT_PREFIX, METRICS_TSERVER_ENTRIES, METRICS_TSERVER_HOLD, METRICS_TSERVER_INGEST_BYTES, METRICS_TSERVER_INGEST_MUTATIONS, METRICS_TSERVER_MAJC_QUEUED, METRICS_TSERVER_MAJC_RUNNING, METRICS_TSERVER_MAJC_STUCK, METRICS_TSERVER_MEM_ENTRIES, METRICS_TSERVER_MINC_QUEUED, METRICS_TSERVER_MINC_RUNNING, METRICS_TSERVER_MINC_TOTAL, METRICS_TSERVER_PREFIX, METRICS_TSERVER_QUERIES, METRICS_TSERVER_SCAN_RESULTS, METRICS_TSERVER_SCAN_RESULTS_BYTES, METRICS_TSERVER_SCANNED_ENTRIES, METRICS_TSERVER_TABLETS_FILES, METRICS_TSERVER_TABLETS_LONG_ASSIGNMENTS, METRICS_TSERVER_TABLETS_ONLINE, METRICS_TSERVER_TABLETS_OPENING, METRICS_TSERVER_TABLETS_UNOPENED, METRICS_UPDATE_COMMIT, METRICS_UPDATE_COMMIT_PREP, METRICS_UPDATE_ERRORS, METRICS_UPDATE_MUTATION_ARRAY_SIZE, METRICS_UPDATE_PREFIX, METRICS_UPDATE_WALOG_WRITE
-
-
Constructor Summary
Constructors Constructor Description TabletServerScanMetrics()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addResult(long value)
void
addScan(long value)
void
addYield(long value)
void
decrementOpenFiles(int delta)
long
getLookupCount()
long
getQueryByteCount()
long
getQueryResultCount()
long
getScannedCount()
LongAdder
getScannedCounter()
void
incrementCloseScan(double value)
void
incrementContinueScan(double value)
void
incrementLookupCount(long amount)
void
incrementOpenFiles(int delta)
void
incrementQueryResultBytes(long amount)
void
incrementQueryResultCount(long amount)
void
incrementScanBusyTimeout(double value)
void
incrementScannedCount(long amount)
void
incrementStartScan(double value)
void
registerMetrics(io.micrometer.core.instrument.MeterRegistry registry)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.apache.accumulo.core.metrics.MetricsProducer
getMetricFields
-
-
-
-
Method Detail
-
incrementLookupCount
public void incrementLookupCount(long amount)
-
getLookupCount
public long getLookupCount()
-
incrementQueryResultCount
public void incrementQueryResultCount(long amount)
-
getQueryResultCount
public long getQueryResultCount()
-
incrementQueryResultBytes
public void incrementQueryResultBytes(long amount)
-
getQueryByteCount
public long getQueryByteCount()
-
incrementScannedCount
public void incrementScannedCount(long amount)
-
getScannedCounter
public LongAdder getScannedCounter()
-
getScannedCount
public long getScannedCount()
-
addScan
public void addScan(long value)
-
addResult
public void addResult(long value)
-
addYield
public void addYield(long value)
-
incrementOpenFiles
public void incrementOpenFiles(int delta)
-
decrementOpenFiles
public void decrementOpenFiles(int delta)
-
incrementStartScan
public void incrementStartScan(double value)
-
incrementContinueScan
public void incrementContinueScan(double value)
-
incrementCloseScan
public void incrementCloseScan(double value)
-
incrementScanBusyTimeout
public void incrementScanBusyTimeout(double value)
-
registerMetrics
public void registerMetrics(io.micrometer.core.instrument.MeterRegistry registry)
- Specified by:
registerMetrics
in interfaceMetricsProducer
-
-