@Override
  default void constructValueMap(Map<String, Object> result) {
    result.put("value", getValue());
  }
get value according to the state of obj.
iotdb-core/metrics/interface/src/main/java/org/apache/iotdb/metrics/type/AutoGauge.java