"use strict";const{HistogramMetric:t}=require("../common/metric");class o{constructor(){this.histogramCollection=new Map}getMetric(o,e){let r=this.histogramCollection.get(e);if(!r){r=new t(o,e);this.histogramCollection.set(e,r)}return r}stat(t){let o="";this.histogramCollection.forEach((e=>{o+=e.format(t)+"\n"}));return o}}module.exports=o;