Buffer Pool Size of Total RAM 显示No Data

1. 保证这台机器上也有node_exporter

2. 摁E 编辑参数替换为:

(label_replace(mysql_global_variables_innodb_buffer_pool_size{instance="$host"}, "nodename", "$1", "instance", "(.*):.*") * 100) / on(nodename) (label_replace(node_memory_MemTotal_bytes, "nodename", "$1", "instance", "(.*):.*"))

Buffer Pool Size of Total RAM 显示No Data_第1张图片

 即可。

你可能感兴趣的:(shell,mysql)