@Override
  public void counter(String name, Supplier<Number> supplier) {
    new Collector() {
      @Override
      public List<MetricFamilySamples> collect() {
        return List.of(new CounterMetricFamily(BASE + sanitizeMetricName(name), "", supplier.get().doubleValue()));
      }
    }.register(registry);
  }
Returns the full payload that we would send to push gateway for a poll right way.
planetiler-core/src/main/java/com/onthegomap/planetiler/stats/PrometheusStats.java