storm icon indicating copy to clipboard operation
storm copied to clipboard

[STORM-3565] add support for adding dimensions to metric data points

Open RuiLi8080 opened this issue 6 years ago • 2 comments

A dimensional metric collects information into multiple sub-categories (dimensions). Add an interface IDimensionalMetric extending IMetric in hope for supporting a better fine-grained metric reporting. DimensionalCountMetric serves as an example for creating and using dimensional metric

RuiLi8080 avatar Jan 14 '20 16:01 RuiLi8080

Having DimensionalCountMetric is excluding all other IMetric implementations that would required Dimensional implementation.

kishorvpatil avatar Jan 15 '20 23:01 kishorvpatil

Re-worked on this PR. My thinking is to add a dimensions field in IMetricConsumer.DataPoint as an additional K-V metadata map. Data points are collected from metric measurement. The optional additional information could be helpful when downstream monitoring system want to organize or group those datapoints.

RuiLi8080 avatar Jan 30 '20 16:01 RuiLi8080