code: public FileStatus[] globStatus(Path pathPattern) throws IOException {
      try (TimerContextWithLog context = new TimerContextWithLog(globStatusTimer.time(), "globStatus", pathPattern)) {
        FileStatus[] statuses = super.globStatus(pathPattern);
        context.setResult(statuses);
        return statuses;
      }
    }
docs: Add timer metrics to  {@link DistributedFileSystem#globStatus(Path)}