code: public Metric<Long> increment(int amount) {
          return new Metric<>(this.getName(), Long.valueOf(this.getValue().longValue() + amount));
      }
docs: Create a new {@link Metric} with an incremented value.
  
  @param amount the amount that the new metric will differ from this one
  @return a new {@link Metric} instance