#3235 added an optional parameter to the constructor of an interface.
This added parameter is unused, and doesn't seem useful in the interface. It should be the responsibility of the implementations of this class to accept a metric filter as a parameter.
In its current form, both the child class MetricCollector and the interface MetricProducer have a member metric_filter_ which seems to be an oversight.
#3235 added an optional parameter to the constructor of an interface.
This added parameter is unused, and doesn't seem useful in the interface. It should be the responsibility of the implementations of this class to accept a metric filter as a parameter.
In its current form, both the child class
MetricCollectorand the interfaceMetricProducerhave a membermetric_filter_which seems to be an oversight.