code: public Map<String, Object> toMap() {
          Map<String, Object> ret = new HashMap<>();
          ret.put(MetricUploader.METRIC_TIME, timestamp);
          ret.put(MetricUploader.METRIC_TYPE, type);
          
          return ret;
      }
docs: metrics report time