Package org.apache.pinot.common.metrics
Enum BrokerMeter
- java.lang.Object
-
- java.lang.Enum<BrokerMeter>
-
- org.apache.pinot.common.metrics.BrokerMeter
-
- All Implemented Interfaces:
Serializable,Comparable<BrokerMeter>,AbstractMetrics.Meter
public enum BrokerMeter extends Enum<BrokerMeter> implements AbstractMetrics.Meter
Enumeration containing all the metrics exposed by the Pinot broker.
-
-
Enum Constant Summary
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetMeterName()StringgetUnit()booleanisGlobal()Returns true if the metric is global (not attached to a particular resource)static BrokerMetervalueOf(String name)Returns the enum constant of this type with the specified name.static BrokerMeter[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
UNCAUGHT_GET_EXCEPTIONS
public static final BrokerMeter UNCAUGHT_GET_EXCEPTIONS
-
UNCAUGHT_POST_EXCEPTIONS
public static final BrokerMeter UNCAUGHT_POST_EXCEPTIONS
-
HEALTHCHECK_BAD_CALLS
public static final BrokerMeter HEALTHCHECK_BAD_CALLS
-
HEALTHCHECK_OK_CALLS
public static final BrokerMeter HEALTHCHECK_OK_CALLS
-
QUERIES
public static final BrokerMeter QUERIES
-
REQUEST_COMPILATION_EXCEPTIONS
public static final BrokerMeter REQUEST_COMPILATION_EXCEPTIONS
-
RESOURCE_MISSING_EXCEPTIONS
public static final BrokerMeter RESOURCE_MISSING_EXCEPTIONS
-
QUERY_VALIDATION_EXCEPTIONS
public static final BrokerMeter QUERY_VALIDATION_EXCEPTIONS
-
UNKNOWN_COLUMN_EXCEPTIONS
public static final BrokerMeter UNKNOWN_COLUMN_EXCEPTIONS
-
NO_SERVER_FOUND_EXCEPTIONS
public static final BrokerMeter NO_SERVER_FOUND_EXCEPTIONS
-
REQUEST_TIMEOUT_BEFORE_SCATTERED_EXCEPTIONS
public static final BrokerMeter REQUEST_TIMEOUT_BEFORE_SCATTERED_EXCEPTIONS
-
REQUEST_CHANNEL_LOCK_TIMEOUT_EXCEPTIONS
public static final BrokerMeter REQUEST_CHANNEL_LOCK_TIMEOUT_EXCEPTIONS
-
REQUEST_SEND_EXCEPTIONS
public static final BrokerMeter REQUEST_SEND_EXCEPTIONS
-
RESPONSE_FETCH_EXCEPTIONS
public static final BrokerMeter RESPONSE_FETCH_EXCEPTIONS
-
DATA_TABLE_DESERIALIZATION_EXCEPTIONS
public static final BrokerMeter DATA_TABLE_DESERIALIZATION_EXCEPTIONS
-
RESPONSE_MERGE_EXCEPTIONS
public static final BrokerMeter RESPONSE_MERGE_EXCEPTIONS
-
BROKER_RESPONSES_WITH_PROCESSING_EXCEPTIONS
public static final BrokerMeter BROKER_RESPONSES_WITH_PROCESSING_EXCEPTIONS
-
BROKER_RESPONSES_WITH_PARTIAL_SERVERS_RESPONDED
public static final BrokerMeter BROKER_RESPONSES_WITH_PARTIAL_SERVERS_RESPONDED
-
BROKER_RESPONSES_WITH_NUM_GROUPS_LIMIT_REACHED
public static final BrokerMeter BROKER_RESPONSES_WITH_NUM_GROUPS_LIMIT_REACHED
-
DOCUMENTS_SCANNED
public static final BrokerMeter DOCUMENTS_SCANNED
-
ENTRIES_SCANNED_IN_FILTER
public static final BrokerMeter ENTRIES_SCANNED_IN_FILTER
-
ENTRIES_SCANNED_POST_FILTER
public static final BrokerMeter ENTRIES_SCANNED_POST_FILTER
-
NUM_RESIZES
public static final BrokerMeter NUM_RESIZES
-
HELIX_ZOOKEEPER_RECONNECTS
public static final BrokerMeter HELIX_ZOOKEEPER_RECONNECTS
-
REQUEST_DROPPED_DUE_TO_ACCESS_ERROR
public static final BrokerMeter REQUEST_DROPPED_DUE_TO_ACCESS_ERROR
-
GROUP_BY_SIZE
public static final BrokerMeter GROUP_BY_SIZE
-
TOTAL_SERVER_RESPONSE_SIZE
public static final BrokerMeter TOTAL_SERVER_RESPONSE_SIZE
-
QUERY_QUOTA_EXCEEDED
public static final BrokerMeter QUERY_QUOTA_EXCEEDED
-
NO_SERVING_HOST_FOR_SEGMENT
public static final BrokerMeter NO_SERVING_HOST_FOR_SEGMENT
-
SERVER_MISSING_FOR_ROUTING
public static final BrokerMeter SERVER_MISSING_FOR_ROUTING
-
NETTY_CONNECTION_REQUESTS_SENT
public static final BrokerMeter NETTY_CONNECTION_REQUESTS_SENT
-
NETTY_CONNECTION_BYTES_SENT
public static final BrokerMeter NETTY_CONNECTION_BYTES_SENT
-
NETTY_CONNECTION_BYTES_RECEIVED
public static final BrokerMeter NETTY_CONNECTION_BYTES_RECEIVED
-
PROACTIVE_CLUSTER_CHANGE_CHECK
public static final BrokerMeter PROACTIVE_CLUSTER_CHANGE_CHECK
-
-
Method Detail
-
values
public static BrokerMeter[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (BrokerMeter c : BrokerMeter.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static BrokerMeter 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
-
-