Skip to content

Commit

Permalink
scylla-detailed: Add a section that shows all scheduling groups on th…
Browse files Browse the repository at this point in the history
…e same graph
  • Loading branch information
amnonh committed Nov 21, 2023
1 parent be3a547 commit cc6ee62
Showing 1 changed file with 138 additions and 0 deletions.
138 changes: 138 additions & 0 deletions grafana/scylla-detailed.template.json
Original file line number Diff line number Diff line change
Expand Up @@ -230,6 +230,144 @@
],
"title": "New row"
},
{
"class": "row",
"panels": [
{
"class": "collapsible_row_panel",
"title": "Latencies"
}
]
},
{
"class": "row",
"panels": [
{
"class": "wps_panel",
"span": 3,
"targets": [
{
"expr": "$func(rate(scylla_storage_proxy_coordinator_write_latency_summary_count{instance=~\"[[node]]\",cluster=~\"$cluster|$^\", dc=~\"$dc\", shard=~\"[[shard]]|$^\",scheduling_group_name=~\"$scheduling_group\"}[60s])) by ([[by]],scheduling_group_name) or on([[by]],scheduling_group_name) $func(rate(scylla_storage_proxy_coordinator_write_latency_count{instance=~\"[[node]]\",cluster=~\"$cluster|$^\", dc=~\"$dc\", shard=~\"[[shard]]\",scheduling_group_name=~\"$scheduling_group\"}[60s])) by ([[by]],scheduling_group_name)",
"intervalFactor": 1,
"legendFormat": "",
"refId": "A",
"step": 1
}
],
"description": "writes rate",
"title": "Writes by [[by]]"
},
{
"class": "us_panel",
"span": 3,
"targets": [
{
"expr": "wlatencya{by=\"[[by]]\", instance=~\"[[node]]|$^\",cluster=~\"$cluster|$^\", dc=~\"$dc\", shard=~\"[[shard]]|$^\",scheduling_group_name=~\"$scheduling_group\"}",
"intervalFactor": 1,
"legendFormat": "",
"refId": "A",
"step": 1
}
],
"description": "The average write latency",
"title": "Average write latency by [[by]]"
},
{
"class": "us_panel",
"span": 3,
"targets": [
{
"expr": "wlatencyp95{by=\"[[by]]\", instance=~\"[[node]]|^$\",cluster=~\"$cluster|$^\", dc=~\"$dc\", shard=~\"[[shard]]|$^\",scheduling_group_name=~\"$scheduling_group|$\"}",
"intervalFactor": 1,
"legendFormat": "",
"metric": "",
"refId": "A",
"step": 1
}
],
"description": "The 95th percentile write latency",
"title": "95th percentile write latency by [[by]]"
},
{
"class": "us_panel",
"span": 3,
"targets": [
{
"expr": "wlatencyp99{by=\"[[by]]\", instance=~\"[[node]]|^$\",cluster=~\"$cluster|$^\", dc=~\"$dc\", shard=~\"[[shard]]|$^\",scheduling_group_name=~\"$scheduling_group\"}",
"intervalFactor": 1,
"legendFormat": "",
"metric": "",
"refId": "A",
"step": 1
}
],
"description": "99th percentile write latency",
"title": "99th percentile write latency by [[by]]"
},
{
"class": "rps_panel",
"span": 3,
"targets": [
{
"expr": "$func(rate(scylla_storage_proxy_coordinator_read_latency_summary_count{instance=~\"[[node]]\",cluster=~\"$cluster|$^\", dc=~\"$dc\", shard=~\"[[shard]]|$^\",scheduling_group_name=~\"$scheduling_group\"}[60s])) by ([[by]],scheduling_group_name) or on ([[by]],scheduling_group_name) $func(rate(scylla_storage_proxy_coordinator_read_latency_count{instance=~\"[[node]]\",cluster=~\"$cluster|$^\", dc=~\"$dc\", shard=~\"[[shard]]|$^\",scheduling_group_name=~\"$scheduling_group\"}[60s])) by ([[by]],scheduling_group_name)",
"intervalFactor": 1,
"legendFormat": "",
"refId": "A",
"step": 1
}
],
"description": "Reads rate",
"title": "Reads by [[by]]"
},
{
"class": "us_panel",
"span": 3,
"targets": [
{
"expr": "rlatencya{by=\"[[by]]\", instance=~\"[[node]]|$^\",cluster=~\"$cluster|$^\", dc=~\"$dc\", shard=~\"[[shard]]|$^\",scheduling_group_name=~\"$scheduling_group\"}",
"intervalFactor": 1,
"legendFormat": "",
"refId": "A",
"step": 1
}
],
"description": "Average read latency",
"title": "Average read latency by [[by]]"
},
{
"class": "us_panel",
"span": 3,
"targets": [
{
"expr": "rlatencyp95{by=\"[[by]]\", instance=~\"[[node]]|^$\",cluster=~\"$cluster|$^\", dc=~\"$dc\", shard=~\"[[shard]]|$^\",scheduling_group_name=~\"$scheduling_group\"}",
"intervalFactor": 1,
"legendFormat": "",
"metric": "",
"refId": "A",
"step": 1
}
],
"description": "95th percentile read latency",
"title": "95th percentile read latency by [[by]]"
},
{
"class": "us_panel",
"span": 3,
"targets": [
{
"expr": "rlatencyp99{by=\"[[by]]\", instance=~\"[[node]]|^$\",cluster=~\"$cluster|$^\", dc=~\"$dc\", shard=~\"[[shard]]|$^\",scheduling_group_name=~\"$scheduling_group\"}",
"intervalFactor": 1,
"legendFormat": "",
"metric": "",
"refId": "A",
"step": 1
}
],
"description": "99th percentile read latency",
"title": "99th percentile read latency by [[by]]"
}
]
},
{
"class": "row",
"panels": [
Expand Down

0 comments on commit cc6ee62

Please sign in to comment.