Package org.apache.pinot.common.metrics
Enum ServerMeter
- java.lang.Object
-
- java.lang.Enum<ServerMeter>
-
- org.apache.pinot.common.metrics.ServerMeter
-
- All Implemented Interfaces:
Serializable,Comparable<ServerMeter>,java.lang.constant.Constable,AbstractMetrics.Meter
public enum ServerMeter extends Enum<ServerMeter> implements AbstractMetrics.Meter
Enumeration containing all the meters exposed by the Pinot server.
-
-
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 StringgetMeterName()StringgetUnit()booleanisGlobal()Returns true if the metric is global (not attached to a particular resource)static ServerMetervalueOf(String name)Returns the enum constant of this type with the specified name.static ServerMeter[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
QUERIES
public static final ServerMeter QUERIES
-
UNCAUGHT_EXCEPTIONS
public static final ServerMeter UNCAUGHT_EXCEPTIONS
-
REQUEST_DESERIALIZATION_EXCEPTIONS
public static final ServerMeter REQUEST_DESERIALIZATION_EXCEPTIONS
-
RESPONSE_SERIALIZATION_EXCEPTIONS
public static final ServerMeter RESPONSE_SERIALIZATION_EXCEPTIONS
-
SCHEDULING_TIMEOUT_EXCEPTIONS
public static final ServerMeter SCHEDULING_TIMEOUT_EXCEPTIONS
-
QUERY_EXECUTION_EXCEPTIONS
public static final ServerMeter QUERY_EXECUTION_EXCEPTIONS
-
HELIX_ZOOKEEPER_RECONNECTS
public static final ServerMeter HELIX_ZOOKEEPER_RECONNECTS
-
DELETED_SEGMENT_COUNT
public static final ServerMeter DELETED_SEGMENT_COUNT
-
DELETE_TABLE_FAILURES
public static final ServerMeter DELETE_TABLE_FAILURES
-
REALTIME_ROWS_CONSUMED
public static final ServerMeter REALTIME_ROWS_CONSUMED
-
INVALID_REALTIME_ROWS_DROPPED
public static final ServerMeter INVALID_REALTIME_ROWS_DROPPED
-
INCOMPLETE_REALTIME_ROWS_CONSUMED
public static final ServerMeter INCOMPLETE_REALTIME_ROWS_CONSUMED
-
REALTIME_CONSUMPTION_EXCEPTIONS
public static final ServerMeter REALTIME_CONSUMPTION_EXCEPTIONS
-
REALTIME_OFFSET_COMMITS
public static final ServerMeter REALTIME_OFFSET_COMMITS
-
REALTIME_OFFSET_COMMIT_EXCEPTIONS
public static final ServerMeter REALTIME_OFFSET_COMMIT_EXCEPTIONS
-
REALTIME_PARTITION_MISMATCH
public static final ServerMeter REALTIME_PARTITION_MISMATCH
-
REALTIME_DEDUP_DROPPED
public static final ServerMeter REALTIME_DEDUP_DROPPED
-
UPSERT_KEYS_IN_WRONG_SEGMENT
public static final ServerMeter UPSERT_KEYS_IN_WRONG_SEGMENT
-
PARTIAL_UPSERT_OUT_OF_ORDER
public static final ServerMeter PARTIAL_UPSERT_OUT_OF_ORDER
-
PARTIAL_UPSERT_KEYS_NOT_REPLACED
public static final ServerMeter PARTIAL_UPSERT_KEYS_NOT_REPLACED
-
ROWS_WITH_ERRORS
public static final ServerMeter ROWS_WITH_ERRORS
-
LLC_CONTROLLER_RESPONSE_NOT_SENT
public static final ServerMeter LLC_CONTROLLER_RESPONSE_NOT_SENT
-
LLC_CONTROLLER_RESPONSE_COMMIT
public static final ServerMeter LLC_CONTROLLER_RESPONSE_COMMIT
-
LLC_CONTROLLER_RESPONSE_HOLD
public static final ServerMeter LLC_CONTROLLER_RESPONSE_HOLD
-
LLC_CONTROLLER_RESPONSE_CATCH_UP
public static final ServerMeter LLC_CONTROLLER_RESPONSE_CATCH_UP
-
LLC_CONTROLLER_RESPONSE_DISCARD
public static final ServerMeter LLC_CONTROLLER_RESPONSE_DISCARD
-
LLC_CONTROLLER_RESPONSE_KEEP
public static final ServerMeter LLC_CONTROLLER_RESPONSE_KEEP
-
LLC_CONTROLLER_RESPONSE_NOT_LEADER
public static final ServerMeter LLC_CONTROLLER_RESPONSE_NOT_LEADER
-
LLC_CONTROLLER_RESPONSE_FAILED
public static final ServerMeter LLC_CONTROLLER_RESPONSE_FAILED
-
LLC_CONTROLLER_RESPONSE_COMMIT_SUCCESS
public static final ServerMeter LLC_CONTROLLER_RESPONSE_COMMIT_SUCCESS
-
LLC_CONTROLLER_RESPONSE_COMMIT_CONTINUE
public static final ServerMeter LLC_CONTROLLER_RESPONSE_COMMIT_CONTINUE
-
LLC_CONTROLLER_RESPONSE_PROCESSED
public static final ServerMeter LLC_CONTROLLER_RESPONSE_PROCESSED
-
LLC_CONTROLLER_RESPONSE_UPLOAD_SUCCESS
public static final ServerMeter LLC_CONTROLLER_RESPONSE_UPLOAD_SUCCESS
-
NUM_DOCS_SCANNED
public static final ServerMeter NUM_DOCS_SCANNED
-
NUM_ENTRIES_SCANNED_IN_FILTER
public static final ServerMeter NUM_ENTRIES_SCANNED_IN_FILTER
-
NUM_ENTRIES_SCANNED_POST_FILTER
public static final ServerMeter NUM_ENTRIES_SCANNED_POST_FILTER
-
NUM_SEGMENTS_QUERIED
public static final ServerMeter NUM_SEGMENTS_QUERIED
-
NUM_SEGMENTS_PROCESSED
public static final ServerMeter NUM_SEGMENTS_PROCESSED
-
NUM_SEGMENTS_MATCHED
public static final ServerMeter NUM_SEGMENTS_MATCHED
-
NUM_MISSING_SEGMENTS
public static final ServerMeter NUM_MISSING_SEGMENTS
-
RELOAD_FAILURES
public static final ServerMeter RELOAD_FAILURES
-
REFRESH_FAILURES
public static final ServerMeter REFRESH_FAILURES
-
UNTAR_FAILURES
public static final ServerMeter UNTAR_FAILURES
-
SEGMENT_STREAMED_DOWNLOAD_UNTAR_FAILURES
public static final ServerMeter SEGMENT_STREAMED_DOWNLOAD_UNTAR_FAILURES
-
SEGMENT_DIR_MOVEMENT_FAILURES
public static final ServerMeter SEGMENT_DIR_MOVEMENT_FAILURES
-
SEGMENT_DOWNLOAD_FAILURES
public static final ServerMeter SEGMENT_DOWNLOAD_FAILURES
-
SEGMENT_DOWNLOAD_FROM_REMOTE_FAILURES
public static final ServerMeter SEGMENT_DOWNLOAD_FROM_REMOTE_FAILURES
-
SEGMENT_DOWNLOAD_FROM_PEERS_FAILURES
public static final ServerMeter SEGMENT_DOWNLOAD_FROM_PEERS_FAILURES
-
NUM_RESIZES
public static final ServerMeter NUM_RESIZES
-
NO_TABLE_ACCESS
public static final ServerMeter NO_TABLE_ACCESS
-
INDEXING_FAILURES
public static final ServerMeter INDEXING_FAILURES
-
READINESS_CHECK_OK_CALLS
public static final ServerMeter READINESS_CHECK_OK_CALLS
-
READINESS_CHECK_BAD_CALLS
public static final ServerMeter READINESS_CHECK_BAD_CALLS
-
QUERIES_PREEMPTED
public static final ServerMeter QUERIES_PREEMPTED
-
NETTY_CONNECTION_BYTES_RECEIVED
public static final ServerMeter NETTY_CONNECTION_BYTES_RECEIVED
-
NETTY_CONNECTION_RESPONSES_SENT
public static final ServerMeter NETTY_CONNECTION_RESPONSES_SENT
-
NETTY_CONNECTION_BYTES_SENT
public static final ServerMeter NETTY_CONNECTION_BYTES_SENT
-
NUM_SEGMENTS_PRUNED_INVALID
public static final ServerMeter NUM_SEGMENTS_PRUNED_INVALID
-
NUM_SEGMENTS_PRUNED_BY_LIMIT
public static final ServerMeter NUM_SEGMENTS_PRUNED_BY_LIMIT
-
NUM_SEGMENTS_PRUNED_BY_VALUE
public static final ServerMeter NUM_SEGMENTS_PRUNED_BY_VALUE
-
-
Method Detail
-
values
public static ServerMeter[] 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 ServerMeter 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
-
getMeterName
public String getMeterName()
- Specified by:
getMeterNamein interfaceAbstractMetrics.Meter
-
getUnit
public String getUnit()
- Specified by:
getUnitin interfaceAbstractMetrics.Meter
-
isGlobal
public boolean isGlobal()
Returns true if the metric is global (not attached to a particular resource)- Specified by:
isGlobalin interfaceAbstractMetrics.Meter- Returns:
- true if the metric is global
-
-