def _report_kpi(self, stats):
    for (host, iops) in stats.items():
        data = self.TEMPLATE.copy()
        data['group'] = data['group'].format(self.cluster_spec.name.title())
        data['metric'] = host
        data['value'] = iops
        self._post(data)
def _report_kpi(self, stats):
    for (host, iops) in stats.items():
        data = self.TEMPLATE.copy()
        data['group'] = data['group'].format(self.cluster_spec.name.title())
        data['metric'] = host
        data['value'] = iops
        self._post(data)