anchor.diff:  
   === Example with Dropwizard Metrics
   
  -You can use https://dropwizard.github.io/metrics/[Dropwizard Metrics] to get execution metrics for your functions. A histogram allows you to measure min, mean, max, standard deviation and quantiles like the median or 95th percentile of the function execution time. A meter measures the rate of the function executions.
  -The project provides several higher-order functions to decorate any `Supplier / Runnable / Function` or `CheckedSupplier / CheckedRunnable / CheckedFunction` with metrics. 
  +You can use https://dropwizard.github.io/metrics/[Dropwizard Metrics] to get runtime metrics of your functions. The project provides several higher-order functions to decorate any `Supplier / Runnable / Function` or `CheckedSupplier / CheckedRunnable / CheckedFunction`. The decorator creates a histogram and a meter for your function.  A histogram measures min, mean, max, standard deviation and quantiles like the median or 95th percentile of the execution time. A meter measures the rate of executions.
  +
   
   [source,java]
   ----
  
positive.code:         .build();
  CircuitBreaker circuitBreaker = circuitBreakerRegistry.circuitBreaker("testName", circuitBreakerConfig);
  
  circuitBreaker.recordFailure(new RuntimeException());
  // CircuitBreaker is still CLOSED, because 1 failure is allowed
  assertThat(circuitBreaker.getState()).isEqualTo(CircuitBreaker.State.CLOSED);
  
negative.code:     return "Hello world";
  };
  
  // and decorate the supplier with a Metrics timer
  Try.CheckedSupplier<String> timedSupplier = Metrics.timedCheckedSupplier(supplier, timer);
  
  // and decorate the supplier with a CircuitBreaker
  Try.CheckedSupplier<String> circuitBreakerAndTimedSupplier = CircuitBreaker
          .decorateCheckedSupplier(timedSupplier, circuitBreaker);
  
  String value = circuitBreakerAndTimedSupplier.get();
  
  // Then the Metrics execution counter should be 1
  assertThat(timer.getCount()).isEqualTo(1);
  // and the mean time should be greater than 2[s]
  assertThat(timer.getSnapshot().getMean()).isGreaterThan(2);
  