Skip to content

Commit

Permalink
scylla-manager.template.json: CQL failed only if node is in normal state
Browse files Browse the repository at this point in the history
Fixes #2427
  • Loading branch information
amnonh committed Jan 1, 2025
1 parent 4ff3b28 commit 1ca4938
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion grafana/scylla-manager.template.json
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@
"class": "small_stat",
"targets": [
{
"expr": "count(scylla_manager_healthcheck_cql_status{cluster=\"$cluster\"}==-1) OR vector(0)",
"expr": "count((scylla_manager_healthcheck_cql_status{cluster=\"$cluster\"}==-1) and on(instance) (scylla_node_operation_mode{cluster=\"$cluster\"} == 3) ) OR vector(0)",
"intervalFactor": 1,
"legendFormat": "Nodes without CQL connection",
"refId": "A",
Expand Down

0 comments on commit 1ca4938

Please sign in to comment.