Module org.elasticsearch.server
Class ShardWriteLoadDistributionMetrics
java.lang.Object
org.elasticsearch.cluster.routing.allocation.ShardWriteLoadDistributionMetrics
Publishes metrics about the distribution of shard write loads on each node in the cluster
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionShardWriteLoadDistributionMetrics(MeterRegistry meterRegistry, ClusterService clusterService) ShardWriteLoadDistributionMetrics(MeterRegistry meterRegistry, ClusterService clusterService, int numberOfSignificantDigits, int... trackedPercentiles) -
Method Summary
Modifier and TypeMethodDescriptionvoidonNewInfo(ClusterInfo clusterInfo) static StringshardWriteLoadDistributionMetricName(int percentile) Get the metric name for the shard write load distribution metric for the specified percentile.
-
Field Details
-
WRITE_LOAD_PRIORITISATION_THRESHOLD_METRIC_NAME
- See Also:
-
WRITE_LOAD_PRIORITISATION_THRESHOLD_PERCENTILE_RANK_METRIC_NAME
- See Also:
-
WRITE_LOAD_SUM_METRIC_NAME
- See Also:
-
SHARD_WRITE_LOAD_METRICS_ENABLED_SETTING
-
-
Constructor Details
-
ShardWriteLoadDistributionMetrics
public ShardWriteLoadDistributionMetrics(MeterRegistry meterRegistry, ClusterService clusterService) -
ShardWriteLoadDistributionMetrics
public ShardWriteLoadDistributionMetrics(MeterRegistry meterRegistry, ClusterService clusterService, int numberOfSignificantDigits, int... trackedPercentiles)
-
-
Method Details
-
onNewInfo
-
shardWriteLoadDistributionMetricName
Get the metric name for the shard write load distribution metric for the specified percentile.- Parameters:
percentile- The desired percentile- Returns:
- The metric name
-