-
Notifications
You must be signed in to change notification settings - Fork 155
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Header does not parse unescaped dashboard variables #62
Comments
I managed to get my instance working by using: I was lead to believe that unescaped dashboard variables could be parsed within a string, as I can see an example of that in the screenshot images in your README file. |
My previous work-around no longer works with the latest versions of Grafana. I have a varable in a template called I do not know how to get the variable value as I cannot find the documentation for Grafana version: 7.0.6 |
This appears to be a joint problem with Grafana and this plugin:
|
I have a dashboard variable which I refer to in the 'Headers' field:
{Authorization: "api-key $apiKey"}
But Chrome Inspector shows it passing the variable as a string, instead of parsing the value of the variable. Chrome outputs:
authorization | api-key $apiKey
I expect it to parse the variable, i.e:
authorization | api-key the-value-of-my-variable
I can see the variable exists and has the correct value (as you have handily shown a list of variables in the panel edit page).
Variables are correctly parsed for the URL. So looks as if it is specific to parsing the header.
Would be good if there was a preview of the header too.
Grafana version: 6.7.2
AJAX Panel version: 0.0.6 (latest)
The text was updated successfully, but these errors were encountered: