Package org.apache.pinot.common.metrics
Enum ControllerGauge
- java.lang.Object
-
- java.lang.Enum<ControllerGauge>
-
- org.apache.pinot.common.metrics.ControllerGauge
-
- All Implemented Interfaces:
Serializable,Comparable<ControllerGauge>,java.lang.constant.Constable,AbstractMetrics.Gauge
public enum ControllerGauge extends Enum<ControllerGauge> implements AbstractMetrics.Gauge
Controller gauges.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
-
Enum Constant Summary
-
Method Summary
Modifier and Type Method Description StringgetGaugeName()StringgetUnit()booleanisGlobal()Returns true if the gauge is global (not attached to a particular resource)static ControllerGaugevalueOf(String name)Returns the enum constant of this type with the specified name.static ControllerGauge[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
VERSION
public static final ControllerGauge VERSION
-
REPLICATION_FROM_CONFIG
public static final ControllerGauge REPLICATION_FROM_CONFIG
-
NUMBER_OF_REPLICAS
public static final ControllerGauge NUMBER_OF_REPLICAS
-
PERCENT_OF_REPLICAS
public static final ControllerGauge PERCENT_OF_REPLICAS
-
SEGMENTS_IN_ERROR_STATE
public static final ControllerGauge SEGMENTS_IN_ERROR_STATE
-
PERCENT_SEGMENTS_AVAILABLE
public static final ControllerGauge PERCENT_SEGMENTS_AVAILABLE
-
SEGMENT_COUNT
public static final ControllerGauge SEGMENT_COUNT
-
SEGMENT_COUNT_INCLUDING_REPLACED
public static final ControllerGauge SEGMENT_COUNT_INCLUDING_REPLACED
-
IDEALSTATE_ZNODE_SIZE
public static final ControllerGauge IDEALSTATE_ZNODE_SIZE
-
IDEALSTATE_ZNODE_BYTE_SIZE
public static final ControllerGauge IDEALSTATE_ZNODE_BYTE_SIZE
-
REALTIME_TABLE_COUNT
public static final ControllerGauge REALTIME_TABLE_COUNT
-
OFFLINE_TABLE_COUNT
public static final ControllerGauge OFFLINE_TABLE_COUNT
-
DISABLED_TABLE_COUNT
public static final ControllerGauge DISABLED_TABLE_COUNT
-
PERIODIC_TASK_NUM_TABLES_PROCESSED
public static final ControllerGauge PERIODIC_TASK_NUM_TABLES_PROCESSED
-
TIME_MS_SINCE_LAST_MINION_TASK_METADATA_UPDATE
public static final ControllerGauge TIME_MS_SINCE_LAST_MINION_TASK_METADATA_UPDATE
-
TIME_MS_SINCE_LAST_SUCCESSFUL_MINION_TASK_GENERATION
public static final ControllerGauge TIME_MS_SINCE_LAST_SUCCESSFUL_MINION_TASK_GENERATION
-
LAST_MINION_TASK_GENERATION_ENCOUNTERS_ERROR
public static final ControllerGauge LAST_MINION_TASK_GENERATION_ENCOUNTERS_ERROR
-
NUM_MINION_TASKS_IN_PROGRESS
public static final ControllerGauge NUM_MINION_TASKS_IN_PROGRESS
-
NUM_MINION_SUBTASKS_WAITING
public static final ControllerGauge NUM_MINION_SUBTASKS_WAITING
-
NUM_MINION_SUBTASKS_RUNNING
public static final ControllerGauge NUM_MINION_SUBTASKS_RUNNING
-
NUM_MINION_SUBTASKS_ERROR
public static final ControllerGauge NUM_MINION_SUBTASKS_ERROR
-
PERCENT_MINION_SUBTASKS_IN_QUEUE
public static final ControllerGauge PERCENT_MINION_SUBTASKS_IN_QUEUE
-
PERCENT_MINION_SUBTASKS_IN_ERROR
public static final ControllerGauge PERCENT_MINION_SUBTASKS_IN_ERROR
-
PINOT_CONTROLLER_LEADER
public static final ControllerGauge PINOT_CONTROLLER_LEADER
-
PINOT_LEAD_CONTROLLER_RESOURCE_ENABLED
public static final ControllerGauge PINOT_LEAD_CONTROLLER_RESOURCE_ENABLED
-
CONTROLLER_LEADER_PARTITION_COUNT
public static final ControllerGauge CONTROLLER_LEADER_PARTITION_COUNT
-
OFFLINE_TABLE_ESTIMATED_SIZE
@Deprecated public static final ControllerGauge OFFLINE_TABLE_ESTIMATED_SIZE
Deprecated.
-
LARGEST_SEGMENT_SIZE_ON_SERVER
public static final ControllerGauge LARGEST_SEGMENT_SIZE_ON_SERVER
-
TABLE_TOTAL_SIZE_ON_SERVER
public static final ControllerGauge TABLE_TOTAL_SIZE_ON_SERVER
-
TABLE_SIZE_PER_REPLICA_ON_SERVER
public static final ControllerGauge TABLE_SIZE_PER_REPLICA_ON_SERVER
-
TABLE_COMPRESSED_SIZE
public static final ControllerGauge TABLE_COMPRESSED_SIZE
-
TABLE_QUOTA
public static final ControllerGauge TABLE_QUOTA
-
TABLE_STORAGE_QUOTA_UTILIZATION
public static final ControllerGauge TABLE_STORAGE_QUOTA_UTILIZATION
-
TABLE_STORAGE_EST_MISSING_SEGMENT_PERCENT
public static final ControllerGauge TABLE_STORAGE_EST_MISSING_SEGMENT_PERCENT
-
CRON_SCHEDULER_JOB_SCHEDULED
public static final ControllerGauge CRON_SCHEDULER_JOB_SCHEDULED
-
TASK_STATUS
public static final ControllerGauge TASK_STATUS
-
DROPPED_MINION_INSTANCES
public static final ControllerGauge DROPPED_MINION_INSTANCES
-
ONLINE_MINION_INSTANCES
public static final ControllerGauge ONLINE_MINION_INSTANCES
-
MISSING_CONSUMING_SEGMENT_TOTAL_COUNT
public static final ControllerGauge MISSING_CONSUMING_SEGMENT_TOTAL_COUNT
-
MISSING_CONSUMING_SEGMENT_NEW_PARTITION_COUNT
public static final ControllerGauge MISSING_CONSUMING_SEGMENT_NEW_PARTITION_COUNT
-
MISSING_CONSUMING_SEGMENT_MAX_DURATION_MINUTES
public static final ControllerGauge MISSING_CONSUMING_SEGMENT_MAX_DURATION_MINUTES
-
SEGMENT_DOWNLOADS_IN_PROGRESS
public static final ControllerGauge SEGMENT_DOWNLOADS_IN_PROGRESS
-
SEGMENT_UPLOADS_IN_PROGRESS
public static final ControllerGauge SEGMENT_UPLOADS_IN_PROGRESS
-
MAX_RECORDS_LAG
public static final ControllerGauge MAX_RECORDS_LAG
-
MAX_RECORD_AVAILABILITY_LAG_MS
public static final ControllerGauge MAX_RECORD_AVAILABILITY_LAG_MS
-
-
Method Detail
-
values
public static ControllerGauge[] values()
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ControllerGauge valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
getGaugeName
public String getGaugeName()
- Specified by:
getGaugeNamein interfaceAbstractMetrics.Gauge
-
getUnit
public String getUnit()
- Specified by:
getUnitin interfaceAbstractMetrics.Gauge
-
isGlobal
public boolean isGlobal()
Returns true if the gauge is global (not attached to a particular resource)- Specified by:
isGlobalin interfaceAbstractMetrics.Gauge- Returns:
- true if the gauge is global
-
-