Uses of Class
com.azure.cosmos.models.CosmosMetricCategory
Package
Description
This package provides rest contracts for interacting with Azure Cosmos DB SQL APIs.
-
Uses of CosmosMetricCategory in com.azure.cosmos.models
Modifier and TypeFieldDescriptionstatic final CosmosMetricCategory
CosmosMetricCategory.ALL
All metrics enabledstatic final CosmosMetricCategory
CosmosMetricCategory.DEFAULT
Default metrics (categories OperationSummary, RequestSummary, System, DirectChannels and DirectRequests) enabled.static final CosmosMetricCategory
CosmosMetricCategory.DIRECT_ADDRESS_RESOLUTIONS
The metrics in the AddressResolutions category emit metrics for calls made to get replica addresses for a certain physical partition when using direct mode.static final CosmosMetricCategory
CosmosMetricCategory.DIRECT_CHANNELS
The metrics in the DirectChannels category emit metrics allowing to monitor connection handling by service endpoint.static final CosmosMetricCategory
CosmosMetricCategory.DIRECT_ENDPOINTS
The metrics in the DirectEndpoints category emit metrics allowing to monitor state by service endpoint.static final CosmosMetricCategory
CosmosMetricCategory.DIRECT_REQUESTS
The metrics in the DirectRequests category emit metrics allowing to monitor requests by service endpoint (request rate, error rate, latency etc.).static final CosmosMetricCategory
CosmosMetricCategory.LEGACY
The metrics in the Legacy category emit metrics that should not be used anymore and exist only for backwards compatibility reasons.static final CosmosMetricCategory
CosmosMetricCategory.MINIMUM
Minimum set of metrics (categories OperationSummary and System) enabled.static final CosmosMetricCategory
CosmosMetricCategory.OPERATION_DETAILS
The metrics in the OperationDetails category emit additional end-to-end metrics (like item count) for SDK operations.static final CosmosMetricCategory
CosmosMetricCategory.OPERATION_SUMMARY
The metrics in the OperationSummary category emit most important end-to-end metrics (like latency, request rate, request charge, request- and response-payload size etc.) for SDK operations These metrics are intended to visualize health state and impact - but alone not sufficient for triaging issues.static final CosmosMetricCategory
CosmosMetricCategory.REQUEST_DETAILS
The metrics in the RequestDetails category emit additional end-to-end metrics (like timeline metrics showing where in the request pipeline latency was spent etc.) for physical network requests - they have tags allowing to distinguish by service endpoint in the backend as well as the client-machine.static final CosmosMetricCategory
CosmosMetricCategory.REQUEST_SUMMARY
The metrics in the RequestSummary category emit most important end-to-end metrics (like latency, request rate, request charge, request- and response-payload size etc.) for physical network requests - they have tags allowing to distinguish by service endpoint in the backend as well as the client-machine.static final CosmosMetricCategory
CosmosMetricCategory.SYSTEM
The metrics in the system category emit metrics that reflect system-wide CPU and memory usage based on the same snapshots taken and logged in request diagnosticsModifier and TypeMethodDescriptionstatic CosmosMetricCategory
CosmosMetricCategory.fromString
(String name) Gets the corresponding metric category state from its string representation.CosmosMetricName.getCategory()
Gets the meter category of the meterModifier and TypeMethodDescriptionCosmosMicrometerMetricsOptions.addMetricCategories
(CosmosMetricCategory... categories) Adds categories of metrics that should be emitted.CosmosMicrometerMetricsOptions.removeMetricCategories
(CosmosMetricCategory... categories) Removes categories of metrics that should be emitted.CosmosMicrometerMetricsOptions.setMetricCategories
(CosmosMetricCategory... categories) Sets the categories of metrics that should be emitted.