cnosdb / cnosdb/grafana-datasource-plugin

Support variables

Open
#12 1 comment 0 reactions 1 assignee Assigned to @IvanGao01 View on GitHub
enhancement
Dominant language
TypeScript
Stars
0
Forks
2
PR merge metrics
No merged PRs in 30d

Description

If variables are defined in grafana, e.g:

![image](https://github.com/cnosdb/grafana-datasource-plugin/assets/92921813/943e6869-eaf7-4c40-8f8e-bfec6ea3e5aa)

It should be possible to quote at query time:
```sql
select * from $table
```

It should also be possible to define multiple types of variables

Reference:
![image](https://github.com/cnosdb/grafana-datasource-plugin/assets/92921813/96853ec9-59e5-47de-8f39-5d3befe3db5a)

![image](https://github.com/cnosdb/grafana-datasource-plugin/assets/92921813/f87d1431-85fe-4699-a654-4a29282cd14c)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.