Skip to content

Commit

Permalink
scylla-cql: explicitely request to read from all hosts
Browse files Browse the repository at this point in the history
  • Loading branch information
amnonh committed Oct 5, 2023
1 parent ed8eec4 commit 8577ff8
Showing 1 changed file with 10 additions and 5 deletions.
15 changes: 10 additions & 5 deletions grafana/scylla-cql.template.json
Original file line number Diff line number Diff line change
Expand Up @@ -290,14 +290,16 @@
"refId": "A",
"queryText": "select address, port, shard_id, ssl_enabled, username from system.clients",
"queryHost": "$node",
"dashversion":["<4.4", "<2020.1"]
"dashversion":["<4.4", "<2020.1"],
"allHosts": true

},
{
"refId": "A",
"queryText": "select address, port, shard_id, connection_stage, client_type, ssl_enabled, username, driver_name, driver_version, protocol_version from system.clients",
"queryHost": "$node",
"dashversion":[">4.4", ">2020.1"]
"dashversion":[">4.4", ">2020.1"],
"allHosts": true
}
],
"title": "Connection Table"
Expand Down Expand Up @@ -327,7 +329,8 @@
{
"refId": "A",
"queryText": "select keyspace_name, table_name,partition_key, clustering_key, row_size,compaction_time from system.large_rows",
"queryHost": "$node"
"queryHost": "$node",
"allHosts": true
}
],
"fieldConfig": {
Expand Down Expand Up @@ -393,7 +396,8 @@
{
"refId": "A",
"queryText": "select keyspace_name, table_name,partition_key, clustering_key, column_name,cell_size, collection_elements, compaction_time from system.large_cells",
"queryHost": "$node"
"queryHost": "$node",
"allHosts": true
}
],
"fieldConfig": {
Expand Down Expand Up @@ -459,7 +463,8 @@
{
"refId": "A",
"queryText": "select keyspace_name, table_name,partition_key, partition_size, compaction_time, rows from system.large_partitions",
"queryHost": "$node"
"queryHost": "$node",
"allHosts": true
}
],
"fieldConfig": {
Expand Down

0 comments on commit 8577ff8

Please sign in to comment.