sql = '''select "value" from "cpu/usage" where "pod_name"='mysql-slave-3-zx9dj' and "type"='pod' order by time desc limit 1'''
result = client.query(sql)
points = result.get_points()
for item in points:
	print(item[u'value']

https://blog.csdn.net/qq_38252499/article/details/89494250

发表评论

您的电子邮箱地址不会被公开。 必填项已用*标注