code: @Deprecated
      public static void monitor(MeterRegistry registry, EntityManagerFactory entityManagerFactory, String entityManagerFactoryName, Iterable<Tag> tags) {
          new HibernateMetrics(entityManagerFactory, entityManagerFactoryName, tags).bindTo(registry);
      }
docs: Create {@code HibernateMetrics} and bind to the specified meter registry.
  
  @param registry meter registry to use
  @param entityManagerFactory entity manager factory to use
  @param entityManagerFactoryName entity manager factory name as a tag value
  @param tags additional tags
  @deprecated since 1.1.2 in favor of {@link #monitor(MeterRegistry, SessionFactory, String, Iterable)}