in geronimo-microprofile-reporter/src/main/java/org/apache/geronimo/microprofile/reporter/storage/front/ReporterEndpoints.java [195:205]
public Html getHistogram(@QueryParam("histogram") final String name) {
final InMemoryDatabase<SnapshotStat> db = database.getHistograms().get(name);
return new Html("main.html")
.with("view", "histogram.html")
.with("colors", COLORS)
.with("title", "Histogram")
.with("name", name)
.with("unit", db == null ? null : db.getUnit())
.with("message", db == null ? "No matching histogram for name '" + name + "'" : null)
.with("points", db == null ? null : db.snapshot().stream().map(Point::new).collect(toList()));
}