def METHOD_NAME(self):
    exc = TaurusConfigError('Metric is required in Local monitoring client')
    metric_names = self.config.get('metrics', exc)
    bad_list = set(metric_names) - set(self.AVAILABLE_METRICS)
    if bad_list:
        self.log.warning('Wrong metrics found: %s', bad_list)
    good_list = set(metric_names) & set(self.AVAILABLE_METRICS)
    if not good_list:
        raise exc
    self.metrics = list(set(good_list))
    self.monitor = ServerLocalMonitor(self.log, self.metrics, self.engine)
    self.interval = dehumanize_time(self.config.get("interval", self.engine.check_interval))
    if self.config.get("logging", False):
        if not PY3:
            self.log.warning("Logging option doesn't work on python2.")
        else:
            self.logs_file = self.engine.create_artifact("local_monitoring_logs", ".csv")
            with open(self.logs_file, "a", newline='') as mon_logs:
                logs_writer = csv.writer(mon_logs, delimiter=',')
                metrics = ['ts'] + sorted([metric for metric in good_list])
                logs_writer.writerow(metrics)