I cannot template a datasource. I can add the template-variable and it shows up on top and populates correctly.
However, I cannot find the template variable in the Data Source drop-down above the queries. And trying to manually write $prometheus_ds is ignored, it magically jumps “–Mixed–” instead and uses “default” for the per-query datasource, which does not change when I change template datasource value.
Am I doing anything wrong, or is this a bug in the Data Source drop-down-select function?
This post is approx. 5 years old and I think a lot has changed. If you are having problem with similar case, then would suggest you to open a new post and give all the information so that our community members can help you out.