use of io.github.resilience4j.bulkhead.utils.MetricNames.AVAILABLE_CONCURRENT_CALLS in project resilience4j by resilience4j.
the class BulkheadMetrics method bindTo.
@Override
public void bindTo(MeterRegistry registry) {
for (Bulkhead bulkhead : bulkheads) {
final String name = bulkhead.getName();
Gauge.builder(getName(prefix, name, AVAILABLE_CONCURRENT_CALLS), bulkhead, (cb) -> cb.getMetrics().getAvailableConcurrentCalls()).register(registry);
}
}
Aggregations