Uses of Class
com.azure.cosmos.models.CosmosMicrometerMetricsOptions
Package
Description
This package provides rest contracts for interacting with Azure Cosmos DB SQL APIs.
-
Uses of CosmosMicrometerMetricsOptions in com.azure.cosmos.models
Modifier and TypeMethodDescriptionCosmosMicrometerMetricsOptions.addMetricCategories
(CosmosMetricCategory... categories) Adds categories of metrics that should be emitted.CosmosMicrometerMetricsOptions.applyDiagnosticThresholdsForTransportLevelMeters
(boolean isEnabled) Sets a flag indicating whether for transport level (rntbd) meters should only be emitted when diagnostic thresholds are violated.CosmosMicrometerMetricsOptions.configureDefaultPercentiles
(double... percentiles) Sets the default percentiles that should be captured for metrics (where applicable) unless overridden for a specific meter in itsCosmosMicrometerMeterOptions
By default percentiles 0.95 and 0.99 are captured.CosmosMicrometerMetricsOptions.configureDefaultTagNames
(CosmosMetricTagName... tags) Sets the default tags that should be used for metrics (where applicable) unless overridden for a specific meter in itsCosmosMicrometerMeterOptions
By default all applicable tags are added for each metric.CosmosMicrometerMetricsOptions.configureMeter
(CosmosMetricName meterName, CosmosMicrometerMeterOptions options) Allows overriding meter-specific options.CosmosMicrometerMetricsOptions.enableHistogramsByDefault
(boolean publishHistograms) Sets a flag indicating whether by default histograms should be published for metrics (where applicable) unless overridden for a specific meter in itsCosmosMicrometerMeterOptions
By default histograms are published.CosmosMicrometerMetricsOptions.meterRegistry
(io.micrometer.core.instrument.MeterRegistry clientMetricMeterRegistry) Sets MetricRegistry to be used to emit client metricsCosmosMicrometerMetricsOptions.removeMetricCategories
(CosmosMetricCategory... categories) Removes categories of metrics that should be emitted.CosmosMicrometerMetricsOptions.setEnabled
(boolean enabled) CosmosMicrometerMetricsOptions.setMetricCategories
(CosmosMetricCategory... categories) Sets the categories of metrics that should be emitted.