histogram¶
-
class
maze.core.log_stats.reducer_functions.
histogram
(values: Union[List[Union[float, int]], List[List[Union[float, int]]], List[collections.abc.ValuesView]])¶ - the histogram reducer function
We decided to return the full list, rather then binning the values (e.g. collections.Counter), so that float values are supported as well.
- Parameters
values – A list of values collected by the event system
- Returns
returns the same list of values so that a histogram can then be build from it