This class aims at encapsulating all execution related metrics to achieve the following:
- single stop for checking what kind of metrics are available and how they are calculated.
- tries to make metrics extraction testable because everything within the execution part of SBC is practically untestable.
- All of the metrics defined in
ExecutionMetricsReporter
.
HISTOGRAM_PROPOSALS_PER_BROKER
-
This histogram will give us the distribution of number of proposals per broker, which on its own will help us
understand if the imposed maximum movements parallelism is playing nicely with the proposals generation.
HISTOGRAM_PROPOSAL_SIZE
-
the proposal's movement size in MB. This can give us insight if there is high variance between the partition's sizes.
HISTOGRAM_PROPOSALS_SIZE_PER_BROKER
-
This metric reports the distribution of data movement required per broker. This distribution will help us identify
the importance of the reported HISTOGRAM_PROPOSALS_PER_BROKER
value high or low.
HISTOGRAM_EXECUTION_TIME
-
This time it took for a rebalancing cycle to be executed in ms.
GAUGE_EXECUTION_STARTED
-
An ever increasing counter that gets reset when the machine reboots or we change SBC's host. It measures the number
of balances occurred since the start of SBC on that specific host.
GAUGE_EXECUTION_STOPPED
-
An ever increasing counter that gets reset when the machine reboots or we change SBC's host. It measures the number
of stopped balances since the start of SBC on that specific host.
GAUGE_CANCELLED_REASSIGNMENTS
-
Gauge representing the number of cancelled reassignments in a rebalance execution.
GAUGE_FAILED_REASSIGNMENT_CANCELLATIONS
-
Gauge representing the number of failed cancellation reassignments.