Add labels to influxdb write layout

pull/929/head
Chris Goller 2017-02-24 17:03:59 -06:00
parent d275749b8e
commit 5aeeeca5f1
1 changed files with 5 additions and 3 deletions

View File

@ -13,7 +13,8 @@
"name": "InfluxDB - Write Points",
"queries": [
{
"query": "SELECT non_negative_derivative(max(\"pointReq\"), 1s) AS \"points_written\" FROM \"influxdb_write\"",
"query": "SELECT non_negative_derivative(max(\"pointReq\")) AS \"points_written\" FROM \"influxdb_write\"",
"label": "points/s",
"groupbys": [],
"wheres": []
}
@ -28,12 +29,13 @@
"name": "InfluxDB - Write Errors",
"queries": [
{
"query": "SELECT non_negative_derivative(max(\"writeError\"), 1s) AS \"shard_write_error\" FROM \"influxdb_write\"",
"query": "SELECT non_negative_derivative(max(\"writeError\")) AS \"shard_write_error\" FROM \"influxdb_write\"",
"label": "errors/s",
"groupbys": [],
"wheres": []
},
{
"query": "SELECT non_negative_derivative(max(\"serveError\"), 1s) AS \"http_error\" FROM \"influxdb_httpd\"",
"query": "SELECT non_negative_derivative(max(\"serveError\")) AS \"http_error\" FROM \"influxdb_httpd\"",
"groupbys": [],
"wheres": []
}