def METHOD_NAME(self, nickname, metrics):
    for key in metrics:
        for metric_name in metrics[key]:
            metric_value = metrics[key][metric_name]
            if type(metric_value) is not float:
                continue
            if metric_name not in self._GAUGE_KEYS:
                metric_value = self.derivative(nickname + metric_name,
                                               metric_value)
            if key == 'status':
                if (('publish' not in self.config or
                     metric_name in self.config['publish'])):
                    self.publish(nickname + metric_name, metric_value)
            else:
                self.publish(nickname + metric_name, metric_value)