This is the 1st part of migrating metrics for app_stat to new framework,
since there are many (59) metrics to be migrated and both table-level and
partition-level should be supported.
Since app_stat command has more dimensions for stats, i.e. table id and
partition id, an abstract class aggregate_stats is introduced to allow users
to perform their self-defined aggregations on fetched metrics.
This is the 1st part of migrating metrics for
app_stat
to new framework, since there are many (59) metrics to be migrated and both table-level and partition-level should be supported.Since
app_stat
command has more dimensions for stats, i.e. table id and partition id, an abstract classaggregate_stats
is introduced to allow users to perform their self-defined aggregations on fetched metrics.New configuration is added: