Skip to content

Commit

Permalink
Merge pull request #2453 from amnonh/rpc_split_by_domain
Browse files Browse the repository at this point in the history
scylla-advanced: break the RPC section into per-domain rows
  • Loading branch information
amnonh authored Jan 9, 2025
2 parents 85b7cf1 + 5b6f1e2 commit a43ef8e
Showing 1 changed file with 17 additions and 8 deletions.
25 changes: 17 additions & 8 deletions grafana/scylla-advanced.template.json
Original file line number Diff line number Diff line change
Expand Up @@ -730,7 +730,8 @@
{
"class": "collapsible_row_panel",
"collapsed": true,
"title": "RPC metrics"
"repeat": "domain",
"title": "RPC metrics - $domain"
}
]
},
Expand All @@ -743,7 +744,7 @@
"span": 2,
"targets": [
{
"expr": "$topbottom([[filter_limit]], sum(scylla_rpc_client_count{instance=~\"[[node]]|^$\",cluster=\"$cluster\", dc=~\"$dc\", shard=~\"[[shard]]|$^\"}) by ([[by]],domain)>0)",
"expr": "$topbottom([[filter_limit]], sum(scylla_rpc_client_count{instance=~\"[[node]]|^$\",cluster=\"$cluster\", dc=~\"$dc\", shard=~\"[[shard]]|$^\", domain=\"$domain\"}) by ([[by]], domain)>0)",
"intervalFactor": 1,
"legendFormat": "",
"metric": "",
Expand All @@ -759,7 +760,7 @@
"span": 2,
"targets": [
{
"expr": "$topbottom([[filter_limit]], sum(rate(scylla_rpc_client_sent_messages{instance=~\"[[node]]|^$\",cluster=\"$cluster\", dc=~\"$dc\", shard=~\"[[shard]]|$^\"}[$__rate_interval])>0) by ([[by]],domain))",
"expr": "$topbottom([[filter_limit]], sum(rate(scylla_rpc_client_sent_messages{instance=~\"[[node]]|^$\",cluster=\"$cluster\", dc=~\"$dc\", shard=~\"[[shard]]|$^\", domain=\"$domain\"}[$__rate_interval])>0) by ([[by]],domain))",
"intervalFactor": 1,
"legendFormat": "",
"metric": "",
Expand All @@ -775,7 +776,7 @@
"span": 2,
"targets": [
{
"expr": "$topbottom([[filter_limit]], sum(rate(scylla_rpc_client_replied{instance=~\"[[node]]|^$\",cluster=\"$cluster\", dc=~\"$dc\", shard=~\"[[shard]]|$^\"}[$__rate_interval])>0) by ([[by]],domain))",
"expr": "$topbottom([[filter_limit]], sum(rate(scylla_rpc_client_replied{instance=~\"[[node]]|^$\",cluster=\"$cluster\", dc=~\"$dc\", shard=~\"[[shard]]|$^\", domain=\"$domain\"}[$__rate_interval])>0) by ([[by]],domain))",
"intervalFactor": 1,
"legendFormat": "",
"metric": "",
Expand All @@ -791,7 +792,7 @@
"span": 2,
"targets": [
{
"expr": "$topbottom([[filter_limit]], sum(rate(scylla_rpc_client_exception_received{instance=~\"[[node]]|^$\",cluster=\"$cluster\", dc=~\"$dc\", shard=~\"[[shard]]|$^\"}[$__rate_interval])>0) by ([[by]],domain))",
"expr": "$topbottom([[filter_limit]], sum(rate(scylla_rpc_client_exception_received{instance=~\"[[node]]|^$\",cluster=\"$cluster\", dc=~\"$dc\", shard=~\"[[shard]]|$^\", domain=\"$domain\"}[$__rate_interval])>0) by ([[by]],domain))",
"intervalFactor": 1,
"legendFormat": "",
"metric": "",
Expand All @@ -807,7 +808,7 @@
"span": 2,
"targets": [
{
"expr": "$topbottom([[filter_limit]], sum(rate(scylla_rpc_client_timeout{instance=~\"[[node]]|^$\",cluster=\"$cluster\", dc=~\"$dc\", shard=~\"[[shard]]|$^\"}[$__rate_interval])>0) by ([[by]],domain))",
"expr": "$topbottom([[filter_limit]], sum(rate(scylla_rpc_client_timeout{instance=~\"[[node]]|^$\",cluster=\"$cluster\", dc=~\"$dc\", shard=~\"[[shard]]|$^\", domain=\"$domain\"}[$__rate_interval])>0) by ([[by]],domain))",
"intervalFactor": 1,
"legendFormat": "",
"metric": "",
Expand All @@ -823,7 +824,7 @@
"span": 2,
"targets": [
{
"expr": "$topbottom([[filter_limit]], sum(scylla_rpc_client_pending{instance=~\"[[node]]|^$\",cluster=\"$cluster\", dc=~\"$dc\", shard=~\"[[shard]]|$^\"}) by ([[by]],domain)>0)",
"expr": "$topbottom([[filter_limit]], sum(scylla_rpc_client_pending{instance=~\"[[node]]|^$\",cluster=\"$cluster\", dc=~\"$dc\", shard=~\"[[shard]]|$^\", domain=\"$domain\"}) by ([[by]],domain)>0)",
"intervalFactor": 1,
"legendFormat": "",
"metric": "",
Expand All @@ -839,7 +840,7 @@
"span": 2,
"targets": [
{
"expr": "$topbottom([[filter_limit]], sum(scylla_rpc_client_wait_reply{instance=~\"[[node]]|^$\",cluster=\"$cluster\", dc=~\"$dc\", shard=~\"[[shard]]|$^\"}) by ([[by]],domain)>0)",
"expr": "$topbottom([[filter_limit]], sum(scylla_rpc_client_wait_reply{instance=~\"[[node]]|^$\",cluster=\"$cluster\", dc=~\"$dc\", shard=~\"[[shard]]|$^\", domain=\"$domain\"}) by ([[by]],domain)>0)",
"intervalFactor": 1,
"legendFormat": "",
"metric": "",
Expand Down Expand Up @@ -954,6 +955,14 @@
"query": "label_values(scylla_io_queue_consumption,iogroup)",
"sort": 1
},
{
"class": "template_variable_all",
"label": "domain",
"name": "domain",
"hide": 0,
"query": "label_values(scylla_rpc_client_count,domain)",
"sort": 1
},
{
"class": "aggregation_function",
"current": {
Expand Down

0 comments on commit a43ef8e

Please sign in to comment.