Replies: 1 comment 3 replies
-
Hi @bburcuymn. Currently it is not possible to create dependency between variables. In other words, one variable cannot use another as a part of its query. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have an issue. I want to visualize my data in Cassandra with Grafana. I made the connection and created a dashboard. I created 2 variables in this dashboard. These are devices and entity. I wrote the query for both. I want the entity query to run according to the selected device data and to receive the appropriate entity data. device is arriving correctly, but my entity data is constantly Templating [entity]. I am getting Error updating options: Unexpected end of JSON input error. When I run the query in the Cassandra terminal, I get the correct results. I have no problems with the query. Whatever the problem may be, I would be very happy if you could help me. Below is the query I wrote for variables:
devices: SELECT table_name FROM system_schema.tables WHERE keyspace_name = 'orion_wins';
entity: SELECT entity_id FROM orion_wins.$devices WHERE entity_type='iot';
grafana log error: level=error msg="Failed to get variables" Message="repo.Select: select query processing: line 1:34 mismatched character 'd' expecting '$'"
When I run the query in the Cassandra terminal, I get the correct results. I have no problems with the query.
Beta Was this translation helpful? Give feedback.
All reactions