dashboard: add account id to datapoints ingestion rate (#772)

This commit is contained in:
Aleksey Shirokih 2020-09-20 00:00:16 +03:00 committed by GitHub
parent 604e8f6114
commit a7e17f14f5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -660,7 +660,7 @@
"dashLength": 10,
"dashes": false,
"datasource": "$ds",
"description": "How many datapoints are inserted into storage per second",
"description": "How many datapoints are inserted into storage per second by protocol and accountID",
"fieldConfig": {
"defaults": {
"custom": {},
@ -698,12 +698,12 @@
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"stack": true,
"steppedLine": false,
"targets": [
{
"expr": "sum(rate(vm_rows_inserted_total{job=~\"$job\", instance=~\"$instance\"}[5m])) by (type) > 0 ",
"legendFormat": "{{type}}",
"expr": "sum(rate(vm_rows_inserted_total{job=~\"$job\", instance=~\"$instance\"}[5m])) by (type,accountID) > 0 ",
"legendFormat": "",
"refId": "A"
}
],