in lib/report.py [0:0]
def createHistogramMetrics(self, segment):
for hist in self.data['histograms']:
kind = self.data["histograms"][hist]["kind"]
metric = hist.split('.')[-1]
with self.doc.div(id=f"{segment}-{metric}", klass="cell"):
# Add title for metric
with self.doc.div(klass="title"):
self.doc(f"({segment}) - {metric}")
self.createMetrics(segment, metric, "histograms", kind)
return