Enum VeniceMetricsDimensions
- java.lang.Object
-
- java.lang.Enum<VeniceMetricsDimensions>
-
- com.linkedin.venice.stats.dimensions.VeniceMetricsDimensions
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<VeniceMetricsDimensions>
public enum VeniceMetricsDimensions extends java.lang.Enum<VeniceMetricsDimensions>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description HTTP_RESPONSE_STATUS_CODE
HttpResponseStatus
ie.HTTP_RESPONSE_STATUS_CODE_CATEGORY
VENICE_CLUSTER_NAME
VENICE_REQUEST_METHOD
VENICE_REQUEST_RETRY_ABORT_REASON
VENICE_REQUEST_RETRY_TYPE
VENICE_REQUEST_VALIDATION_OUTCOME
RequestValidationOutcome.outcome
VENICE_RESPONSE_STATUS_CODE_CATEGORY
VENICE_STORE_NAME
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getDimensionName(VeniceOpenTelemetryMetricNamingFormat format)
static VeniceMetricsDimensions
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static VeniceMetricsDimensions[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
VENICE_STORE_NAME
public static final VeniceMetricsDimensions VENICE_STORE_NAME
-
VENICE_CLUSTER_NAME
public static final VeniceMetricsDimensions VENICE_CLUSTER_NAME
-
VENICE_REQUEST_METHOD
public static final VeniceMetricsDimensions VENICE_REQUEST_METHOD
-
HTTP_RESPONSE_STATUS_CODE
public static final VeniceMetricsDimensions HTTP_RESPONSE_STATUS_CODE
HttpResponseStatus
ie. 200, 400, etc
-
HTTP_RESPONSE_STATUS_CODE_CATEGORY
public static final VeniceMetricsDimensions HTTP_RESPONSE_STATUS_CODE_CATEGORY
HttpResponseStatusCodeCategory
ie. 1xx, 2xx, etc
-
VENICE_REQUEST_VALIDATION_OUTCOME
public static final VeniceMetricsDimensions VENICE_REQUEST_VALIDATION_OUTCOME
RequestValidationOutcome.outcome
-
VENICE_RESPONSE_STATUS_CODE_CATEGORY
public static final VeniceMetricsDimensions VENICE_RESPONSE_STATUS_CODE_CATEGORY
-
VENICE_REQUEST_RETRY_TYPE
public static final VeniceMetricsDimensions VENICE_REQUEST_RETRY_TYPE
-
VENICE_REQUEST_RETRY_ABORT_REASON
public static final VeniceMetricsDimensions VENICE_REQUEST_RETRY_ABORT_REASON
-
-
Method Detail
-
values
public static VeniceMetricsDimensions[] 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 (VeniceMetricsDimensions c : VeniceMetricsDimensions.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static VeniceMetricsDimensions valueOf(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
getDimensionName
public java.lang.String getDimensionName(VeniceOpenTelemetryMetricNamingFormat format)
-
-