scout_apm v0.2.10 ScoutApm.MetricSet

A way to absorb & combine metrics into a single set, keeping track of min/max/count, etc.

While this is just a map underneath, treat it like an opaque data type.

Summary

Types

options()
options() :: %{collapse_all: boolean, compare_desc: boolean, max_types: non_neg_integer}
t()
t() :: %ScoutApm.MetricSet{data: map, options: options, types: MapSet.t}

Functions

absorb(metric_set, metric)
new()
new(options)
new(map) :: t
to_list(metric_set)