code: private void reportHistogram(String name, Histogram histogram) {
          final Snapshot snapshot = histogram.getSnapshot();
          String prefixedName = prefix(name);
          if (!snapshots.hasDescriptor(prefixedName)) {
  
              MetricItem.Builder builder = MetricItem.Builder.create();
              builder.count("max");
              builder.count("mean");
              builder.count("min");
              builder.count("stddev");
              builder.count("p50");
              builder.count("p75");
              builder.count("p95");
              builder.count("p98");
              builder.count("p99");
              builder.count("p95");
              builder.count("p999");
              builder.count("count");
  
              snapshots.setDescriptor(prefixedName, builder.build());
  
          }
  
          Map<String, Number> values = new HashMap<>();
  
          values.put("max", (snapshot.getMax()));
          values.put("mean", (snapshot.getMean()));
          values.put("min", (snapshot.getMin()));
          values.put("stddev", (snapshot.getStdDev()));
          values.put("p50", (snapshot.getMedian()));
          values.put("p75", (snapshot.get75thPercentile()));
          values.put("p95", (snapshot.get95thPercentile()));
          values.put("p98", (snapshot.get98thPercentile()));
          values.put("p99", (snapshot.get99thPercentile()));
          values.put("p999", (snapshot.get999thPercentile()));
          values.put("count", histogram.getCount());
  
          snapshots.addSnapshot(prefixedName, getTimestamp(), values);
      }
docs: Report a histogram using fields max/mean/min/stddev,p50/p75/p95/p98/p99/p999/count
  
  @param name
  @param histogram