LiveLoad.Result.DimensionedCounter (LiveLoad v0.0.1-rc.55)

Copy Markdown View Source

A counter with both a total aggregated value and an optional dimensional breakdown.

  • :aggregate is the total count across all dimensions.
  • :by maps dimension values to their individual counts.

Summary

Types

t()

@type t() :: %LiveLoad.Result.DimensionedCounter{
  aggregate: non_neg_integer(),
  by: %{required(String.t()) => non_neg_integer()}
}