Package com.azure.cosmos.models
Class CosmosMetricTagName
java.lang.Object
com.azure.cosmos.models.CosmosMetricTagName
The tag names that can be used for Cosmos client-side meters. Not all tag names are applicable for all meters, but
this identifier can be used to tune which tags to use for individual meters or also define the default tags that
should be used when no meter-specific suppression exists.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final CosmosMetricTagName
An indicator whether an address resolution refresh requested a collection routing map cache refresh Applicable to address resolutionsstatic final CosmosMetricTagName
An indicator whether an address resolution refresh requested a cache refresh Applicable to address resolutionsstatic final CosmosMetricTagName
All possible tagsstatic final CosmosMetricTagName
An identifier for the instance of the Cosmos client Applicable to all metersstatic final CosmosMetricTagName
Effective Consistency model Applicable to operations and requestsstatic final CosmosMetricTagName
Container identifier applicable to operations and requestsstatic final CosmosMetricTagName
Default tagsstatic final CosmosMetricTagName
Minimum tags that are required and cannot be disabledstatic final CosmosMetricTagName
Operation type Applicable to operationsstatic final CosmosMetricTagName
Operation status code.static final CosmosMetricTagName
Operation sub-status code.static final CosmosMetricTagName
The PartitionId (Guid) Applicable to requestsstatic final CosmosMetricTagName
A numeric identifier for a physical partition Applicable to operations and requestsstatic final CosmosMetricTagName
The region names of the regions handling the operation/request Applicable to requests and operationsstatic final CosmosMetricTagName
The ReplicaId (int identifier plus suffix "s" (secondary - read-only - replica) or "p" (primary- write - replica) Applicable to requestsstatic final CosmosMetricTagName
Request operation type Applicable to requestsstatic final CosmosMetricTagName
Request status code Applicable to requestsstatic final CosmosMetricTagName
The service endpoint (hostname + port, partitionId, replicaId) Applicable to requestsstatic final CosmosMetricTagName
The service endpoint (hostname + port) Applicable to requests, direct channel, direct endpoint and direct requests -
Method Summary
Modifier and TypeMethodDescriptionboolean
static CosmosMetricTagName
fromString
(String name) Gets the corresponding metric category state from its string representation.int
hashCode()
toString()
-
Field Details
-
ALL
All possible tags -
DEFAULT
Default tags -
MINIMUM
Minimum tags that are required and cannot be disabled -
CONSISTENCY_LEVEL
Effective Consistency model Applicable to operations and requests -
CONTAINER
Container identifier applicable to operations and requests -
SERVICE_ENDPOINT
The service endpoint (hostname + port) Applicable to requests, direct channel, direct endpoint and direct requests -
SERVICE_ADDRESS
The service endpoint (hostname + port, partitionId, replicaId) Applicable to requests -
PARTITION_ID
The PartitionId (Guid) Applicable to requests -
REPLICA_ID
The ReplicaId (int identifier plus suffix "s" (secondary - read-only - replica) or "p" (primary- write - replica) Applicable to requests -
REGION_NAME
The region names of the regions handling the operation/request Applicable to requests and operations -
OPERATION_STATUS_CODE
Operation status code. Applicable to operations -
OPERATION_SUB_STATUS_CODE
Operation sub-status code. Applicable to operations -
OPERATION
Operation type Applicable to operations -
REQUEST_STATUS_CODE
Request status code Applicable to requests -
REQUEST_OPERATION_TYPE
Request operation type Applicable to requests -
CLIENT_CORRELATION_ID
An identifier for the instance of the Cosmos client Applicable to all meters -
ADDRESS_RESOLUTION_FORCED_REFRESH
An indicator whether an address resolution refresh requested a cache refresh Applicable to address resolutions -
ADDRESS_RESOLUTION_COLLECTION_MAP_REFRESH
An indicator whether an address resolution refresh requested a collection routing map cache refresh Applicable to address resolutions -
PARTITION_KEY_RANGE_ID
A numeric identifier for a physical partition Applicable to operations and requests
-
-
Method Details
-
fromString
Gets the corresponding metric category state from its string representation.- Parameters:
name
- The name of the Cosmos metric category to convert.- Returns:
- The corresponding Cosmos metric category.
-
toString
-
hashCode
public int hashCode() -
equals
-