Add labels to influxdb write layout
parent
d275749b8e
commit
5aeeeca5f1
|
@ -13,7 +13,8 @@
|
||||||
"name": "InfluxDB - Write Points",
|
"name": "InfluxDB - Write Points",
|
||||||
"queries": [
|
"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": [],
|
"groupbys": [],
|
||||||
"wheres": []
|
"wheres": []
|
||||||
}
|
}
|
||||||
|
@ -28,12 +29,13 @@
|
||||||
"name": "InfluxDB - Write Errors",
|
"name": "InfluxDB - Write Errors",
|
||||||
"queries": [
|
"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": [],
|
"groupbys": [],
|
||||||
"wheres": []
|
"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": [],
|
"groupbys": [],
|
||||||
"wheres": []
|
"wheres": []
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue