docs: public static void register(MetricsRegistry metricsRegistry) {
          checkNotNull(metricsRegistry, "metricsRegistry");
  
          File file = new File(System.getProperty("user.home"));
          metricsRegistry.register(file, "file.partition[user.home].freeSpace", MANDATORY, File::getFreeSpace);
          metricsRegistry.register(file, "file.partition[user.home].totalSpace", MANDATORY, File::getTotalSpace);
          metricsRegistry.register(file, "file.partition[user.home].usableSpace", MANDATORY, File::getUsableSpace);
      }