Skip to content

Commit

Permalink
types.json: pick the scheduling_group_name latencie in the small_stat…
Browse files Browse the repository at this point in the history
… from a variable
  • Loading branch information
amnonh committed Mar 22, 2023
1 parent ac8d187 commit 5590c6f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions grafana/types.json
Original file line number Diff line number Diff line change
Expand Up @@ -434,7 +434,7 @@
},
"targets":[
{
"expr":"avg(wlatencya{by=\"cluster\", cluster=~\"$cluster|^$\",scheduling_group_name!=\"streaming\"}>0) or on() (sum(rate(scylla_storage_proxy_coordinator_write_latency_sum{instance=~\"[[node]]\",cluster=~\"$cluster|$^\", dc=~\"$dc\", shard=~\"[[shard]]|$^\"}[60s]))/(sum(rate(scylla_storage_proxy_coordinator_write_latency_count{instance=~\"[[node]]\",cluster=~\"$cluster|$^\", dc=~\"$dc\", shard=~\"[[shard]]|$^\"}[60s])) + 1))",
"expr":"avg(wlatencya{by=\"cluster\", cluster=~\"$cluster|^$\",scheduling_group_name=~\"$sg\"}>0)",
"intervalFactor":1,
"legendFormat":"",
"refId":"A",
Expand Down Expand Up @@ -472,7 +472,7 @@
},
"targets":[
{
"expr":"avg(wlatencyp99{by=\"cluster\", cluster=~\"$cluster|^$\",scheduling_group_name!=\"streaming\"}>0)",
"expr":"avg(wlatencyp99{by=\"cluster\", cluster=~\"$cluster|^$\",scheduling_group_name=~\"$sg\"}>0)",
"intervalFactor":1,
"legendFormat":"",
"refId":"A",
Expand Down Expand Up @@ -510,7 +510,7 @@
},
"targets":[
{
"expr":"avg(rlatencya{by=\"cluster\", cluster=~\"$cluster|^$\",scheduling_group_name!=\"streaming\"}>0) or on() (sum(rate(scylla_storage_proxy_coordinator_read_latency_sum{instance=~\"[[node]]\",cluster=~\"$cluster|$^\", dc=~\"$dc\", shard=~\"[[shard]]|$^\"}[60s]))/(sum(rate(scylla_storage_proxy_coordinator_read_latency_count{instance=~\"[[node]]\",cluster=~\"$cluster|$^\", dc=~\"$dc\", shard=~\"[[shard]]|$^\"}[60s])) + 1))",
"expr":"avg(rlatencya{by=\"cluster\", cluster=~\"$cluster|^$\",scheduling_group_name=~\"$sg\"}>0)",
"intervalFactor":1,
"legendFormat":"",
"instant":true,
Expand Down Expand Up @@ -548,7 +548,7 @@
},
"targets":[
{
"expr":"avg(rlatencyp99{by=\"cluster\", cluster=~\"$cluster|^$\",scheduling_group_name!=\"streaming\"}>0)",
"expr":"avg(rlatencyp99{by=\"cluster\", cluster=~\"$cluster|^$\",scheduling_group_name=~\"$sg\"}>0)",
"intervalFactor":1,
"legendFormat":"",
"refId":"A",
Expand Down

0 comments on commit 5590c6f

Please sign in to comment.