@ThreadSafe public final class MetricKey extends Object implements Comparable<MetricKey>
Modifier and Type | Class and Description |
---|---|
static class |
MetricKey.Builder
Builder to create
MetricKey instances. |
static class |
MetricKey.Name
A nested class to hold named string constants for their corresponding metrics.
|
Modifier and Type | Method and Description |
---|---|
static Collection<? extends MetricKey> |
allMetricKeys() |
static Set<MetricKey> |
allShouldReportMetricKeys(MetricsSystem.InstanceType instanceType)
Gets all the metric keys that belong to the given instance type
and should be reported.
|
int |
compareTo(MetricKey o) |
boolean |
equals(Object o) |
static MetricKey |
fromString(String name)
Parses a given name and return its corresponding
MetricKey ,
throwing exception if no such a Metric can be found. |
String |
getDescription() |
String |
getMetricName() |
MetricType |
getMetricType() |
String |
getName() |
static String |
getSyncMetricName(long mountId) |
int |
hashCode() |
boolean |
isClusterAggregated() |
static boolean |
isValid(String name) |
static boolean |
register(MetricKey key)
Registers the given key to the global key map.
|
String |
toString() |
static void |
unregister(MetricKey key)
Unregisters the given key from the global key map.
|
public static final MetricKey MASTER_ABSENT_CACHE_HITS
public static final MetricKey MASTER_ABSENT_CACHE_MISSES
public static final MetricKey MASTER_ABSENT_CACHE_SIZE
public static final MetricKey MASTER_ABSENT_PATH_CACHE_QUEUE_SIZE
public static final MetricKey MASTER_EDGE_CACHE_EVICTIONS
public static final MetricKey MASTER_EDGE_CACHE_HITS
public static final MetricKey MASTER_EDGE_CACHE_LOAD_TIMES
public static final MetricKey MASTER_EDGE_CACHE_MISSES
public static final MetricKey MASTER_EDGE_CACHE_SIZE
public static final MetricKey MASTER_FILES_PINNED
public static final MetricKey MASTER_FILES_TO_PERSIST
public static final MetricKey MASTER_FILE_SIZE
public static final MetricKey MASTER_INODE_CACHE_EVICTIONS
public static final MetricKey MASTER_INODE_CACHE_HITS
public static final MetricKey MASTER_INODE_CACHE_HIT_RATIO
public static final MetricKey MASTER_INODE_CACHE_LOAD_TIMES
public static final MetricKey MASTER_INODE_CACHE_MISSES
public static final MetricKey MASTER_INODE_CACHE_SIZE
public static final MetricKey MASTER_JOURNAL_SPACE_FREE_BYTES
public static final MetricKey MASTER_JOURNAL_SPACE_FREE_PERCENT
public static final MetricKey MASTER_LOST_BLOCK_COUNT
public static final MetricKey MASTER_TO_REMOVE_BLOCK_COUNT
public static final MetricKey MASTER_LOST_FILE_COUNT
public static final MetricKey MASTER_TOTAL_PATHS
public static final MetricKey MASTER_UNIQUE_BLOCKS
public static final MetricKey MASTER_CACHED_BLOCK_LOCATIONS
public static final MetricKey MASTER_TOTAL_RPCS
public static final MetricKey MASTER_TOTAL_BLOCK_REPLICA_COUNT
public static final MetricKey MASTER_TTL_BUCKETS
public static final MetricKey MASTER_TTL_INODES
public static final MetricKey MASTER_INODE_HEAP_SIZE
public static final MetricKey MASTER_BLOCK_HEAP_SIZE
public static final MetricKey MASTER_RPC_QUEUE_LENGTH
public static final MetricKey MASTER_RPC_THREAD_ACTIVE_COUNT
public static final MetricKey MASTER_RPC_THREAD_CURRENT_COUNT
public static final MetricKey MASTER_REPLICA_MGMT_ACTIVE_JOB_SIZE
public static final MetricKey MASTER_LAST_BACKUP_ENTRIES_COUNT
public static final MetricKey MASTER_LAST_BACKUP_TIME_MS
public static final MetricKey MASTER_LAST_BACKUP_RESTORE_COUNT
public static final MetricKey MASTER_LAST_BACKUP_RESTORE_TIME_MS
public static final MetricKey MASTER_DIRECTORIES_CREATED
public static final MetricKey MASTER_FILE_BLOCK_INFOS_GOT
public static final MetricKey MASTER_FILE_INFOS_GOT
public static final MetricKey MASTER_FILES_COMPLETED
public static final MetricKey MASTER_FILES_CREATED
public static final MetricKey MASTER_FILES_FREED
public static final MetricKey MASTER_FILES_PERSISTED
public static final MetricKey MASTER_NEW_BLOCKS_GOT
public static final MetricKey MASTER_PATHS_DELETED
public static final MetricKey MASTER_PATHS_MOUNTED
public static final MetricKey MASTER_PATHS_RENAMED
public static final MetricKey MASTER_PATHS_UNMOUNTED
public static final MetricKey MASTER_COMPLETED_OPERATION_RETRY_COUNT
public static final MetricKey MASTER_COMPLETE_FILE_OPS
public static final MetricKey MASTER_CREATE_DIRECTORIES_OPS
public static final MetricKey MASTER_CREATE_FILES_OPS
public static final MetricKey MASTER_DELETE_PATHS_OPS
public static final MetricKey MASTER_FREE_FILE_OPS
public static final MetricKey MASTER_GET_FILE_BLOCK_INFO_OPS
public static final MetricKey MASTER_GET_FILE_INFO_OPS
public static final MetricKey MASTER_GET_NEW_BLOCK_OPS
public static final MetricKey MASTER_LISTING_CACHE_EVICTIONS
public static final MetricKey MASTER_LISTING_CACHE_HITS
public static final MetricKey MASTER_LISTING_CACHE_LOAD_TIMES
public static final MetricKey MASTER_LISTING_CACHE_MISSES
public static final MetricKey MASTER_LISTING_CACHE_SIZE
public static final MetricKey MASTER_MOUNT_OPS
public static final MetricKey MASTER_REPLICATION_LIMITED_FILES
public static final MetricKey MASTER_RENAME_PATH_OPS
public static final MetricKey MASTER_SET_ACL_OPS
public static final MetricKey MASTER_SET_ATTRIBUTE_OPS
public static final MetricKey MASTER_UNMOUNT_OPS
public static final MetricKey MASTER_INODE_LOCK_POOL_SIZE
public static final MetricKey MASTER_EDGE_LOCK_POOL_SIZE
public static final MetricKey MASTER_AUDIT_LOG_ENTRIES_SIZE
public static final MetricKey PROXY_AUDIT_LOG_ENTRIES_SIZE
public static final MetricKey PROXY_CHECK_UPLOADID_STATUS_LATENCY
public static final MetricKey PROXY_COMPLETE_MP_UPLOAD_MERGE_LATENCY
public static final MetricKey PROXY_CLEANUP_MULTIPART_UPLOAD_LATENCY
public static final MetricKey PROXY_CLEANUP_TEMP_MULTIPART_UPLOAD_OBJ_LATENCY
public static final MetricKey MASTER_METADATA_SYNC_UFS_MOUNT
public static final MetricKey MASTER_METADATA_SYNC_OPS_COUNT
public static final MetricKey MASTER_METADATA_SYNC_TIME_MS
public static final MetricKey MASTER_METADATA_SYNC_SKIPPED
public static final MetricKey MASTER_METADATA_SYNC_NO_CHANGE
public static final MetricKey MASTER_METADATA_SYNC_SUCCESS
public static final MetricKey MASTER_METADATA_SYNC_FAIL
public static final MetricKey MASTER_METADATA_SYNC_PENDING_PATHS
public static final MetricKey MASTER_METADATA_SYNC_ACTIVE_PATHS
public static final MetricKey MASTER_METADATA_SYNC_PATHS_CANCEL
public static final MetricKey MASTER_METADATA_SYNC_PATHS_SUCCESS
public static final MetricKey MASTER_METADATA_SYNC_PATHS_FAIL
public static final MetricKey MASTER_METADATA_SYNC_PREFETCH_OPS_COUNT
public static final MetricKey MASTER_METADATA_SYNC_PREFETCH_SUCCESS
public static final MetricKey MASTER_METADATA_SYNC_PREFETCH_FAIL
public static final MetricKey MASTER_METADATA_SYNC_PREFETCH_CANCEL
public static final MetricKey MASTER_METADATA_SYNC_PREFETCH_RETRIES
public static final MetricKey MASTER_METADATA_SYNC_PREFETCH_PATHS
public static final MetricKey MASTER_UFS_STATUS_CACHE_SIZE
public static final MetricKey MASTER_UFS_STATUS_CACHE_CHILDREN_SIZE
public static final MetricKey MASTER_METADATA_SYNC_PREFETCH_EXECUTOR
public static final MetricKey MASTER_METADATA_SYNC_PREFETCH_EXECUTOR_QUEUE_SIZE
public static final MetricKey MASTER_METADATA_SYNC_EXECUTOR
public static final MetricKey MASTER_METADATA_SYNC_EXECUTOR_QUEUE_SIZE
public static final MetricKey MASTER_EMBEDDED_JOURNAL_LAST_SNAPSHOT_DURATION_MS
public static final MetricKey MASTER_EMBEDDED_JOURNAL_LAST_SNAPSHOT_ENTRIES_COUNT
public static final MetricKey MASTER_EMBEDDED_JOURNAL_SNAPSHOT_GENERATE_TIMER
public static final MetricKey MASTER_EMBEDDED_JOURNAL_SNAPSHOT_DOWNLOAD_TIMER
public static final MetricKey MASTER_EMBEDDED_JOURNAL_LAST_SNAPSHOT_DOWNLOAD_DURATION_MS
public static final MetricKey MASTER_EMBEDDED_JOURNAL_SNAPSHOT_DOWNLOAD_HISTOGRAM
public static final MetricKey MASTER_EMBEDDED_JOURNAL_LAST_SNAPSHOT_DOWNLOAD_SIZE
public static final MetricKey MASTER_EMBEDDED_JOURNAL_SNAPSHOT_DOWNLOAD_DISK_HISTOGRAM
public static final MetricKey MASTER_EMBEDDED_JOURNAL_LAST_SNAPSHOT_DOWNLOAD_DISK_SIZE
public static final MetricKey MASTER_EMBEDDED_JOURNAL_SNAPSHOT_UPLOAD_HISTOGRAM
public static final MetricKey MASTER_EMBEDDED_JOURNAL_LAST_SNAPSHOT_UPLOAD_SIZE
public static final MetricKey MASTER_EMBEDDED_JOURNAL_SNAPSHOT_UPLOAD_DISK_HISTOGRAM
public static final MetricKey MASTER_EMBEDDED_JOURNAL_LAST_SNAPSHOT_UPLOAD_DISK_SIZE
public static final MetricKey MASTER_EMBEDDED_JOURNAL_SNAPSHOT_UPLOAD_TIMER
public static final MetricKey MASTER_EMBEDDED_JOURNAL_LAST_SNAPSHOT_UPLOAD_DURATION_MS
public static final MetricKey MASTER_EMBEDDED_JOURNAL_SNAPSHOT_INSTALL_TIMER
public static final MetricKey MASTER_EMBEDDED_JOURNAL_SNAPSHOT_REPLAY_TIMER
public static final MetricKey MASTER_EMBEDDED_JOURNAL_LAST_SNAPSHOT_REPLAY_DURATION_MS
public static final MetricKey MASTER_EMBEDDED_JOURNAL_LAST_SNAPSHOT_REPLAY_ENTRIES_COUNT
public static final MetricKey MASTER_EMBEDDED_JOURNAL_SNAPSHOT_LAST_INDEX
public static final MetricKey MASTER_ROLE_ID
public static final MetricKey MASTER_START_TIME
public static final MetricKey MASTER_LAST_GAIN_PRIMACY_TIME
public static final MetricKey MASTER_LAST_LOSE_PRIMACY_TIME
public static final MetricKey MASTER_JOURNAL_FLUSH_FAILURE
public static final MetricKey MASTER_JOURNAL_FLUSH_TIMER
public static final MetricKey MASTER_JOURNAL_SEQUENCE_NUMBER
public static final MetricKey MASTER_JOURNAL_LAST_CHECKPOINT_TIME
public static final MetricKey MASTER_JOURNAL_ENTRIES_SINCE_CHECKPOINT
public static final MetricKey MASTER_JOURNAL_LAST_APPLIED_COMMIT_INDEX
public static final MetricKey MASTER_JOURNAL_CHECKPOINT_WARN
public static final MetricKey MASTER_JOURNAL_GAIN_PRIMACY_TIMER
public static final MetricKey MASTER_UFS_JOURNAL_CATCHUP_TIMER
public static final MetricKey MASTER_UFS_JOURNAL_FAILURE_RECOVER_TIMER
public static final MetricKey MASTER_UFS_JOURNAL_INITIAL_REPLAY_TIME_MS
public static final MetricKey MASTER_JOB_CANCELED
public static final MetricKey MASTER_JOB_COMPLETED
public static final MetricKey MASTER_JOB_COUNT
public static final MetricKey MASTER_JOB_CREATED
public static final MetricKey MASTER_JOB_FAILED
public static final MetricKey MASTER_JOB_RUNNING
public static final MetricKey MASTER_JOB_LOAD_SUCCESS
public static final MetricKey MASTER_JOB_LOAD_FAIL
public static final MetricKey MASTER_JOB_SCHEDULER_RUNNING_COUNT
public static final MetricKey MASTER_JOB_LOAD_BLOCK_COUNT
public static final MetricKey MASTER_JOB_LOAD_FILE_COUNT
public static final MetricKey MASTER_JOB_LOAD_FILE_FAIL
public static final MetricKey MASTER_JOB_LOAD_FILE_SIZE
public static final MetricKey MASTER_JOB_LOAD_BLOCK_FAIL
public static final MetricKey MASTER_JOB_LOAD_BLOCK_SIZE
public static final MetricKey MASTER_JOB_LOAD_RATE
public static final MetricKey MASTER_JOB_COPY_SUCCESS
public static final MetricKey MASTER_JOB_COPY_FAIL
public static final MetricKey MASTER_JOB_COPY_FILE_COUNT
public static final MetricKey MASTER_JOB_COPY_FAIL_FILE_COUNT
public static final MetricKey MASTER_JOB_COPY_SKIP_FILE_COUNT
public static final MetricKey MASTER_JOB_COPY_SIZE
public static final MetricKey MASTER_JOB_COPY_RATE
public static final MetricKey MASTER_MIGRATE_JOB_SUCCESS
public static final MetricKey MASTER_MIGRATE_JOB_FAIL
public static final MetricKey MASTER_MIGRATE_JOB_CANCEL
public static final MetricKey MASTER_MIGRATE_JOB_FILE_COUNT
public static final MetricKey MASTER_MIGRATE_JOB_FILE_SIZE
public static final MetricKey MASTER_ASYNC_PERSIST_SUCCESS
public static final MetricKey MASTER_ASYNC_PERSIST_FAIL
public static final MetricKey MASTER_ASYNC_PERSIST_CANCEL
public static final MetricKey MASTER_ASYNC_PERSIST_FILE_COUNT
public static final MetricKey MASTER_ASYNC_PERSIST_FILE_SIZE
public static final MetricKey MASTER_ROCKS_BLOCK_BACKGROUND_ERRORS
public static final MetricKey MASTER_ROCKS_BLOCK_BLOCK_CACHE_CAPACITY
public static final MetricKey MASTER_ROCKS_BLOCK_BLOCK_CACHE_PINNED_USAGE
public static final MetricKey MASTER_ROCKS_BLOCK_BLOCK_CACHE_USAGE
public static final MetricKey MASTER_ROCKS_BLOCK_COMPACTION_PENDING
public static final MetricKey MASTER_ROCKS_BLOCK_CUR_SIZE_ACTIVE_MEM_TABLE
public static final MetricKey MASTER_ROCKS_BLOCK_CUR_SIZE_ALL_MEM_TABLES
public static final MetricKey MASTER_ROCKS_BLOCK_ESTIMATE_NUM_KEYS
public static final MetricKey MASTER_ROCKS_BLOCK_ESTIMATE_PENDING_COMPACTION_BYTES
public static final MetricKey MASTER_ROCKS_BLOCK_ESTIMATE_TABLE_READERS_MEM
public static final MetricKey MASTER_ROCKS_BLOCK_LIVE_SST_FILES_SIZE
public static final MetricKey MASTER_ROCKS_BLOCK_MEM_TABLE_FLUSH_PENDING
public static final MetricKey MASTER_ROCKS_BLOCK_NUM_DELETES_ACTIVE_MEM_TABLE
public static final MetricKey MASTER_ROCKS_BLOCK_NUM_DELETES_IMM_MEM_TABLES
public static final MetricKey MASTER_ROCKS_BLOCK_NUM_ENTRIES_ACTIVE_MEM_TABLE
public static final MetricKey MASTER_ROCKS_BLOCK_NUM_ENTRIES_IMM_MEM_TABLES
public static final MetricKey MASTER_ROCKS_BLOCK_NUM_IMMUTABLE_MEM_TABLE
public static final MetricKey MASTER_ROCKS_BLOCK_NUM_LIVE_VERSIONS
public static final MetricKey MASTER_ROCKS_BLOCK_NUM_RUNNING_COMPACTIONS
public static final MetricKey MASTER_ROCKS_BLOCK_NUM_RUNNING_FLUSHES
public static final MetricKey MASTER_ROCKS_BLOCK_SIZE_ALL_MEM_TABLES
public static final MetricKey MASTER_ROCKS_BLOCK_TOTAL_SST_FILES_SIZE
public static final MetricKey MASTER_ROCKS_BLOCK_ESTIMATED_MEM_USAGE
public static final MetricKey MASTER_ROCKS_INODE_BACKGROUND_ERRORS
public static final MetricKey MASTER_ROCKS_INODE_BLOCK_CACHE_CAPACITY
public static final MetricKey MASTER_ROCKS_INODE_BLOCK_CACHE_PINNED_USAGE
public static final MetricKey MASTER_ROCKS_INODE_BLOCK_CACHE_USAGE
public static final MetricKey MASTER_ROCKS_INODE_COMPACTION_PENDING
public static final MetricKey MASTER_ROCKS_INODE_CUR_SIZE_ACTIVE_MEM_TABLE
public static final MetricKey MASTER_ROCKS_INODE_CUR_SIZE_ALL_MEM_TABLES
public static final MetricKey MASTER_ROCKS_INODE_ESTIMATE_NUM_KEYS
public static final MetricKey MASTER_ROCKS_INODE_ESTIMATE_PENDING_COMPACTION_BYTES
public static final MetricKey MASTER_ROCKS_INODE_ESTIMATE_TABLE_READERS_MEM
public static final MetricKey MASTER_ROCKS_INODE_LIVE_SST_FILES_SIZE
public static final MetricKey MASTER_ROCKS_INODE_MEM_TABLE_FLUSH_PENDING
public static final MetricKey MASTER_ROCKS_INODE_NUM_DELETES_ACTIVE_MEM_TABLE
public static final MetricKey MASTER_ROCKS_INODE_NUM_DELETES_IMM_MEM_TABLES
public static final MetricKey MASTER_ROCKS_INODE_NUM_ENTRIES_ACTIVE_MEM_TABLE
public static final MetricKey MASTER_ROCKS_INODE_NUM_ENTRIES_IMM_MEM_TABLES
public static final MetricKey MASTER_ROCKS_INODE_NUM_IMMUTABLE_MEM_TABLE
public static final MetricKey MASTER_ROCKS_INODE_NUM_LIVE_VERSIONS
public static final MetricKey MASTER_ROCKS_INODE_NUM_RUNNING_COMPACTIONS
public static final MetricKey MASTER_ROCKS_INODE_NUM_RUNNING_FLUSHES
public static final MetricKey MASTER_ROCKS_INODE_SIZE_ALL_MEM_TABLES
public static final MetricKey MASTER_ROCKS_INODE_TOTAL_SST_FILES_SIZE
public static final MetricKey MASTER_ROCKS_INODE_ESTIMATED_MEM_USAGE
public static final MetricKey MASTER_ROCKS_TOTAL_ESTIMATED_MEM_USAGE
public static final MetricKey CLUSTER_ACTIVE_RPC_READ_COUNT
public static final MetricKey CLUSTER_ACTIVE_RPC_WRITE_COUNT
public static final MetricKey CLUSTER_BYTES_READ_DIRECT
public static final MetricKey CLUSTER_BYTES_READ_DIRECT_THROUGHPUT
public static final MetricKey CLUSTER_BYTES_READ_REMOTE
public static final MetricKey CLUSTER_BYTES_READ_REMOTE_THROUGHPUT
public static final MetricKey CLUSTER_BYTES_READ_DOMAIN
public static final MetricKey CLUSTER_BYTES_READ_DOMAIN_THROUGHPUT
public static final MetricKey CLUSTER_BYTES_READ_UFS
public static final MetricKey CLUSTER_BYTES_READ_UFS_ALL
public static final MetricKey CLUSTER_BYTES_READ_UFS_THROUGHPUT
public static final MetricKey CLUSTER_BYTES_WRITTEN_REMOTE
public static final MetricKey CLUSTER_BYTES_WRITTEN_REMOTE_THROUGHPUT
public static final MetricKey CLUSTER_BYTES_WRITTEN_DOMAIN
public static final MetricKey CLUSTER_BYTES_WRITTEN_DOMAIN_THROUGHPUT
public static final MetricKey CLUSTER_BYTES_WRITTEN_UFS
public static final MetricKey CLUSTER_BYTES_WRITTEN_UFS_ALL
public static final MetricKey CLUSTER_BYTES_WRITTEN_UFS_THROUGHPUT
public static final MetricKey CLUSTER_CACHE_HIT_RATE
public static final MetricKey CLUSTER_CAPACITY_TOTAL
public static final MetricKey CLUSTER_CAPACITY_USED
public static final MetricKey CLUSTER_CAPACITY_FREE
public static final MetricKey CLUSTER_ROOT_UFS_CAPACITY_TOTAL
public static final MetricKey CLUSTER_ROOT_UFS_CAPACITY_USED
public static final MetricKey CLUSTER_ROOT_UFS_CAPACITY_FREE
public static final MetricKey CLUSTER_WORKERS
public static final MetricKey CLUSTER_LOST_WORKERS
public static final MetricKey CLUSTER_LEADER_INDEX
public static final MetricKey CLUSTER_LEADER_ID
public static final MetricKey TOTAL_EXTRA_TIME
public static final MetricKey INFO_TIME_EXCEEDED
public static final MetricKey WARN_TIME_EXCEEDED
public static final MetricKey WORKER_ACTIVE_RPC_READ_COUNT
public static final MetricKey WORKER_ACTIVE_RPC_WRITE_COUNT
@Deprecated public static final MetricKey WORKER_ACTIVE_CLIENTS
public static final MetricKey WORKER_ACTIVE_OPERATIONS
public static final MetricKey WORKER_BLOCKS_ACCESSED
public static final MetricKey WORKER_BLOCKS_CACHED
public static final MetricKey WORKER_BLOCKS_CANCELLED
public static final MetricKey WORKER_BLOCKS_DELETED
public static final MetricKey WORKER_BLOCKS_EVICTED
public static final MetricKey WORKER_BLOCKS_EVICTION_RATE
public static final MetricKey WORKER_BLOCKS_LOST
public static final MetricKey WORKER_BLOCKS_PROMOTED
public static final MetricKey WORKER_BLOCKS_READ_REMOTE
public static final MetricKey WORKER_BLOCKS_READ_UFS
public static final MetricKey WORKER_BYTES_READ_DIRECT
public static final MetricKey WORKER_BYTES_READ_DIRECT_THROUGHPUT
public static final MetricKey WORKER_BYTES_READ_REMOTE
public static final MetricKey WORKER_BYTES_READ_REMOTE_THROUGHPUT
public static final MetricKey WORKER_BYTES_READ_DOMAIN
public static final MetricKey WORKER_BYTES_READ_DOMAIN_THROUGHPUT
public static final MetricKey WORKER_BYTES_READ_UFS
public static final MetricKey WORKER_BYTES_READ_UFS_THROUGHPUT
public static final MetricKey WORKER_BYTES_WRITTEN_DIRECT
public static final MetricKey WORKER_BYTES_WRITTEN_DIRECT_THROUGHPUT
public static final MetricKey WORKER_BYTES_WRITTEN_REMOTE
public static final MetricKey WORKER_BYTES_WRITTEN_REMOTE_THROUGHPUT
public static final MetricKey WORKER_BYTES_WRITTEN_DOMAIN
public static final MetricKey WORKER_BYTES_WRITTEN_DOMAIN_THROUGHPUT
public static final MetricKey WORKER_BYTES_WRITTEN_UFS
public static final MetricKey WORKER_BYTES_WRITTEN_UFS_THROUGHPUT
public static final MetricKey WORKER_CAPACITY_TOTAL
public static final MetricKey WORKER_CAPACITY_USED
public static final MetricKey WORKER_CAPACITY_FREE
public static final MetricKey WORKER_CACHE_FAILED_BLOCKS
public static final MetricKey WORKER_CACHE_REMOTE_BLOCKS
public static final MetricKey WORKER_CACHE_REQUESTS
public static final MetricKey WORKER_CACHE_REQUESTS_ASYNC
public static final MetricKey WORKER_CACHE_REQUESTS_SYNC
public static final MetricKey WORKER_CACHE_SUCCEEDED_BLOCKS
public static final MetricKey WORKER_CACHE_UFS_BLOCKS
public static final MetricKey WORKER_CACHE_BLOCKS_SIZE
public static final MetricKey WORKER_BLOCK_REMOVER_TRY_REMOVE_COUNT
public static final MetricKey WORKER_BLOCK_REMOVER_REMOVED_COUNT
public static final MetricKey WORKER_BLOCK_REMOVER_TRY_REMOVE_BLOCKS_SIZE
public static final MetricKey WORKER_BLOCK_REMOVER_REMOVING_BLOCKS_SIZE
public static final MetricKey WORKER_BLOCK_READER_THREAD_ACTIVE_COUNT
public static final MetricKey WORKER_BLOCK_READER_THREAD_CURRENT_COUNT
public static final MetricKey WORKER_BLOCK_READER_THREAD_MAX_COUNT
public static final MetricKey WORKER_BLOCK_READER_COMPLETED_TASK_COUNT
public static final MetricKey WORKER_BLOCK_SERIALIZED_THREAD_ACTIVE_COUNT
public static final MetricKey WORKER_BLOCK_SERIALIZED_THREAD_CURRENT_COUNT
public static final MetricKey WORKER_BLOCK_SERIALIZED_THREAD_MAX_COUNT
public static final MetricKey WORKER_BLOCK_SERIALIZED_COMPLETED_TASK_COUNT
public static final MetricKey WORKER_BLOCK_WRITER_THREAD_ACTIVE_COUNT
public static final MetricKey WORKER_BLOCK_WRITER_THREAD_CURRENT_COUNT
public static final MetricKey WORKER_BLOCK_WRITER_THREAD_MAX_COUNT
public static final MetricKey WORKER_BLOCK_WRITER_COMPLETED_TASK_COUNT
public static final MetricKey WORKER_RPC_QUEUE_LENGTH
public static final MetricKey WORKER_RPC_THREAD_ACTIVE_COUNT
public static final MetricKey WORKER_RPC_THREAD_CURRENT_COUNT
public static final MetricKey WORKER_MASTER_REGISTRATION_SUCCESS_COUNT
public static final MetricKey WORKER_LIST_STATUS_HIT_REQUESTS
public static final MetricKey WORKER_LIST_STATUS_EXTERNAL_REQUESTS
public static final MetricKey WORKER_GET_FILE_INFO_HIT_REQUESTS
public static final MetricKey WORKER_GET_FILE_INFO_EXTERNAL_REQUESTS
public static final MetricKey CLIENT_BLOCK_READ_CHUNK_REMOTE
public static final MetricKey CLIENT_BUSY_EXCEPTION_COUNT
public static final MetricKey CLIENT_BYTES_WRITTEN_TO_WORKERS
public static final MetricKey CLIENT_BYTES_WRITTEN_TO_UFS
public static final MetricKey CLIENT_BYTES_READ_FROM_WORKERS
public static final MetricKey CLIENT_BYTES_READ_FROM_UFS
public static final MetricKey CLIENT_CACHE_BYTES_READ_CACHE
public static final MetricKey CLIENT_CACHE_BYTES_READ_IN_STREAM_BUFFER
public static final MetricKey CLIENT_CACHE_BYTES_READ_EXTERNAL
public static final MetricKey CLIENT_CACHE_BYTES_REQUESTED_EXTERNAL
public static final MetricKey CLIENT_CACHE_EXTERNAL_REQUESTS
public static final MetricKey CLIENT_CACHE_PAGE_READ_CACHE_TIME_NS
public static final MetricKey CLIENT_CACHE_PAGE_READ_EXTERNAL_TIME_NS
public static final MetricKey CLIENT_CACHE_POSITION_READ_FALLBACK
public static final MetricKey CLIENT_CACHE_BYTES_DISCARDED
public static final MetricKey CLIENT_CACHE_BYTES_EVICTED
public static final MetricKey CLIENT_CACHE_PAGES
public static final MetricKey CLIENT_CACHE_PAGES_AGES
public static final MetricKey CLIENT_CACHE_PAGES_DISCARDED
public static final MetricKey CLIENT_CACHE_PAGES_INVALIDATED
public static final MetricKey CLIENT_CACHE_PAGES_EVICTED
public static final MetricKey CLIENT_CACHE_BYTES_WRITTEN_CACHE
public static final MetricKey CLIENT_CACHE_HIT_RATE
public static final MetricKey CLIENT_CACHE_HIT_REQUESTS
public static final MetricKey CLIENT_CACHE_SPACE_AVAILABLE
public static final MetricKey CLIENT_CACHE_SPACE_USED
public static final MetricKey CLIENT_CACHE_SHADOW_CACHE_BYTES
public static final MetricKey CLIENT_CACHE_SHADOW_CACHE_BYTES_HIT
public static final MetricKey CLIENT_CACHE_SHADOW_CACHE_BYTES_READ
public static final MetricKey CLIENT_CACHE_SHADOW_CACHE_FALSE_POSITIVE_RATIO
public static final MetricKey CLIENT_CACHE_SHADOW_CACHE_PAGES
public static final MetricKey CLIENT_CACHE_SHADOW_CACHE_PAGES_HIT
public static final MetricKey CLIENT_CACHE_SHADOW_CACHE_PAGES_READ
public static final MetricKey CLIENT_CACHE_SPACE_USED_COUNT
public static final MetricKey CLIENT_CACHE_CLEAN_ERRORS
public static final MetricKey CLIENT_CACHE_CREATE_ERRORS
public static final MetricKey CLIENT_CACHE_DELETE_ERRORS
public static final MetricKey CLIENT_CACHE_DELETE_NON_EXISTING_PAGE_ERRORS
public static final MetricKey CLIENT_CACHE_DELETE_NOT_READY_ERRORS
public static final MetricKey CLIENT_CACHE_DELETE_FROM_STORE_ERRORS
public static final MetricKey CLIENT_CACHE_GET_ERRORS
public static final MetricKey CLIENT_CACHE_GET_NOT_READY_ERRORS
public static final MetricKey CLIENT_CACHE_GET_STORE_READ_ERRORS
public static final MetricKey CLIENT_CACHE_CLEANUP_GET_ERRORS
public static final MetricKey CLIENT_CACHE_CLEANUP_PUT_ERRORS
public static final MetricKey CLIENT_CACHE_PUT_ERRORS
public static final MetricKey CLIENT_CACHE_PUT_ASYNC_REJECTION_ERRORS
public static final MetricKey CLIENT_CACHE_PUT_EVICTION_ERRORS
public static final MetricKey CLIENT_CACHE_PUT_INSUFFICIENT_SPACE_ERRORS
public static final MetricKey CLIENT_CACHE_PUT_BENIGN_RACING_ERRORS
public static final MetricKey CLIENT_CACHE_PUT_NOT_READY_ERRORS
public static final MetricKey CLIENT_CACHE_PUT_STORE_DELETE_ERRORS
public static final MetricKey CLIENT_CACHE_PUT_STORE_WRITE_ERRORS
public static final MetricKey CLIENT_CACHE_PUT_STORE_WRITE_NO_SPACE_ERRORS
public static final MetricKey CLIENT_CACHE_STORE_DELETE_TIMEOUT
public static final MetricKey CLIENT_CACHE_STORE_GET_TIMEOUT
public static final MetricKey CLIENT_CACHE_STORE_PUT_TIMEOUT
public static final MetricKey CLIENT_CACHE_STORE_THREADS_REJECTED
public static final MetricKey CLIENT_CACHE_STATE
public static final MetricKey CLIENT_META_DATA_CACHE_SIZE
public static final MetricKey CLIENT_FILE_SYSTEM_MASTER_CLIENT_COUNT
public static final MetricKey CLIENT_BLOCK_MASTER_CLIENT_COUNT
public static final MetricKey CLIENT_BLOCK_WORKER_CLIENT_COUNT
public static final MetricKey NETTY_CHANNEL_COUNT
public static final MetricKey CLIENT_DEFAULT_HIVE_CLIENT_COUNT
public static final MetricKey CLIENT_UFS_FALLBACK_COUNT
public static final MetricKey CLIENT_UFS_FALLBACK_READ_BYTES
public static final MetricKey CLOSE_UFS_OUTSTREAM_LATENCY
public static final MetricKey CLOSE_ALLUXIO_OUTSTREAM_LATENCY
public static final MetricKey FUSE_TOTAL_CALLS
public static final MetricKey FUSE_READ_WRITE_FILE_COUNT
public static final MetricKey FUSE_CACHED_PATH_COUNT
public static final MetricKey PROCESS_POOL_DIRECT_MEM_USED
public static final MetricKey MASTER_JOB_MOVE_SUCCESS
public static final MetricKey MASTER_JOB_MOVE_FAIL
public static final MetricKey MASTER_JOB_MOVE_FILE_COUNT
public static final MetricKey MASTER_JOB_MOVE_FAIL_FILE_COUNT
public static final MetricKey MASTER_JOB_MOVE_SIZE
public static final MetricKey MASTER_JOB_MOVE_RATE
public static boolean isValid(String name)
name
- name of a metricpublic static MetricKey fromString(String name)
MetricKey
,
throwing exception if no such a Metric can be found.name
- name of the Metric keypublic static Collection<? extends MetricKey> allMetricKeys()
public static Set<MetricKey> allShouldReportMetricKeys(MetricsSystem.InstanceType instanceType)
instanceType
- the instance type that should be reportedpublic String getName()
public String getMetricName()
public String getDescription()
public MetricType getMetricType()
public boolean isClusterAggregated()
public static String getSyncMetricName(long mountId)
mountId
- the mount id to get the metric forpublic static boolean register(MetricKey key)
key
- the Metric keypublic static void unregister(MetricKey key)
key
- the Metric to unregisterpublic int compareTo(MetricKey o)
compareTo
in interface Comparable<MetricKey>
Copyright © 2023. All Rights Reserved.