code: public boolean includePath(String path) {
          if (path.startsWith("/hawkular/apm")) {
              return false;
          }
  
          int dotPos = path.lastIndexOf('.');
          int slashPos = path.lastIndexOf('/');
          if (dotPos <= slashPos) {
              return true;
          }
  
          if (!fileExtensionWhitelist.isEmpty()) {
              String extension = path.substring(dotPos + 1);
              if (fileExtensionWhitelist.contains(extension)) {
                  if (log.isLoggable(Level.FINER)) {
                      log.finer("Path " + path + " not skipped, because of whitelist");
                  }
                  return true;
              }
          }
  
          if (log.isLoggable(Level.FINER)) {
              log.finer("Path " + path + " skipped");
          }
          return false;
      }
docs: This method determines if the supplied path should be monitored.
  
  @param path The path
  @return Whether the path is valid for monitoring