code: public static Ehcache monitor(MeterRegistry registry, Ehcache cache, Iterable<Tag> tags) {
          new EhCache2Metrics(cache, tags).bindTo(registry);
          return cache;
      }
docs: Record metrics on an EhCache cache.
  
  @param registry The registry to bind metrics to.
  @param cache    The cache to instrument.
  @param tags     Tags to apply to all recorded metrics.
  @return The instrumented cache, unchanged. The original cache is not wrapped or proxied in any way.