code: public static CircuitBreakerMetrics ofCircuitBreakerRegistry(String prefix, CircuitBreakerRegistry circuitBreakerRegistry) {
          return new CircuitBreakerMetrics(prefix, circuitBreakerRegistry.getAllCircuitBreakers());
      }
docs: Creates a new instance CircuitBreakerMetrics {@link CircuitBreakerMetrics} with specified metrics names prefix and
  a {@link CircuitBreakerRegistry} as a source.
  
  @param prefix                 the prefix of metrics names
  @param circuitBreakerRegistry the registry of circuit breakers