docs: MonitorConfig toMonitorConfig(Id id, Tag stat) {
      MonitorConfig.Builder builder = new MonitorConfig.Builder(id.name());
      if (stat != null) {
        builder.withTag(stat.key(), stat.value());
      }
      for (Tag t : id.tags()) {
        builder.withTag(t.key(), t.value());
      }
      return builder.build();
    }