This class replaces the previous StatisticRegistry in the cases where you do not need any sampling and history.
StatisticRegistry