@API(status=EXPERIMENTAL) public final class ThreadPoolMetrics extends Object implements io.micrometer.core.instrument.binder.MeterBinder
| Constructor and Description |
|---|
ThreadPoolMetrics(ThreadPoolExecutor executor) |
| Modifier and Type | Method and Description |
|---|---|
void |
bindTo(io.micrometer.core.instrument.MeterRegistry registry) |
ThreadPoolMetrics |
withDefaultTags(Iterable<io.micrometer.core.instrument.Tag> defaultTags) |
ThreadPoolMetrics |
withDefaultTags(io.micrometer.core.instrument.Tag... defaultTags) |
ThreadPoolMetrics |
withMetricName(String metricName) |
public ThreadPoolMetrics(ThreadPoolExecutor executor)
public ThreadPoolMetrics withMetricName(String metricName)
public ThreadPoolMetrics withDefaultTags(io.micrometer.core.instrument.Tag... defaultTags)
public ThreadPoolMetrics withDefaultTags(Iterable<io.micrometer.core.instrument.Tag> defaultTags)
public void bindTo(io.micrometer.core.instrument.MeterRegistry registry)
bindTo in interface io.micrometer.core.instrument.binder.MeterBinderCopyright © 2015–2023 Zalando SE. All rights reserved.