Fix number 1256 for postgresql plugin

Fix the postgresql_test.go to add the bgwriter stats
This commit is contained in:
Thomas Menard 2016-02-11 13:07:22 +01:00
parent bf47405209
commit cf9c357800
1 changed files with 10 additions and 0 deletions

View File

@ -45,6 +45,16 @@ func TestPostgresqlGeneratesMetrics(t *testing.T) {
"temp_bytes",
"deadlocks",
"numbackends",
"buffers_alloc",
"buffers_backend",
"buffers_backend_fsync",
"buffers_checkpoint",
"buffers_clean",
"checkpoint_sync_time",
"checkpoint_write_time",
"checkpoints_req",
"checkpoints_timed",
"maxwritten_clean",
}
floatMetrics := []string{