Skip to content

Commit

Permalink
grafana: fix by variable
Browse files Browse the repository at this point in the history
seems like custom variable is not full controlled by the query
paramter, and you need to feed it a comma seperated with `key : value`
for it to work as expectred, and the rest of the data we feed in `option`
does not really work anymore

Closes: #2138
  • Loading branch information
fruch authored and amnonh committed Dec 26, 2023
1 parent bf078cc commit ccd3c6a
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion grafana/scylla-advanced.template.json
Original file line number Diff line number Diff line change
Expand Up @@ -829,7 +829,7 @@
"value": "instance,shard"
}
],
"query": "Cluster,DC,Instance,Shard",
"query": "Instance : instance,Cluster : cluster,DC : dc,Shard : instance\\,shard",
"type": "custom"
},
{
Expand Down
4 changes: 2 additions & 2 deletions grafana/scylla-os.template.json
Original file line number Diff line number Diff line change
Expand Up @@ -613,7 +613,7 @@
"value": "instance,cpu"
}
],
"query": "Cluster,DC,Instance",
"query": "Instance : instance,Cluster : cluster,DC : dc,Shard : instance\\,cpu",
"type": "custom"
},
{
Expand Down Expand Up @@ -738,4 +738,4 @@
"uid": "OS-__SCYLLA_VERSION_DASHED__",
"version": 5
}
}
}
4 changes: 2 additions & 2 deletions grafana/types.json
Original file line number Diff line number Diff line change
Expand Up @@ -3094,11 +3094,11 @@
},
{
"selected":false,
"text":"instance,shard",
"text":"Shard",
"value":"instance,shard"
}
],
"query":"Cluster,DC,Instance,Shard",
"query":"Cluster : cluster,DC : dc, Instance : instance, Shard : instance\\,shard",
"skipUrlSync":false,
"type":"custom"
}
Expand Down

0 comments on commit ccd3c6a

Please sign in to comment.