Class ThreadPoolBulkheadMetricNames
java.lang.Object
io.github.resilience4j.micrometer.tagged.ThreadPoolBulkheadMetricNames
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classHelps building custom instance ofThreadPoolBulkheadMetricNames. -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncustom()Returns a builder for creating custom metric names.Returns the metric name for bulkhead active count, defaults to "resilience4j.bulkhead.active.thread.count".Returns the metric name for bulkhead available thread count, defaults to "resilience4j.bulkhead.available.thread.count".Returns the metric name for core thread pool size, defaults to "resilience4j.bulkhead.core.thread.pool.size".Returns the metric name for max thread pool size, defaults to "resilience4j.bulkhead.max.thread.pool.size".Returns the metric name for queue capacity, defaults to "resilience4j.bulkhead.queue.capacity".Returns the metric name for queue depth, defaults to "resilience4j.bulkhead.queue.depth".Returns the metric name for thread pool size, defaults to "resilience4j.bulkhead.thread.pool.size".Returns default metric names.
-
Field Details
-
DEFAULT_BULKHEAD_QUEUE_DEPTH_METRIC_NAME
- See Also:
-
DEFAULT_BULKHEAD_QUEUE_CAPACITY_METRIC_NAME
- See Also:
-
DEFAULT_THREAD_POOL_SIZE_METRIC_NAME
- See Also:
-
DEFAULT_MAX_THREAD_POOL_SIZE_METRIC_NAME
- See Also:
-
DEFAULT_CORE_THREAD_POOL_SIZE_METRIC_NAME
- See Also:
-
DEFAULT_BULKHEAD_ACTIVE_THREAD_COUNT_METRIC_NAME
- See Also:
-
DEFAULT_BULKHEAD_AVAILABLE_THREAD_COUNT_METRIC_NAME
- See Also:
-
-
Constructor Details
-
ThreadPoolBulkheadMetricNames
protected ThreadPoolBulkheadMetricNames()
-
-
Method Details
-
custom
Returns a builder for creating custom metric names. Note that names have default values, so only desired metrics can be renamed.- Returns:
- The builder.
-
ofDefaults
Returns default metric names.- Returns:
- The default
ThreadPoolBulkheadMetricNamesinstance.
-
getQueueDepthMetricName
Returns the metric name for queue depth, defaults to "resilience4j.bulkhead.queue.depth".- Returns:
- The queue depth metric name.
-
getThreadPoolSizeMetricName
Returns the metric name for thread pool size, defaults to "resilience4j.bulkhead.thread.pool.size".- Returns:
- The thread pool size metric name.
-
getMaxThreadPoolSizeMetricName
Returns the metric name for max thread pool size, defaults to "resilience4j.bulkhead.max.thread.pool.size".- Returns:
- The max thread pool size metric name.
-
getCoreThreadPoolSizeMetricName
Returns the metric name for core thread pool size, defaults to "resilience4j.bulkhead.core.thread.pool.size".- Returns:
- The core thread pool size metric name.
-
getQueueCapacityMetricName
Returns the metric name for queue capacity, defaults to "resilience4j.bulkhead.queue.capacity".- Returns:
- The queue capacity metric name.
-
getActiveThreadCountMetricName
Returns the metric name for bulkhead active count, defaults to "resilience4j.bulkhead.active.thread.count".- Returns:
- The active thread count metric name.
-
getAvailableThreadCountMetricName
Returns the metric name for bulkhead available thread count, defaults to "resilience4j.bulkhead.available.thread.count".- Returns:
- The available thread count metric name.
-