code: private void reportMeter(String name, Meter meter) {
          String prefixedName = prefix(name);
          if (!snapshots.hasDescriptor(prefixedName)) {
  
              MetricItem.Builder builder = MetricItem.Builder.create();
  
              builder.events("events");
  
              builder.events("m1_rate", 1, rateUnit);
              builder.events("m5_rate", 5, rateUnit);
              builder.events("m15_rate", 15, rateUnit);
              builder.events("mean_rate", rateUnit);
              snapshots.setDescriptor(prefixedName, builder.build());
          }
  
          Map<String, Number> values = new HashMap<>();
  
          addMetered(meter, values, "events");
  
          snapshots.addSnapshot(prefixedName, getTimestamp(), values);
      }
docs: Report a meter using fields events/m1_rate/m5_rate/m15_rate/mean_rate
  
  @param name
  @param meter