MCPcopy Create free account
hub / github.com/celzero/firestack / histo2Ms

Function histo2Ms

intra/core/runmet.go:305–413  ·  view source on GitHub ↗

histo2Ms returns a string with mean, median, mode, avg, min, max, variance, and standard deviation for the histogram, considering only buckets with non-zero counts. - mean / avg: weighted arithmetic mean (mid-point weighted by count) - median: mid-point of the bucket that crosses the 50th percentile

(h *metrics.Float64Histogram, u metricUnit, sepb byte)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

MetricsFunction · 0.85

Calls 1

unit4floatFunction · 0.85

Tested by

no test coverage detected