Class RetryMetricNames


  • public class RetryMetricNames
    extends java.lang.Object
    • Field Detail

      • DEFAULT_RETRY_CALLS

        public static final java.lang.String DEFAULT_RETRY_CALLS
        See Also:
        Constant Field Values
    • Constructor Detail

      • RetryMetricNames

        protected RetryMetricNames()
    • Method Detail

      • custom

        public static RetryMetricNames.Builder 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.
      • getCallsMetricName

        public java.lang.String getCallsMetricName()
        Returns the metric name for retry calls, defaults to "resilience4j.retry.calls".
        Returns:
        The metric name for retry calls.