Documentation
¶
Overview ¶
Package merger combines multiple WorkerResult values from distributed workers into a single metrics.Result. Counters are summed, maps are merged, and histogram buckets are accumulated before computing percentiles so that cross-worker latency statistics are accurate (unlike averaging per-worker P-values, which is lossy).
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Merge ¶
func Merge(results []distributed.WorkerResult) metrics.Result
Merge combines n WorkerResult values into a single metrics.Result. An empty slice returns a zero Result.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.