public class KeyspaceMetrics
extends java.lang.Object
ColumnFamilyStore
.Modifier and Type | Field and Description |
---|---|
com.codahale.metrics.Gauge<java.lang.Long> |
allMemtablesLiveDataSize
Total amount of live data stored in the memtables (2i and pending flush memtables included) that resides off-heap, excluding any data structure overhead
|
com.codahale.metrics.Gauge<java.lang.Long> |
allMemtablesOffHeapDataSize
Total amount of data stored in the memtables (2i and pending flush memtables included) that resides off-heap.
|
com.codahale.metrics.Gauge<java.lang.Long> |
allMemtablesOnHeapDataSize
Total amount of data stored in the memtables (2i and pending flush memtables included) that resides on-heap.
|
com.codahale.metrics.Gauge<java.lang.Long> |
bloomFilterDiskSpaceUsed
Disk space used by bloom filter
|
com.codahale.metrics.Gauge<java.lang.Long> |
bloomFilterOffHeapMemoryUsed
Off heap memory used by bloom filter
|
LatencyMetrics |
casCommit
CAS Commit metrics
|
LatencyMetrics |
casPrepare
CAS Prepare metric
|
LatencyMetrics |
casPropose
CAS Propose metrics
|
com.codahale.metrics.Histogram |
colUpdateTimeDeltaHistogram
Column update time delta on this Keyspace
|
com.codahale.metrics.Gauge<java.lang.Long> |
compressionMetadataOffHeapMemoryUsed
Off heap memory used by compression meta data
|
MetricNameFactory |
factory |
com.codahale.metrics.Gauge<java.lang.Long> |
indexSummaryOffHeapMemoryUsed
Off heap memory used by index summary
|
com.codahale.metrics.Gauge<java.lang.Long> |
liveDiskSpaceUsed
Disk space used by SSTables belonging to this CF
|
com.codahale.metrics.Histogram |
liveScannedHistogram
Live cells scanned in queries on this Keyspace
|
com.codahale.metrics.Gauge<java.lang.Long> |
memtableColumnsCount
Total number of columns present in the memtable.
|
com.codahale.metrics.Gauge<java.lang.Long> |
memtableLiveDataSize
Total amount of live data stored in the memtable, excluding any data structure overhead
|
com.codahale.metrics.Gauge<java.lang.Long> |
memtableOffHeapDataSize
Total amount of data stored in the memtable that resides off-heap, including column related overhead and partitions overwritten.
|
com.codahale.metrics.Gauge<java.lang.Long> |
memtableOnHeapDataSize
Total amount of data stored in the memtable that resides on-heap, including column related overhead and partitions overwritten.
|
com.codahale.metrics.Gauge<java.lang.Long> |
memtableSwitchCount
Number of times flush has resulted in the memtable being switched out.
|
com.codahale.metrics.Gauge<java.lang.Long> |
pendingCompactions
Estimate of number of pending compactios for this CF
|
com.codahale.metrics.Gauge<java.lang.Long> |
pendingFlushes
Estimated number of tasks pending for this column family
|
LatencyMetrics |
rangeLatency
(Local) range slice metrics
|
LatencyMetrics |
readLatency
(Local) read metrics
|
com.codahale.metrics.Histogram |
sstablesPerReadHistogram
Histogram of the number of sstable data files accessed per read
|
com.codahale.metrics.Histogram |
tombstoneScannedHistogram
Tombstones scanned in queries on this Keyspace
|
com.codahale.metrics.Gauge<java.lang.Long> |
totalDiskSpaceUsed
Total disk space used by SSTables belonging to this CF, including obsolete ones waiting to be GC'd
|
com.codahale.metrics.Timer |
viewLockAcquireTime
time taken acquiring the partition lock for materialized view updates on this keyspace
|
com.codahale.metrics.Timer |
viewReadTime
time taken during the local read of a materialized view update
|
LatencyMetrics |
writeLatency
(Local) write metrics
|
Constructor and Description |
---|
KeyspaceMetrics(Keyspace ks)
Creates metrics for given
ColumnFamilyStore . |
Modifier and Type | Method and Description |
---|---|
void |
release()
Release all associated metrics.
|
public final com.codahale.metrics.Gauge<java.lang.Long> memtableLiveDataSize
public final com.codahale.metrics.Gauge<java.lang.Long> memtableOnHeapDataSize
public final com.codahale.metrics.Gauge<java.lang.Long> memtableOffHeapDataSize
public final com.codahale.metrics.Gauge<java.lang.Long> allMemtablesLiveDataSize
public final com.codahale.metrics.Gauge<java.lang.Long> allMemtablesOnHeapDataSize
public final com.codahale.metrics.Gauge<java.lang.Long> allMemtablesOffHeapDataSize
public final com.codahale.metrics.Gauge<java.lang.Long> memtableColumnsCount
public final com.codahale.metrics.Gauge<java.lang.Long> memtableSwitchCount
public final com.codahale.metrics.Gauge<java.lang.Long> pendingFlushes
public final com.codahale.metrics.Gauge<java.lang.Long> pendingCompactions
public final com.codahale.metrics.Gauge<java.lang.Long> liveDiskSpaceUsed
public final com.codahale.metrics.Gauge<java.lang.Long> totalDiskSpaceUsed
public final com.codahale.metrics.Gauge<java.lang.Long> bloomFilterDiskSpaceUsed
public final com.codahale.metrics.Gauge<java.lang.Long> bloomFilterOffHeapMemoryUsed
public final com.codahale.metrics.Gauge<java.lang.Long> indexSummaryOffHeapMemoryUsed
public final com.codahale.metrics.Gauge<java.lang.Long> compressionMetadataOffHeapMemoryUsed
public final LatencyMetrics readLatency
public final LatencyMetrics rangeLatency
public final LatencyMetrics writeLatency
public final com.codahale.metrics.Histogram sstablesPerReadHistogram
public final com.codahale.metrics.Histogram tombstoneScannedHistogram
public final com.codahale.metrics.Histogram liveScannedHistogram
public final com.codahale.metrics.Histogram colUpdateTimeDeltaHistogram
public final com.codahale.metrics.Timer viewLockAcquireTime
public final com.codahale.metrics.Timer viewReadTime
public final LatencyMetrics casPrepare
public final LatencyMetrics casPropose
public final LatencyMetrics casCommit
public final MetricNameFactory factory
public KeyspaceMetrics(Keyspace ks)
ColumnFamilyStore
.ks
- Keyspace to measure metricsCopyright © 2009- The Apache Software Foundation