Import with __input variable as constant type does not work in queries #29802
Labels
area/dashboard/import
prio/awaiting-more-evidence
Lowest priority. Possibly useful, but not yet enough interest in it.
type/feature-request
What happened:
I'm building a dashboard template that will be shared with other people and due to limitations of the datasource I'm using (aka grafana-mongodb-atlas-datasource) I can't use template variables. As an attempt to solve this I'm trying to use
__inputs
variables to allow people to create their own dashboard by inputting specific data using"type": "constant"
to replace some partial values inside queries but the replace only work if the query value is exactly matched with the__inputs
constant nameThis is the
__inputs
values exampleThis is the query with partial values that should be replaced
After import the dashboard we face the query like below:
What you expected to happen:
Be able to replace
__inputs
values inside queries text strings as shown aboveHow to reproduce it (as minimally and precisely as possible):
Create a simple dashboard template using the same template example above and try to import replacing constant values inside queries
Anything else we need to know?:
This is the same issue reported in #8923
Environment:
The text was updated successfully, but these errors were encountered: