<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def add_reporter(self, reporter):
 """Add a MetricReporter"""

        with self._lock:
            reporter.init(list(self.metrics.values()))
            self._reporters.append(reporter)