json api key/value support for variables #88
|
I would like to use the json api to defines some variables in grafana from a json data source. The variable in grafana should be defined as key values pair but as i've seen in the documentation it does only support one field. Did i missed something or is it not possible to get a key and a value from a json? If it's not possible i think it would be a nice feature. |
Answered by
marcusolsson
Mar 27, 2021
Replies: 1 comment 3 replies
|
I'm not sure I understand the question. Dashboard variables in can only be strings or numbers, which is a limitation in Grafana rather than this plugin. Could you give an example of how you'd want to use key/values in variables? |
3 replies
Answer selected by
marcusolsson
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'm not sure I understand the question. Dashboard variables in can only be strings or numbers, which is a limitation in Grafana rather than this plugin.
Could you give an example of how you'd want to use key/values in variables?