Postgres Layout Tweaks

There was an issue where rows returned weren't broken out by database,
so the graph became a sawtooth. Also, at @goller's recommendation, many
queries that were previously derivatives of 1m means are now derivatives
of the raw data, giving more precision.
pull/449/head
Tim Raymond 2016-11-10 15:18:12 -05:00
parent 67fba0c56f
commit b251bcf023
1 changed files with 28 additions and 28 deletions

View File

@ -6,27 +6,46 @@
{
"x": 0,
"y": 0,
"w": 4,
"w": 12,
"h": 4,
"i": "",
"i": "b417bc9f-b16d-4691-91a7-85adfdd3e8ec",
"name": "PostgreSQL Rows",
"queries": [
{
"query": "select non_negative_derivative(mean(tup_fetched)) as fetched, non_negative_derivative(mean(tup_returned)) as returned, non_negative_derivative(mean(tup_inserted)) as inserted, non_negative_derivative(mean(tup_updated)) as updated from postgresql",
"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",
"db": "telegraf",
"rp": "autogen",
"groupbys": [
"time(1m)"
"db"
],
"wheres": []
}
]
},
{
"x": 10,
"y": 0,
"w": 4,
"x": 0,
"y": 8,
"w": 12,
"h": 4,
"i": "230d5baa-9376-438c-9a55-6f97f8c68e69",
"name": "PostgreSQL QPS",
"queries": [
{
"query": "select non_negative_derivative(xact_commit) as xact_commit from postgresql",
"db": "telegraf",
"rp": "autogen",
"groupbys": [
"db"
],
"wheres": []
}
]
},
{
"x": 0,
"y": 4,
"w": 6,
"h": 4,
"i": "4762130d-7005-467f-80ad-8c7f6dfe822e",
"name": "PostgreSQL Buffers",
@ -43,9 +62,9 @@
]
},
{
"x": 20,
"y": 0,
"w": 4,
"x": 6,
"y": 4,
"w": 6,
"h": 4,
"i": "95e73bda-7527-4aca-89dd-109cb6bb4294",
"name": "PostgreSQL Conflicts/Deadlocks",
@ -60,25 +79,6 @@
"wheres": []
}
]
},
{
"x": 20,
"y": 10,
"w": 15,
"h": 10,
"i": "230d5baa-9376-438c-9a55-6f97f8c68e69",
"name": "PostgreSQL QPS",
"queries": [
{
"query": "select mean(xact_commit) as xact_commit from postgresql",
"db": "telegraf",
"rp": "autogen",
"groupbys": [
"time(1m)"
],
"wheres": []
}
]
}
]
}