postgres_exporter SQL解析

定义变量名称

pg_stat_bgwriter

"checkpoints_timed":     {COUNTER, "Number of scheduled checkpoints that have been performed", nil, nil},
"checkpoints_req":       {COUNTER, "Number of requested checkpoints that have been performed", nil, nil},
"checkpoint_write_time": {COUNTER, "Total amount of time that has been spent in the portion of checkpoint processing where files are written to disk, in milliseconds", nil, nil},
"checkpoint_sync_time":  {COUNTER, "Total amount of time that has been spent in the portion of checkpoint processing where files are synchronized to disk, in milliseconds", nil, nil},
"buffers_checkpoint":    {COUNTER, "Number of buffers written during checkpoints", nil, nil},
"buffers_clean":         {COUNTER, "Number of buffers written by the background writer", nil, nil},
"maxwritten_clean":      {COUNTER, "Number of times the background w

版权声明:本文为w345731923原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接和本声明。