docs: public static void flushAll(long now) {
          if (MetricsManager.instance != null) {
              MetricsManager.instance.metricsLoggers.values().forEach(MetricsManager::flushMetricsLogger);
              flushToServer(now);
          }
      }