### What changes were proposed in this pull request? Introduce application dimension resource consumption metrics for `ResourceConsumptionSource`. ### Why are the changes needed? `ResourceConsumption` namespace metrics are generated for each user and they are identified using a metric tag at present. It's recommended to introduce application dimension resource consumption metrics that expose application dimension resource consumption of Master and Worker. By monitoring resource consumption in the application dimension, you can obtain the actual situation of application resource consumption. ### Does this PR introduce _any_ user-facing change? No. ### How was this patch tested? - `WorkerInfoSuite#WorkerInfo toString output` - `PbSerDeUtilsTest#fromAndToPbResourceConsumption` - `MasterStateMachineSuitej#testObjSerde` Closes #2161 from SteNicholas/CELEBORN-1174. Authored-by: SteNicholas <programgeek@163.com> Signed-off-by: SteNicholas <programgeek@163.com> |
||
|---|---|---|
| .. | ||
| src | ||
| pom.xml | ||