dashboards: use rate instead of irate, because irate doesn't capture spikes

See https://medium.com/@valyala/why-irate-from-prometheus-doesnt-capture-spikes-45f9896d7832 for details
This commit is contained in:
Aliaksandr Valialkin 2019-07-20 15:55:43 +03:00
parent 3fae34eeb4
commit dd7bba94a3
3 changed files with 71 additions and 71 deletions

View File

@ -861,35 +861,35 @@
"steppedLine": false,
"targets": [
{
"expr": "sum(irate(vm_rpc_rows_pending{instance=~\".*$host.*\"}[2m]))",
"expr": "sum(rate(vm_rpc_rows_pending{instance=~\".*$host.*\"}[2m]))",
"format": "time_series",
"intervalFactor": 1,
"legendFormat": "Pending",
"refId": "A"
},
{
"expr": "sum(irate(vm_rpc_rows_pushed_total{instance=~\".*$host.*\"}[2m]))",
"expr": "sum(rate(vm_rpc_rows_pushed_total{instance=~\".*$host.*\"}[2m]))",
"format": "time_series",
"intervalFactor": 1,
"legendFormat": "Pushed",
"refId": "B"
},
{
"expr": "sum(irate(vm_rpc_rows_sent_total{instance=~\".*$host.*\"}[2m]))",
"expr": "sum(rate(vm_rpc_rows_sent_total{instance=~\".*$host.*\"}[2m]))",
"format": "time_series",
"intervalFactor": 1,
"legendFormat": "Sent",
"refId": "E"
},
{
"expr": "sum(irate(vm_rpc_rows_rerouted_from_here_total{instance=~\".*$host.*\"}[2m]))",
"expr": "sum(rate(vm_rpc_rows_rerouted_from_here_total{instance=~\".*$host.*\"}[2m]))",
"format": "time_series",
"intervalFactor": 1,
"legendFormat": "Rerouted from here",
"refId": "C"
},
{
"expr": "sum(irate(vm_rpc_rows_rerouted_to_here_total{instance=~\".*$host.*\"}[2m]))",
"expr": "sum(rate(vm_rpc_rows_rerouted_to_here_total{instance=~\".*$host.*\"}[2m]))",
"format": "time_series",
"intervalFactor": 1,
"legendFormat": "Rerouted to here",
@ -976,7 +976,7 @@
"steppedLine": false,
"targets": [
{
"expr": "sum(irate(vm_rpc_buf_pending_bytes{instance=~\".*$host.*\"}[2m]))",
"expr": "sum(rate(vm_rpc_buf_pending_bytes{instance=~\".*$host.*\"}[2m]))",
"format": "time_series",
"intervalFactor": 1,
"legendFormat": "Pending",
@ -1171,28 +1171,28 @@
"steppedLine": false,
"targets": [
{
"expr": "sum(irate(vm_tcpdialer_errors_total{instance=~\".*$host.*\",type=\"dial\"}[2m]))",
"expr": "sum(rate(vm_tcpdialer_errors_total{instance=~\".*$host.*\",type=\"dial\"}[2m]))",
"format": "time_series",
"intervalFactor": 1,
"legendFormat": "Dial",
"refId": "A"
},
{
"expr": "sum(irate(vm_tcpdialer_errors_total{instance=~\".*$host.*\",type=\"close\"}[2m]))",
"expr": "sum(rate(vm_tcpdialer_errors_total{instance=~\".*$host.*\",type=\"close\"}[2m]))",
"format": "time_series",
"intervalFactor": 1,
"legendFormat": "Close",
"refId": "B"
},
{
"expr": "sum(irate(vm_tcpdialer_errors_total{instance=~\".*$host.*\",type=\"write\"}[2m]))",
"expr": "sum(rate(vm_tcpdialer_errors_total{instance=~\".*$host.*\",type=\"write\"}[2m]))",
"format": "time_series",
"intervalFactor": 1,
"legendFormat": "Write",
"refId": "C"
},
{
"expr": "sum(irate(vm_tcpdialer_errors_total{instance=~\".*$host.*\",type=\"read\"}[2m]))",
"expr": "sum(rate(vm_tcpdialer_errors_total{instance=~\".*$host.*\",type=\"read\"}[2m]))",
"format": "time_series",
"intervalFactor": 1,
"legendFormat": "Read",
@ -1278,14 +1278,14 @@
"steppedLine": false,
"targets": [
{
"expr": "sum(irate(vm_tcplistener_errors_total{instance=~\".*$host.*\",type=\"accept\"}[2m]))",
"expr": "sum(rate(vm_tcplistener_errors_total{instance=~\".*$host.*\",type=\"accept\"}[2m]))",
"format": "time_series",
"intervalFactor": 1,
"legendFormat": "Accept",
"refId": "A"
},
{
"expr": "sum(irate(vm_tcplistener_errors_total{instance=~\".*$host.*\",type=\"close\"}[2m]))",
"expr": "sum(rate(vm_tcplistener_errors_total{instance=~\".*$host.*\",type=\"close\"}[2m]))",
"format": "time_series",
"hide": false,
"intervalFactor": 1,
@ -1293,14 +1293,14 @@
"refId": "B"
},
{
"expr": "sum(irate(vm_tcplistener_errors_total{instance=~\".*$host.*\",type=\"write\"}[2m]))",
"expr": "sum(rate(vm_tcplistener_errors_total{instance=~\".*$host.*\",type=\"write\"}[2m]))",
"format": "time_series",
"intervalFactor": 1,
"legendFormat": "Write",
"refId": "C"
},
{
"expr": "sum(irate(vm_tcplistener_errors_total{instance=~\".*$host.*\",type=\"read\"}[2m]))",
"expr": "sum(rate(vm_tcplistener_errors_total{instance=~\".*$host.*\",type=\"read\"}[2m]))",
"format": "time_series",
"intervalFactor": 1,
"legendFormat": "Read",
@ -1387,14 +1387,14 @@
"steppedLine": false,
"targets": [
{
"expr": "sum(irate(vm_tcpdialer_written_bytes_total{instance=~\".*$host.*\"}[2m]))",
"expr": "sum(rate(vm_tcpdialer_written_bytes_total{instance=~\".*$host.*\"}[2m]))",
"format": "time_series",
"intervalFactor": 1,
"legendFormat": "Write",
"refId": "A"
},
{
"expr": "sum(irate(vm_tcpdialer_read_bytes_total{instance=~\".*$host.*\"}[2m])) * -1",
"expr": "sum(rate(vm_tcpdialer_read_bytes_total{instance=~\".*$host.*\"}[2m])) * -1",
"format": "time_series",
"intervalFactor": 1,
"legendFormat": "Read",
@ -1481,14 +1481,14 @@
"steppedLine": false,
"targets": [
{
"expr": "sum(irate(vm_tcplistener_written_bytes_total{instance=~\".*$host.*\"}[2m]))",
"expr": "sum(rate(vm_tcplistener_written_bytes_total{instance=~\".*$host.*\"}[2m]))",
"format": "time_series",
"intervalFactor": 1,
"legendFormat": "Write",
"refId": "A"
},
{
"expr": "sum(irate(vm_tcplistener_read_bytes_total{instance=~\".*$host.*\"}[2m])) * -1",
"expr": "sum(rate(vm_tcplistener_read_bytes_total{instance=~\".*$host.*\"}[2m])) * -1",
"format": "time_series",
"intervalFactor": 1,
"legendFormat": "Read",
@ -1574,28 +1574,28 @@
"steppedLine": false,
"targets": [
{
"expr": "sum(irate(vm_tcpdialer_write_calls_total{instance=~\".*$host.*\"}[2m]))",
"expr": "sum(rate(vm_tcpdialer_write_calls_total{instance=~\".*$host.*\"}[2m]))",
"format": "time_series",
"intervalFactor": 1,
"legendFormat": "Write calls",
"refId": "A"
},
{
"expr": "sum(irate(vm_tcpdialer_write_timeouts_total{instance=~\".*$host.*\"}[2m]))",
"expr": "sum(rate(vm_tcpdialer_write_timeouts_total{instance=~\".*$host.*\"}[2m]))",
"format": "time_series",
"intervalFactor": 1,
"legendFormat": "Write timeouts",
"refId": "B"
},
{
"expr": "sum(irate(vm_tcpdialer_read_calls_total{instance=~\".*$host.*\"}[2m])) * -1",
"expr": "sum(rate(vm_tcpdialer_read_calls_total{instance=~\".*$host.*\"}[2m])) * -1",
"format": "time_series",
"intervalFactor": 1,
"legendFormat": "Read calls",
"refId": "C"
},
{
"expr": "sum(irate(vm_tcpdialer_read_timeouts_total{instance=~\".*$host.*\"}[2m])) * -1",
"expr": "sum(rate(vm_tcpdialer_read_timeouts_total{instance=~\".*$host.*\"}[2m])) * -1",
"format": "time_series",
"intervalFactor": 1,
"legendFormat": "Read timeouts",
@ -1681,28 +1681,28 @@
"steppedLine": false,
"targets": [
{
"expr": "sum(irate(vm_tcplistener_write_calls_total{instance=~\".*$host.*\"}[2m]))",
"expr": "sum(rate(vm_tcplistener_write_calls_total{instance=~\".*$host.*\"}[2m]))",
"format": "time_series",
"intervalFactor": 1,
"legendFormat": "Write calls",
"refId": "A"
},
{
"expr": "sum(irate(vm_tcplistener_write_timeouts_total{instance=~\".*$host.*\"}[2m]))",
"expr": "sum(rate(vm_tcplistener_write_timeouts_total{instance=~\".*$host.*\"}[2m]))",
"format": "time_series",
"intervalFactor": 1,
"legendFormat": "Write timeouts",
"refId": "B"
},
{
"expr": "sum(irate(vm_tcplistener_read_calls_total{instance=~\".*$host.*\"}[2m])) * -1",
"expr": "sum(rate(vm_tcplistener_read_calls_total{instance=~\".*$host.*\"}[2m])) * -1",
"format": "time_series",
"intervalFactor": 1,
"legendFormat": "Read calls",
"refId": "C"
},
{
"expr": "sum(irate(vm_tcplistener_read_timeouts_total{instance=~\".*$host.*\"}[2m])) * -1",
"expr": "sum(rate(vm_tcplistener_read_timeouts_total{instance=~\".*$host.*\"}[2m])) * -1",
"format": "time_series",
"intervalFactor": 1,
"legendFormat": "Read timeouts",
@ -1817,4 +1817,4 @@
"title": "VictoriaMetrics - Insert",
"uid": "qHVJxGrHf",
"version": 6
}
}

View File

@ -867,21 +867,21 @@
"steppedLine": false,
"targets": [
{
"expr": "sum(irate(vm_cache_entries{instance=~\".*$host.*\"}[2m]))",
"expr": "sum(rate(vm_cache_entries{instance=~\".*$host.*\"}[2m]))",
"format": "time_series",
"intervalFactor": 1,
"legendFormat": "Entries",
"refId": "A"
},
{
"expr": "sum(irate(vm_cache_misses_total{instance=~\".*$host.*\"}[2m]))",
"expr": "sum(rate(vm_cache_misses_total{instance=~\".*$host.*\"}[2m]))",
"format": "time_series",
"intervalFactor": 1,
"legendFormat": "Misses",
"refId": "B"
},
{
"expr": "sum(irate(vm_cache_requests_total{instance=~\".*$host.*\"}[2m]))",
"expr": "sum(rate(vm_cache_requests_total{instance=~\".*$host.*\"}[2m]))",
"format": "time_series",
"intervalFactor": 1,
"legendFormat": "Requests",
@ -1093,28 +1093,28 @@
"steppedLine": false,
"targets": [
{
"expr": "sum(irate(vm_tcpdialer_errors_total{instance=~\".*$host.*\",type=\"dial\"}[2m]))",
"expr": "sum(rate(vm_tcpdialer_errors_total{instance=~\".*$host.*\",type=\"dial\"}[2m]))",
"format": "time_series",
"intervalFactor": 1,
"legendFormat": "Dial",
"refId": "A"
},
{
"expr": "sum(irate(vm_tcpdialer_errors_total{instance=~\".*$host.*\",type=\"close\"}[2m]))",
"expr": "sum(rate(vm_tcpdialer_errors_total{instance=~\".*$host.*\",type=\"close\"}[2m]))",
"format": "time_series",
"intervalFactor": 1,
"legendFormat": "Close",
"refId": "B"
},
{
"expr": "sum(irate(vm_tcpdialer_errors_total{instance=~\".*$host.*\",type=\"write\"}[2m]))",
"expr": "sum(rate(vm_tcpdialer_errors_total{instance=~\".*$host.*\",type=\"write\"}[2m]))",
"format": "time_series",
"intervalFactor": 1,
"legendFormat": "Write",
"refId": "C"
},
{
"expr": "sum(irate(vm_tcpdialer_errors_total{instance=~\".*$host.*\",type=\"read\"}[2m]))",
"expr": "sum(rate(vm_tcpdialer_errors_total{instance=~\".*$host.*\",type=\"read\"}[2m]))",
"format": "time_series",
"intervalFactor": 1,
"legendFormat": "Read",
@ -1200,28 +1200,28 @@
"steppedLine": false,
"targets": [
{
"expr": "sum(irate(vm_tcplistener_errors_total{instance=~\".*$host.*\",type=\"accept\"}[2m]))",
"expr": "sum(rate(vm_tcplistener_errors_total{instance=~\".*$host.*\",type=\"accept\"}[2m]))",
"format": "time_series",
"intervalFactor": 1,
"legendFormat": "Accept",
"refId": "A"
},
{
"expr": "sum(irate(vm_tcplistener_errors_total{instance=~\".*$host.*\",type=\"close\"}[2m]))",
"expr": "sum(rate(vm_tcplistener_errors_total{instance=~\".*$host.*\",type=\"close\"}[2m]))",
"format": "time_series",
"intervalFactor": 1,
"legendFormat": "Close",
"refId": "B"
},
{
"expr": "sum(irate(vm_tcplistener_errors_total{instance=~\".*$host.*\",type=\"write\"}[2m]))",
"expr": "sum(rate(vm_tcplistener_errors_total{instance=~\".*$host.*\",type=\"write\"}[2m]))",
"format": "time_series",
"intervalFactor": 1,
"legendFormat": "Write",
"refId": "C"
},
{
"expr": "sum(irate(vm_tcplistener_errors_total{instance=~\".*$host.*\",type=\"read\"}[2m]))",
"expr": "sum(rate(vm_tcplistener_errors_total{instance=~\".*$host.*\",type=\"read\"}[2m]))",
"format": "time_series",
"intervalFactor": 1,
"legendFormat": "Read",
@ -1308,14 +1308,14 @@
"steppedLine": false,
"targets": [
{
"expr": "sum(irate(vm_tcpdialer_written_bytes_total{instance=~\".*$host.*\"}[2m]))",
"expr": "sum(rate(vm_tcpdialer_written_bytes_total{instance=~\".*$host.*\"}[2m]))",
"format": "time_series",
"intervalFactor": 1,
"legendFormat": "Write",
"refId": "A"
},
{
"expr": "sum(irate(vm_tcpdialer_read_bytes_total{instance=~\".*$host.*\"}[2m])) * -1",
"expr": "sum(rate(vm_tcpdialer_read_bytes_total{instance=~\".*$host.*\"}[2m])) * -1",
"format": "time_series",
"intervalFactor": 1,
"legendFormat": "Read",
@ -1402,14 +1402,14 @@
"steppedLine": false,
"targets": [
{
"expr": "sum(irate(vm_tcplistener_written_bytes_total{instance=~\".*$host.*\"}[2m]))",
"expr": "sum(rate(vm_tcplistener_written_bytes_total{instance=~\".*$host.*\"}[2m]))",
"format": "time_series",
"intervalFactor": 1,
"legendFormat": "Write",
"refId": "A"
},
{
"expr": "sum(irate(vm_tcplistener_read_bytes_total{instance=~\".*$host.*\"}[2m])) * -1",
"expr": "sum(rate(vm_tcplistener_read_bytes_total{instance=~\".*$host.*\"}[2m])) * -1",
"format": "time_series",
"intervalFactor": 1,
"legendFormat": "Read",
@ -1495,28 +1495,28 @@
"steppedLine": false,
"targets": [
{
"expr": "sum(irate(vm_tcpdialer_write_calls_total{instance=~\".*$host.*\"}[2m]))",
"expr": "sum(rate(vm_tcpdialer_write_calls_total{instance=~\".*$host.*\"}[2m]))",
"format": "time_series",
"intervalFactor": 1,
"legendFormat": "Write calls",
"refId": "A"
},
{
"expr": "sum(irate(vm_tcpdialer_write_timeouts_total{instance=~\".*$host.*\"}[2m]))",
"expr": "sum(rate(vm_tcpdialer_write_timeouts_total{instance=~\".*$host.*\"}[2m]))",
"format": "time_series",
"intervalFactor": 1,
"legendFormat": "Write timeouts",
"refId": "B"
},
{
"expr": "sum(irate(vm_tcpdialer_read_calls_total{instance=~\".*$host.*\"}[2m])) * -1",
"expr": "sum(rate(vm_tcpdialer_read_calls_total{instance=~\".*$host.*\"}[2m])) * -1",
"format": "time_series",
"intervalFactor": 1,
"legendFormat": "Read calls",
"refId": "C"
},
{
"expr": "sum(irate(vm_tcpdialer_read_timeouts_total{instance=~\".*$host.*\"}[2m])) * -1",
"expr": "sum(rate(vm_tcpdialer_read_timeouts_total{instance=~\".*$host.*\"}[2m])) * -1",
"format": "time_series",
"intervalFactor": 1,
"legendFormat": "Read timeouts",
@ -1602,28 +1602,28 @@
"steppedLine": false,
"targets": [
{
"expr": "sum(irate(vm_tcplistener_write_calls_total{instance=~\".*$host.*\"}[2m]))",
"expr": "sum(rate(vm_tcplistener_write_calls_total{instance=~\".*$host.*\"}[2m]))",
"format": "time_series",
"intervalFactor": 1,
"legendFormat": "Write calls",
"refId": "A"
},
{
"expr": "sum(irate(vm_tcplistener_write_timeouts_total{instance=~\".*$host.*\"}[2m]))",
"expr": "sum(rate(vm_tcplistener_write_timeouts_total{instance=~\".*$host.*\"}[2m]))",
"format": "time_series",
"intervalFactor": 1,
"legendFormat": "Write timeouts",
"refId": "B"
},
{
"expr": "sum(irate(vm_tcplistener_read_calls_total{instance=~\".*$host.*\"}[2m])) * -1",
"expr": "sum(rate(vm_tcplistener_read_calls_total{instance=~\".*$host.*\"}[2m])) * -1",
"format": "time_series",
"intervalFactor": 1,
"legendFormat": "Read calls",
"refId": "C"
},
{
"expr": "sum(irate(vm_tcplistener_read_timeouts_total{instance=~\".*$host.*\"}[2m])) * -1",
"expr": "sum(rate(vm_tcplistener_read_timeouts_total{instance=~\".*$host.*\"}[2m])) * -1",
"format": "time_series",
"intervalFactor": 1,
"legendFormat": "Read timeouts",
@ -1738,4 +1738,4 @@
"title": "VictoriaMetrics - Select",
"uid": "EDURUze8R",
"version": 8
}
}

View File

@ -1375,21 +1375,21 @@
"steppedLine": false,
"targets": [
{
"expr": "sum(irate(vm_cache_entries{instance=~\".*$host.*\"}[2m]))",
"expr": "sum(rate(vm_cache_entries{instance=~\".*$host.*\"}[2m]))",
"format": "time_series",
"intervalFactor": 1,
"legendFormat": "Entries",
"refId": "A"
},
{
"expr": "sum(irate(vm_cache_misses_total{instance=~\".*$host.*\"}[2m]))",
"expr": "sum(rate(vm_cache_misses_total{instance=~\".*$host.*\"}[2m]))",
"format": "time_series",
"intervalFactor": 1,
"legendFormat": "Misses",
"refId": "B"
},
{
"expr": "sum(irate(vm_cache_requests_total{instance=~\".*$host.*\"}[2m]))",
"expr": "sum(rate(vm_cache_requests_total{instance=~\".*$host.*\"}[2m]))",
"format": "time_series",
"intervalFactor": 1,
"legendFormat": "Requests",
@ -1475,14 +1475,14 @@
"steppedLine": false,
"targets": [
{
"expr": "sum(irate(vm_cache_size_bytes{instance=~\".*$host.*\"}[2m]))",
"expr": "sum(rate(vm_cache_size_bytes{instance=~\".*$host.*\"}[2m]))",
"format": "time_series",
"intervalFactor": 1,
"legendFormat": "Cache",
"refId": "A"
},
{
"expr": "sum(irate(vm_data_size_bytes{instance=~\".*$host.*\"}[2m]))",
"expr": "sum(rate(vm_data_size_bytes{instance=~\".*$host.*\"}[2m]))",
"format": "time_series",
"intervalFactor": 1,
"legendFormat": "Data",
@ -1568,28 +1568,28 @@
"steppedLine": false,
"targets": [
{
"expr": "sum(irate(vm_rows{instance=~\".*$host.*\"}[2m]))",
"expr": "sum(rate(vm_rows{instance=~\".*$host.*\"}[2m]))",
"format": "time_series",
"intervalFactor": 1,
"legendFormat": "Total",
"refId": "A"
},
{
"expr": "sum(irate(vm_rows_merged_total{instance=~\".*$host.*\"}[2m]))",
"expr": "sum(rate(vm_rows_merged_total{instance=~\".*$host.*\"}[2m]))",
"format": "time_series",
"intervalFactor": 1,
"legendFormat": "Merged",
"refId": "B"
},
{
"expr": "sum(irate(vm_rows_deleted_total{instance=~\".*$host.*\"}[2m]))",
"expr": "sum(rate(vm_rows_deleted_total{instance=~\".*$host.*\"}[2m]))",
"format": "time_series",
"intervalFactor": 1,
"legendFormat": "Deleted",
"refId": "C"
},
{
"expr": "sum(irate(vm_pending_rows{instance=~\".*$host.*\"}[2m]))",
"expr": "sum(rate(vm_pending_rows{instance=~\".*$host.*\"}[2m]))",
"format": "time_series",
"intervalFactor": 1,
"legendFormat": "Pending",
@ -1675,28 +1675,28 @@
"steppedLine": false,
"targets": [
{
"expr": "sum(irate(vm_tcplistener_errors_total{instance=~\".*$host.*\",type=\"accept\"}[2m]))",
"expr": "sum(rate(vm_tcplistener_errors_total{instance=~\".*$host.*\",type=\"accept\"}[2m]))",
"format": "time_series",
"intervalFactor": 1,
"legendFormat": "Accept",
"refId": "A"
},
{
"expr": "sum(irate(vm_tcplistener_errors_total{instance=~\".*$host.*\",type=\"close\"}[2m]))",
"expr": "sum(rate(vm_tcplistener_errors_total{instance=~\".*$host.*\",type=\"close\"}[2m]))",
"format": "time_series",
"intervalFactor": 1,
"legendFormat": "Close",
"refId": "B"
},
{
"expr": "sum(irate(vm_tcplistener_errors_total{instance=~\".*$host.*\",type=\"write\"}[2m]))",
"expr": "sum(rate(vm_tcplistener_errors_total{instance=~\".*$host.*\",type=\"write\"}[2m]))",
"format": "time_series",
"intervalFactor": 1,
"legendFormat": "Write",
"refId": "C"
},
{
"expr": "sum(irate(vm_tcplistener_errors_total{instance=~\".*$host.*\",type=\"read\"}[2m]))",
"expr": "sum(rate(vm_tcplistener_errors_total{instance=~\".*$host.*\",type=\"read\"}[2m]))",
"format": "time_series",
"intervalFactor": 1,
"legendFormat": "Read",
@ -1891,14 +1891,14 @@
"steppedLine": false,
"targets": [
{
"expr": "sum(irate(vm_tcplistener_written_bytes_total{instance=~\".*$host.*\"}[2m]))",
"expr": "sum(rate(vm_tcplistener_written_bytes_total{instance=~\".*$host.*\"}[2m]))",
"format": "time_series",
"intervalFactor": 1,
"legendFormat": "Write",
"refId": "A"
},
{
"expr": "sum(irate(vm_tcplistener_read_bytes_total{instance=~\".*$host.*\"}[2m])) * -1",
"expr": "sum(rate(vm_tcplistener_read_bytes_total{instance=~\".*$host.*\"}[2m])) * -1",
"format": "time_series",
"intervalFactor": 1,
"legendFormat": "Read",
@ -1984,28 +1984,28 @@
"steppedLine": false,
"targets": [
{
"expr": "sum(irate(vm_tcplistener_write_calls_total{instance=~\".*$host.*\"}[2m]))",
"expr": "sum(rate(vm_tcplistener_write_calls_total{instance=~\".*$host.*\"}[2m]))",
"format": "time_series",
"intervalFactor": 1,
"legendFormat": "Write calls",
"refId": "A"
},
{
"expr": "sum(irate(vm_tcplistener_write_timeouts_total{instance=~\".*$host.*\"}[2m]))",
"expr": "sum(rate(vm_tcplistener_write_timeouts_total{instance=~\".*$host.*\"}[2m]))",
"format": "time_series",
"intervalFactor": 1,
"legendFormat": "Write timeouts",
"refId": "B"
},
{
"expr": "sum(irate(vm_tcplistener_read_calls_total{instance=~\".*$host.*\"}[2m])) * -1",
"expr": "sum(rate(vm_tcplistener_read_calls_total{instance=~\".*$host.*\"}[2m])) * -1",
"format": "time_series",
"intervalFactor": 1,
"legendFormat": "Read calls",
"refId": "C"
},
{
"expr": "sum(irate(vm_tcplistener_read_timeouts_total{instance=~\".*$host.*\"}[2m])) * -1",
"expr": "sum(rate(vm_tcplistener_read_timeouts_total{instance=~\".*$host.*\"}[2m])) * -1",
"format": "time_series",
"intervalFactor": 1,
"legendFormat": "Read timeouts",
@ -2120,4 +2120,4 @@
"title": "VictoriaMetrics - Storage",
"uid": "gVtJyoSF6",
"version": 6
}
}