CosmosMetricName Class

  • java.lang.Object
    • com.azure.cosmos.models.CosmosMetricName

public final class CosmosMetricName

Names of Cosmos DB client-side meters

Field Summary

Modifier and Type Field and Description
static final CosmosMetricName DIRECT_ADDRESS_RESOLUTION_LATENCY

Latency of the RNTBD address resolution request (Timer)

static final CosmosMetricName DIRECT_ADDRESS_RESOLUTION_REQUESTS

Number of RNTBD address resolution requests (Counter)

static final CosmosMetricName DIRECT_CHANNELS_ACQUIRED_COUNT

Number of acquired channels (new connections) for this endpoint (FunctionCounter)

static final CosmosMetricName DIRECT_CHANNELS_AVAILABLE_COUNT

Snapshot of the number of available channels (active connections) for this endpoint (Gauge)

static final CosmosMetricName DIRECT_CHANNELS_CLOSED_COUNT

Number of closed channels / connections for this endpoint (FunctionCounter)

static final CosmosMetricName DIRECT_ENDPOINTS_COUNT

Snapshot of the number of endpoints (Gauge)

static final CosmosMetricName DIRECT_ENDPOINTS_EVICTED

Number of evicted/closed endpoints (FunctionCounter)

static final CosmosMetricName DIRECT_REQUEST_CONCURRENT_COUNT

Snapshot of number of concurrent RNTBD requests for this endpoint (Gauge)

static final CosmosMetricName DIRECT_REQUEST_LATENCY

Latency of RNTBD requests for this endpoint (Timer)

static final CosmosMetricName DIRECT_REQUEST_LATENCY_FAILED

Latency of failed RNTBD requests for this endpoint (Timer)

static final CosmosMetricName DIRECT_REQUEST_LATENCY_SUCCESS

Latency of successful RNTBD requests for this endpoint (Timer)

static final CosmosMetricName DIRECT_REQUEST_QUEUED_COUNT

Snapshot of number of queued RNTBD requests for this endpoint (Gauge)

static final CosmosMetricName DIRECT_REQUEST_SIZE_REQUEST

Size of the request payload (DistributionSummary)

static final CosmosMetricName DIRECT_REQUEST_SIZE_RESPONSE

Size of the response payload (DistributionSummary)

static final CosmosMetricName LEGACY_DIRECT_ENDPOINT_STATISTICS_ACQUIRED

Distribution summary over snapshot of acquired channels for the endpoint at time of a request (DistributionSummary)

static final CosmosMetricName LEGACY_DIRECT_ENDPOINT_STATISTICS_AVAILABLE

Distribution summary over snapshot of available channels for the endpoint at time of a request (DistributionSummary)

static final CosmosMetricName LEGACY_DIRECT_ENDPOINT_STATISTICS_INFLIGHT

Distribution summary over snapshot of inflight channels for the endpoint at time of a request (DistributionSummary)

static final CosmosMetricName OPERATION_DETAILS_ACTUAL_ITEM_COUNT

Actual item count - relevant for non-point-operations - indicating the actual number of docs returned in the response (DistributionSummary) NOTE: No percentiles or histogram supported

static final CosmosMetricName OPERATION_DETAILS_MAX_ITEM_COUNT

Max.

static final CosmosMetricName OPERATION_DETAILS_REGIONS_CONTACTED

Number of regions contacted for processing the operation (DistributionSummary)

static final CosmosMetricName OPERATION_SUMMARY_CALLS

Number of operation calls (Counter)

static final CosmosMetricName OPERATION_SUMMARY_LATENCY

Total latency (across requests including retries) of the operation (Timer)

static final CosmosMetricName OPERATION_SUMMARY_REQUEST_CHARGE

Request charge for the operation (DistributionSummary)

static final CosmosMetricName REQUEST_DETAILS_DIRECT_TIMELINE

Latency in different steps of the request pipeline (Timer)

static final CosmosMetricName REQUEST_DETAILS_GATEWAY_TIMELINE

Latency in different steps of the request pipeline (Timer)

static final CosmosMetricName REQUEST_SUMMARY_DIRECT_ACTUAL_ITEM_COUNT

Actual item count - relevant for non-point-operations - indicating the actual number of docs returned in the response (DistributionSummary) NOTE: No percentiles or histogram supported

static final CosmosMetricName REQUEST_SUMMARY_DIRECT_BACKEND_LATENCY

Backend-latency of the request (DistributionSummary)

static final CosmosMetricName REQUEST_SUMMARY_DIRECT_BULK_GLOBAL_OP_COUNT

The count of batch operations per physical partition executed through com.azure.cosmos.CosmosContainer#executeBulkOperations or com.azure.cosmos.CosmosAsyncContainer#executeBulkOperations.

static final CosmosMetricName REQUEST_SUMMARY_DIRECT_BULK_OP_COUNT_PER_EVALUATION

The count of batch operations per evaluation cycle per physical partition executed through com.azure.cosmos.CosmosContainer#executeBulkOperations or com.azure.cosmos.CosmosAsyncContainer#executeBulkOperations.

static final CosmosMetricName REQUEST_SUMMARY_DIRECT_BULK_OP_RETRIED_COUNT_PER_EVALUATION

The count of batch operations retried per evaluation cycle per physical partition executed through com.azure.cosmos.CosmosContainer#executeBulkOperations or com.azure.cosmos.CosmosAsyncContainer#executeBulkOperations.

static final CosmosMetricName REQUEST_SUMMARY_DIRECT_BULK_TARGET_MAX_MICRO_BATCH_SIZE

The max count of items to touch per physical partition executed through com.azure.cosmos.CosmosContainer#executeBulkOperations or com.azure.cosmos.CosmosAsyncContainer#executeBulkOperations.

static final CosmosMetricName REQUEST_SUMMARY_DIRECT_LATENCY

Latency of the request (Timer)

static final CosmosMetricName REQUEST_SUMMARY_DIRECT_REQUESTS

Number of requests (Counter) NOTE: No percentiles or histogram supported

static final CosmosMetricName REQUEST_SUMMARY_DIRECT_REQUEST_CHARGE

Request charge for a request (DistributionSummary)

static final CosmosMetricName REQUEST_SUMMARY_GATEWAY_ACTUAL_ITEM_COUNT

Actual item count - relevant for non-point-operations - indicating the actual number of docs returned in the response (DistributionSummary) NOTE: No percentiles or histogram supported

static final CosmosMetricName REQUEST_SUMMARY_GATEWAY_BULK_GLOBAL_OP_COUNT

The count of batch operations per physical partition executed through com.azure.cosmos.CosmosContainer#executeBulkOperations or com.azure.cosmos.CosmosAsyncContainer#executeBulkOperations.

static final CosmosMetricName REQUEST_SUMMARY_GATEWAY_BULK_OP_COUNT_PER_EVALUATION

The count of batch operations per evaluation cycle per physical partition executed through com.azure.cosmos.CosmosContainer#executeBulkOperations or com.azure.cosmos.CosmosAsyncContainer#executeBulkOperations.

static final CosmosMetricName REQUEST_SUMMARY_GATEWAY_BULK_OP_RETRIED_COUNT_PER_EVALUATION

The count of batch operations retried per evaluation cycle per physical partition executed through com.azure.cosmos.CosmosContainer#executeBulkOperations or com.azure.cosmos.CosmosAsyncContainer#executeBulkOperations.

static final CosmosMetricName REQUEST_SUMMARY_GATEWAY_BULK_TARGET_MAX_MICRO_BATCH_SIZE

The max count of items to touch per physical partition executed through com.azure.cosmos.CosmosContainer#executeBulkOperations or com.azure.cosmos.CosmosAsyncContainer#executeBulkOperations.

static final CosmosMetricName REQUEST_SUMMARY_GATEWAY_LATENCY

Latency of the request (Timer)

static final CosmosMetricName REQUEST_SUMMARY_GATEWAY_REQUESTS

Number of requests (Counter) NOTE: No percentiles or histogram supported

static final CosmosMetricName REQUEST_SUMMARY_GATEWAY_REQUEST_CHARGE

Request charge for a request (DistributionSummary)

static final CosmosMetricName REQUEST_SUMMARY_SIZE_REQUEST

Size of the request payload (DistributionSummary) NOTE: No percentiles or histogram supported

static final CosmosMetricName REQUEST_SUMMARY_SIZE_RESPONSE

Size of the response payload (DistributionSummary) NOTE: No percentiles or histogram supported

static final CosmosMetricName SYSTEM_CPU

Avg.

static final CosmosMetricName SYSTEM_MEMORY_FREE

JVM's Free available memory (DistributionSummary)

Method Summary

Modifier and Type Method and Description
boolean equals(Object obj)
static CosmosMetricName fromString(String name)

Gets the corresponding metric category state from its string representation.

CosmosMetricCategory getCategory()

Gets the meter category of the meter

int hashCode()
String toString()

Methods inherited from java.lang.Object

Field Details

DIRECT_ADDRESS_RESOLUTION_LATENCY

public static final CosmosMetricName DIRECT_ADDRESS_RESOLUTION_LATENCY

Latency of the RNTBD address resolution request (Timer)

DIRECT_ADDRESS_RESOLUTION_REQUESTS

public static final CosmosMetricName DIRECT_ADDRESS_RESOLUTION_REQUESTS

Number of RNTBD address resolution requests (Counter)

DIRECT_CHANNELS_ACQUIRED_COUNT

public static final CosmosMetricName DIRECT_CHANNELS_ACQUIRED_COUNT

Number of acquired channels (new connections) for this endpoint (FunctionCounter)

DIRECT_CHANNELS_AVAILABLE_COUNT

public static final CosmosMetricName DIRECT_CHANNELS_AVAILABLE_COUNT

Snapshot of the number of available channels (active connections) for this endpoint (Gauge)

DIRECT_CHANNELS_CLOSED_COUNT

public static final CosmosMetricName DIRECT_CHANNELS_CLOSED_COUNT

Number of closed channels / connections for this endpoint (FunctionCounter)

DIRECT_ENDPOINTS_COUNT

public static final CosmosMetricName DIRECT_ENDPOINTS_COUNT

Snapshot of the number of endpoints (Gauge)

DIRECT_ENDPOINTS_EVICTED

public static final CosmosMetricName DIRECT_ENDPOINTS_EVICTED

Number of evicted/closed endpoints (FunctionCounter)

DIRECT_REQUEST_CONCURRENT_COUNT

public static final CosmosMetricName DIRECT_REQUEST_CONCURRENT_COUNT

Snapshot of number of concurrent RNTBD requests for this endpoint (Gauge)

DIRECT_REQUEST_LATENCY

public static final CosmosMetricName DIRECT_REQUEST_LATENCY

Latency of RNTBD requests for this endpoint (Timer)

DIRECT_REQUEST_LATENCY_FAILED

public static final CosmosMetricName DIRECT_REQUEST_LATENCY_FAILED

Latency of failed RNTBD requests for this endpoint (Timer)

DIRECT_REQUEST_LATENCY_SUCCESS

public static final CosmosMetricName DIRECT_REQUEST_LATENCY_SUCCESS

Latency of successful RNTBD requests for this endpoint (Timer)

DIRECT_REQUEST_QUEUED_COUNT

public static final CosmosMetricName DIRECT_REQUEST_QUEUED_COUNT

Snapshot of number of queued RNTBD requests for this endpoint (Gauge)

DIRECT_REQUEST_SIZE_REQUEST

public static final CosmosMetricName DIRECT_REQUEST_SIZE_REQUEST

Size of the request payload (DistributionSummary)

DIRECT_REQUEST_SIZE_RESPONSE

public static final CosmosMetricName DIRECT_REQUEST_SIZE_RESPONSE

Size of the response payload (DistributionSummary)

LEGACY_DIRECT_ENDPOINT_STATISTICS_ACQUIRED

public static final CosmosMetricName LEGACY_DIRECT_ENDPOINT_STATISTICS_ACQUIRED

Distribution summary over snapshot of acquired channels for the endpoint at time of a request (DistributionSummary)

LEGACY_DIRECT_ENDPOINT_STATISTICS_AVAILABLE

public static final CosmosMetricName LEGACY_DIRECT_ENDPOINT_STATISTICS_AVAILABLE

Distribution summary over snapshot of available channels for the endpoint at time of a request (DistributionSummary)

LEGACY_DIRECT_ENDPOINT_STATISTICS_INFLIGHT

public static final CosmosMetricName LEGACY_DIRECT_ENDPOINT_STATISTICS_INFLIGHT

Distribution summary over snapshot of inflight channels for the endpoint at time of a request (DistributionSummary)

OPERATION_DETAILS_ACTUAL_ITEM_COUNT

public static final CosmosMetricName OPERATION_DETAILS_ACTUAL_ITEM_COUNT

Actual item count - relevant for non-point-operations - indicating the actual number of docs returned in the response (DistributionSummary) NOTE: No percentiles or histogram supported

OPERATION_DETAILS_MAX_ITEM_COUNT

public static final CosmosMetricName OPERATION_DETAILS_MAX_ITEM_COUNT

Max. item count - relevant for non-point-operations - indicating the requested max. number of docs returned in a single response (DistributionSummary) NOTE: No percentiles or histogram supported

OPERATION_DETAILS_REGIONS_CONTACTED

public static final CosmosMetricName OPERATION_DETAILS_REGIONS_CONTACTED

Number of regions contacted for processing the operation (DistributionSummary)

OPERATION_SUMMARY_CALLS

public static final CosmosMetricName OPERATION_SUMMARY_CALLS

Number of operation calls (Counter)

OPERATION_SUMMARY_LATENCY

public static final CosmosMetricName OPERATION_SUMMARY_LATENCY

Total latency (across requests including retries) of the operation (Timer)

OPERATION_SUMMARY_REQUEST_CHARGE

public static final CosmosMetricName OPERATION_SUMMARY_REQUEST_CHARGE

Request charge for the operation (DistributionSummary)

REQUEST_DETAILS_DIRECT_TIMELINE

public static final CosmosMetricName REQUEST_DETAILS_DIRECT_TIMELINE

Latency in different steps of the request pipeline (Timer)

REQUEST_DETAILS_GATEWAY_TIMELINE

public static final CosmosMetricName REQUEST_DETAILS_GATEWAY_TIMELINE

Latency in different steps of the request pipeline (Timer)

REQUEST_SUMMARY_DIRECT_ACTUAL_ITEM_COUNT

public static final CosmosMetricName REQUEST_SUMMARY_DIRECT_ACTUAL_ITEM_COUNT

Actual item count - relevant for non-point-operations - indicating the actual number of docs returned in the response (DistributionSummary) NOTE: No percentiles or histogram supported

REQUEST_SUMMARY_DIRECT_BACKEND_LATENCY

public static final CosmosMetricName REQUEST_SUMMARY_DIRECT_BACKEND_LATENCY

Backend-latency of the request (DistributionSummary)

REQUEST_SUMMARY_DIRECT_BULK_GLOBAL_OP_COUNT

public static final CosmosMetricName REQUEST_SUMMARY_DIRECT_BULK_GLOBAL_OP_COUNT

The count of batch operations per physical partition executed through com.azure.cosmos.CosmosContainer#executeBulkOperations or com.azure.cosmos.CosmosAsyncContainer#executeBulkOperations.

NOTE: No percentiles or histogram supported.

REQUEST_SUMMARY_DIRECT_BULK_OP_COUNT_PER_EVALUATION

public static final CosmosMetricName REQUEST_SUMMARY_DIRECT_BULK_OP_COUNT_PER_EVALUATION

The count of batch operations per evaluation cycle per physical partition executed through com.azure.cosmos.CosmosContainer#executeBulkOperations or com.azure.cosmos.CosmosAsyncContainer#executeBulkOperations.

In every evaluation cycle the no. of items to touch per batch I/O operation is recomputed to reasonably saturate provisioned throughput without getting throttled.

NOTE: No percentiles or histogram supported.

REQUEST_SUMMARY_DIRECT_BULK_OP_RETRIED_COUNT_PER_EVALUATION

public static final CosmosMetricName REQUEST_SUMMARY_DIRECT_BULK_OP_RETRIED_COUNT_PER_EVALUATION

The count of batch operations retried per evaluation cycle per physical partition executed through com.azure.cosmos.CosmosContainer#executeBulkOperations or com.azure.cosmos.CosmosAsyncContainer#executeBulkOperations.

In every evaluation cycle the no. of items to touch per batch I/O operation is recomputed to reasonably saturate provisioned throughput without getting throttled.

NOTE: No percentiles or histogram supported.

REQUEST_SUMMARY_DIRECT_BULK_TARGET_MAX_MICRO_BATCH_SIZE

public static final CosmosMetricName REQUEST_SUMMARY_DIRECT_BULK_TARGET_MAX_MICRO_BATCH_SIZE

The max count of items to touch per physical partition executed through com.azure.cosmos.CosmosContainer#executeBulkOperations or com.azure.cosmos.CosmosAsyncContainer#executeBulkOperations.

NOTE: No percentiles or histogram supported.

REQUEST_SUMMARY_DIRECT_LATENCY

public static final CosmosMetricName REQUEST_SUMMARY_DIRECT_LATENCY

Latency of the request (Timer)

REQUEST_SUMMARY_DIRECT_REQUESTS

public static final CosmosMetricName REQUEST_SUMMARY_DIRECT_REQUESTS

Number of requests (Counter) NOTE: No percentiles or histogram supported

REQUEST_SUMMARY_DIRECT_REQUEST_CHARGE

public static final CosmosMetricName REQUEST_SUMMARY_DIRECT_REQUEST_CHARGE

Request charge for a request (DistributionSummary)

REQUEST_SUMMARY_GATEWAY_ACTUAL_ITEM_COUNT

public static final CosmosMetricName REQUEST_SUMMARY_GATEWAY_ACTUAL_ITEM_COUNT

Actual item count - relevant for non-point-operations - indicating the actual number of docs returned in the response (DistributionSummary) NOTE: No percentiles or histogram supported

REQUEST_SUMMARY_GATEWAY_BULK_GLOBAL_OP_COUNT

public static final CosmosMetricName REQUEST_SUMMARY_GATEWAY_BULK_GLOBAL_OP_COUNT

The count of batch operations per physical partition executed through com.azure.cosmos.CosmosContainer#executeBulkOperations or com.azure.cosmos.CosmosAsyncContainer#executeBulkOperations.

NOTE: No percentiles or histogram supported.

REQUEST_SUMMARY_GATEWAY_BULK_OP_COUNT_PER_EVALUATION

public static final CosmosMetricName REQUEST_SUMMARY_GATEWAY_BULK_OP_COUNT_PER_EVALUATION

The count of batch operations per evaluation cycle per physical partition executed through com.azure.cosmos.CosmosContainer#executeBulkOperations or com.azure.cosmos.CosmosAsyncContainer#executeBulkOperations.

In every evaluation cycle the no. of items to touch per batch I/O operation is computed to reasonably saturate provisioned throughput without getting throttled.

NOTE: No percentiles or histogram supported.

REQUEST_SUMMARY_GATEWAY_BULK_OP_RETRIED_COUNT_PER_EVALUATION

public static final CosmosMetricName REQUEST_SUMMARY_GATEWAY_BULK_OP_RETRIED_COUNT_PER_EVALUATION

The count of batch operations retried per evaluation cycle per physical partition executed through com.azure.cosmos.CosmosContainer#executeBulkOperations or com.azure.cosmos.CosmosAsyncContainer#executeBulkOperations.

In every evaluation cycle the no. of items to touch per batch I/O operation is recomputed to reasonably saturate provisioned throughput without getting throttled.

NOTE: No percentiles or histogram supported.

REQUEST_SUMMARY_GATEWAY_BULK_TARGET_MAX_MICRO_BATCH_SIZE

public static final CosmosMetricName REQUEST_SUMMARY_GATEWAY_BULK_TARGET_MAX_MICRO_BATCH_SIZE

The max count of items to touch per physical partition executed through com.azure.cosmos.CosmosContainer#executeBulkOperations or com.azure.cosmos.CosmosAsyncContainer#executeBulkOperations.

NOTE: No percentiles or histogram supported.

REQUEST_SUMMARY_GATEWAY_LATENCY

public static final CosmosMetricName REQUEST_SUMMARY_GATEWAY_LATENCY

Latency of the request (Timer)

REQUEST_SUMMARY_GATEWAY_REQUESTS

public static final CosmosMetricName REQUEST_SUMMARY_GATEWAY_REQUESTS

Number of requests (Counter) NOTE: No percentiles or histogram supported

REQUEST_SUMMARY_GATEWAY_REQUEST_CHARGE

public static final CosmosMetricName REQUEST_SUMMARY_GATEWAY_REQUEST_CHARGE

Request charge for a request (DistributionSummary)

REQUEST_SUMMARY_SIZE_REQUEST

public static final CosmosMetricName REQUEST_SUMMARY_SIZE_REQUEST

Size of the request payload (DistributionSummary) NOTE: No percentiles or histogram supported

REQUEST_SUMMARY_SIZE_RESPONSE

public static final CosmosMetricName REQUEST_SUMMARY_SIZE_RESPONSE

Size of the response payload (DistributionSummary) NOTE: No percentiles or histogram supported

SYSTEM_CPU

public static final CosmosMetricName SYSTEM_CPU

Avg. system-wide CPU load (DistributionSummary)

SYSTEM_MEMORY_FREE

public static final CosmosMetricName SYSTEM_MEMORY_FREE

JVM's Free available memory (DistributionSummary)

Method Details

equals

public boolean equals(Object obj)

Overrides:

CosmosMetricName.equals(Object obj)

Parameters:

obj

fromString

public static CosmosMetricName fromString(String name)

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.

getCategory

public CosmosMetricCategory getCategory()

Gets the meter category of the meter

Returns:

the category of the meter

hashCode

public int hashCode()

Overrides:

CosmosMetricName.hashCode()

toString

public String toString()

Overrides:

CosmosMetricName.toString()

Applies to