2016-11-09 17:24:26 +00:00
{
"id" : "0975a073-9eb8-471c-aaf2-692b65f9fe5c" ,
"measurement" : "postgresql" ,
"app" : "PostgreSQL" ,
"cells" : [
{
"x" : 0 ,
"y" : 0 ,
2016-11-10 20:18:12 +00:00
"w" : 12 ,
2016-11-09 17:24:26 +00:00
"h" : 4 ,
"i" : "b417bc9f-b16d-4691-91a7-85adfdd3e8ec" ,
"name" : "PostgreSQL Rows" ,
"queries" : [
{
2016-11-10 20:18:12 +00:00
"query" : "select non_negative_derivative(tup_fetched) as fetched, non_negative_derivative(tup_returned) as returned, non_negative_derivative(tup_inserted) as inserted, non_negative_derivative(tup_updated) as updated from postgresql" ,
2016-11-09 17:24:26 +00:00
"db" : "telegraf" ,
"rp" : "autogen" ,
"groupbys" : [
2016-11-10 20:18:12 +00:00
"db"
2016-11-09 17:24:26 +00:00
] ,
"wheres" : [ ]
}
]
} ,
{
2016-11-10 20:18:12 +00:00
"x" : 0 ,
"y" : 8 ,
"w" : 12 ,
2016-11-09 17:24:26 +00:00
"h" : 4 ,
2016-11-10 20:18:12 +00:00
"i" : "230d5baa-9376-438c-9a55-6f97f8c68e69" ,
"name" : "PostgreSQL QPS" ,
2016-11-09 17:24:26 +00:00
"queries" : [
{
2016-11-10 20:18:12 +00:00
"query" : "select non_negative_derivative(xact_commit) as xact_commit from postgresql" ,
2016-11-09 17:24:26 +00:00
"db" : "telegraf" ,
"rp" : "autogen" ,
"groupbys" : [
2016-11-10 20:18:12 +00:00
"db"
2016-11-09 17:24:26 +00:00
] ,
"wheres" : [ ]
}
]
} ,
{
2016-11-10 20:18:12 +00:00
"x" : 0 ,
"y" : 4 ,
"w" : 6 ,
2016-11-09 17:24:26 +00:00
"h" : 4 ,
2016-11-10 20:18:12 +00:00
"i" : "4762130d-7005-467f-80ad-8c7f6dfe822e" ,
"name" : "PostgreSQL Buffers" ,
2016-11-09 17:24:26 +00:00
"queries" : [
{
2016-11-10 20:18:12 +00:00
"query" : "select mean(buffers_alloc) as buffers_allocated, mean(buffers_backend) as buffers_backend, mean(buffers_backend_fsync) as buffers_backend_fsync, mean(buffers_checkpoint) as buffers_checkpoint, mean(buffers_clean) as buffers_clean from postgresql" ,
2016-11-09 17:24:26 +00:00
"db" : "telegraf" ,
"rp" : "autogen" ,
"groupbys" : [
"time(1m)"
] ,
"wheres" : [ ]
}
]
} ,
{
2016-11-10 20:18:12 +00:00
"x" : 6 ,
"y" : 4 ,
"w" : 6 ,
"h" : 4 ,
"i" : "95e73bda-7527-4aca-89dd-109cb6bb4294" ,
"name" : "PostgreSQL Conflicts/Deadlocks" ,
2016-11-09 17:24:26 +00:00
"queries" : [
{
2016-11-10 20:18:12 +00:00
"query" : "select mean(conflicts) as conflicts, mean(deadlocks) as deadlocks from postgresql" ,
2016-11-09 17:24:26 +00:00
"db" : "telegraf" ,
"rp" : "autogen" ,
"groupbys" : [
"time(1m)"
] ,
"wheres" : [ ]
}
]
}
]
}