Commit 7de67c5e authored by 胡凯旋's avatar 胡凯旋

add max

parent b6f7e122
......@@ -48,7 +48,7 @@ class RDSCollector(object):
avg_metric_family.add_metric([rds_name], point['Average']/100, point['timestamp']/1000)
max_metric_family.add_metric([rds_name], point['Maximum']/100, point['timestamp']/1000)
metrics.append(avg_metric_family, max_metric_family)
metrics.extend([avg_metric_family, max_metric_family])
for m in metrics:
yield m
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment