Class CircuitBreakerMetrics

java.lang.Object
org.elasticsearch.indices.breaker.CircuitBreakerMetrics

public class CircuitBreakerMetrics extends Object
A class collecting trip count metrics for circuit breakers (parent, field data, request, in flight requests and custom child circuit breakers). The circuit breaker name is used as an attribute so that we define a single counter metric where the name is mapped to a 'type' attribute. The counter trips for different reasons even if the underlying reason is "too much memory usage". Aggregating them together results in losing the ability to understand where the underlying issue is (too much field data, too many concurrent requests, too large concurrent requests?). As a result weadvise in aggregations queries not to "aggregate away" the type attribute so that you treat each circuit breaker as a separate counter.